-
Notifications
You must be signed in to change notification settings - Fork 1.5k
MAINT: Introduce WrongPasswordError / FileNotDecryptedError / EmptyFileError #1201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAINT: Introduce WrongPasswordError / FileNotDecryptedError / EmptyFileError #1201
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1201 +/- ##
=======================================
Coverage 92.14% 92.15%
=======================================
Files 24 24
Lines 4939 4945 +6
Branches 1021 1024 +3
=======================================
+ Hits 4551 4557 +6
Misses 244 244
Partials 144 144
Help us with your feedback. Take ten seconds to tell us how you rate us. |
Makes sense to me! I'll review it after work (hopefully... It's crazy hot) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this PR!
There are two minor comments in test_reader.py
- besides that, it's good to go 🎉
…PDF2 into clearer-exception-classes
addressed. thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! Thank you :-)
The PR is merged and will be part of the release on Sunday. Thank you 🤗 |
If you want, I can add you to https://pypdf2.readthedocs.io/en/latest/meta/CONTRIBUTORS.html . Just let me know which line I should use:
|
Thank you @MartinThoma! I'll go with this:
|
New Features (ENH): - "with" support for PdfMerger and PdfWriter (#1193) - Add AnnotationBuilder.text(...) to build text annotations (#1202) Bug Fixes (BUG): - Allow IndirectObjects as stream filters (#1211) Documentation (DOC): - Font scrambling - Page vs Content scaling (#1208) - Example for orientation parameter of extract_text (#1206) - Fix AnnotationBuilder parameter formatting (#1204) Developer Experience (DEV): - Add flake8-print (#1203) Maintenance (MAINT): - Introduce WrongPasswordError / FileNotDecryptedError / EmptyFileError (#1201) Full Changelog: 2.9.0...2.10.0
closes #1200
Story:
PdfReadError
: