-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
DEP: Deprecate PdfMerger #1866
DEP: Deprecate PdfMerger #1866
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1866 +/- ##
==========================================
+ Coverage 93.42% 93.53% +0.11%
==========================================
Files 34 34
Lines 6632 6623 -9
Branches 1302 1295 -7
==========================================
- Hits 6196 6195 -1
+ Misses 284 281 -3
+ Partials 152 147 -5
☔ View full report in Codecov by Sentry. |
@MartinThoma |
@@ -522,13 +514,13 @@ def _write_dests(self) -> None: | |||
raise RuntimeError(ERR_CLOSED_WRITER) | |||
for named_dest in self.named_dests: | |||
page_index = None | |||
if "/Page" in named_dest: | |||
if "/Page" in named_dest: # deprecated |
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.
Why did you add those comments?
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.
I've checked in coverage which lines where not covered, with the objective to get 100% for this file
Very nice! I marked it as "ready for review". Seems good to go to me. I'm just curious about the |
when deprecated, _merger.py should dissapear or at least will be strongly reduced |
Deprecations (DEP) - Deprecate PdfMerger (#1866) Bug Fixes (BUG) - Ignore UTF-8 decode errors (#1865) Robustness (ROB) - Handle missing /Type entry in Page tree (#1859) [Full Changelog](3.9.0...3.9.1)
closes #1824