[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-12-29 Thread STINNER Victor
STINNER Victor added the comment: > No refs leaking anymore!? Well, there is another test: $ ./python -X showrefcount -c pass [23547 refs, 6589 blocks] Python still leaks 23547 refs at exit. -- ___ Python tracker

[issue40137] TODO list when PEP 573 "Module State Access from C Extension Methods" will be implemented

2020-12-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset ba0e49a4648e727d1a16b3ce479499eb39f22311 by Victor Stinner in branch 'master': bpo-40137: Fix refleak in _functools_exec() (GH-24006) https://github.com/python/cpython/commit/ba0e49a4648e727d1a16b3ce479499eb39f22311 -- ___

[issue42780] os.set_inheritable() fails for O_PATH file descriptors on Linux

2020-12-29 Thread cptpcrd
cptpcrd added the comment: > I like this approach! Should I put together unit tests to go with the patch? Maybe `test_os.FDInheritanceTests.test_set_inheritable_o_path()`? -- ___ Python tracker ___

[issue42717] The python interpreter crashed with "_enter_buffered_busy"

2020-12-29 Thread Xinmeng Xia
Xinmeng Xia added the comment: Thank you for your patient reply. I see now. Hoping that some one can figure out a good idea to fix this problem. -- ___ Python tracker ___ ___

[issue42763] Exposing a race in the "_warnings" resulting Python parser crash

2020-12-29 Thread Xinmeng Xia
Xinmeng Xia added the comment: Now I see. By the way, I think this case should be moved back to "cpython/Lib/test/crashers/" since the bug still exists. It is not fixed completely, the old case is outdated. I suggest we can put the new case into directory "crashers". -- __

[issue40137] TODO list when PEP 573 "Module State Access from C Extension Methods" will be implemented

2020-12-29 Thread hai shi
hai shi added the comment: > I wrote PR 24006 to fix the leak. Oh, thanks for your fix, victor. -- ___ Python tracker ___ ___ Pytho

[issue40137] TODO list when PEP 573 "Module State Access from C Extension Methods" will be implemented

2020-12-29 Thread hai shi
hai shi added the comment: After PR 23405 and PR 24006 merged, I think this bpo can be closed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue42784] issues with object.h includes

2020-12-29 Thread Big Boss
New submission from Big Boss : using #include in header files is known to cause conflict with other projects using similar header file. Best workaround should be renaming to . Probably better to do the same thing to other header files as well. Or wrap it around with a folder. Like ---

<    1   2