-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
is-bugFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDF
Description
I'm create PDF file using PyPDF2. After that when I'm oppening this file with Adobe Acrobat and I would like to close it. The window appears with messege like "Would you like to save this file?"
I haven't got this problem with previous versions of PyPDF2.
Environment
$ python -m platform
Windows-10-10.0.19044-SP0
$ python -c "import PyPDF2;print(PyPDF2.__version__)"
2.1.0Code
This is a minimal, complete example that shows the issue:
from PyPDF2 import PdfFileWriter
import os
c_dir = os.getcwd()
path = os.path.join(c_dir,'test_2.pdf')
pdf = PdfFileWriter()
pdf.addBlankPage(100, 100)
pdf.write(open(path, 'wb'))Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
is-bugFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDF