MAINT: Introduce WrongPasswordError / FileNotDecryptedError / EmptyFileError#1201
MAINT: Introduce WrongPasswordError / FileNotDecryptedError / EmptyFileError#1201MartinThoma merged 5 commits intopy-pdf:mainfrom chilledgeek:clearer-exception-classes
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) |
MartinThoma
left a comment
There was a problem hiding this comment.
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 |
|
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: