Repository navigation
bpo-39723: make io.open_code accept PathLike objects - #18602
hauntsaninja wants to merge 3 commits into
Conversation
Codecov Report
@@ Coverage Diff @@
## master #18602 +/- ##
==========================================
- Coverage 82.20% 82.06% -0.14%
==========================================
Files 1958 1955 -3
Lines 589743 584072 -5671
Branches 44457 44458 +1
==========================================
- Hits 484772 479324 -5448
+ Misses 95308 95117 -191
+ Partials 9663 9631 -32
Continue to review full report at Codecov.
|
| /*[clinic end generated code: output=2fe4ecbd6f3d6844 input=9121d12e66f85b25]*/ | ||
| { | ||
| return PyFile_OpenCodeObject(path); | ||
| return PyFile_OpenCodeObject(PyOS_FSPath(path)); |
There was a problem hiding this comment.
Where does the new reference returned by PyOS_FSPath() get freed?
There was a problem hiding this comment.
Thanks, hopefully in this next commit :-)
|
|
|
Sounds good, opened #19824 for the documentation update. |
https://bugs.python.org/issue39723