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

2020-11-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 95ce7cd0a64e7f4739af2d1c158ef69b6980f12a by Victor Stinner in branch 'master': bpo-1635741: Fix typo in PyModule_AddObjectRef() doc (GH-23234) https://github.com/python/cpython/commit/95ce7cd0a64e7f4739af2d1c158ef69b6980f12a -- __

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

2020-11-10 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22131 pull_request: https://github.com/python/cpython/pull/23234 ___ Python tracker ___

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

2020-11-06 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +22092 pull_request: https://github.com/python/cpython/pull/23188 ___ Python tracker ___

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

2020-11-06 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +22091 pull_request: https://github.com/python/cpython/pull/23139 ___ Python tracker ___

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

2020-11-05 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +22082 pull_request: https://github.com/python/cpython/pull/23170 ___ Python tracker ___

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

2020-11-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 789359f47c2a744caa9a405131706099fd7ad6bd by Erlend Egeberg Aasland in branch 'master': bpo-1635741: _sqlite3 uses PyModule_AddObjectRef() (GH-23148) https://github.com/python/cpython/commit/789359f47c2a744caa9a405131706099fd7ad6bd --

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

2020-11-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7184218e186811e75be663be78e57d5302bf8af6 by Mohamed Koubaa in branch 'master': bpo-1635741: Fix PyInit_pyexpat() error handling (GH-22489) https://github.com/python/cpython/commit/7184218e186811e75be663be78e57d5302bf8af6 -- __

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

2020-11-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 58ca33b4674f39189b03c9a39fa7b676b43b3d08 by Victor Stinner in branch 'master': bpo-1635741: Fix ref leak in _PyWarnings_Init() error path (GH-23151) https://github.com/python/cpython/commit/58ca33b4674f39189b03c9a39fa7b676b43b3d08 --

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

2020-11-04 Thread Christian Heimes
Change by Christian Heimes : -- nosy: -christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

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

2020-11-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22063 pull_request: https://github.com/python/cpython/pull/23151 ___ Python tracker ___

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

2020-11-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 18ce7f1d0a3d65f34f25c5964da588743a1bfe3c by Victor Stinner in branch 'master': bpo-1635741: _ast uses PyModule_AddObjectRef() (GH-23146) https://github.com/python/cpython/commit/18ce7f1d0a3d65f34f25c5964da588743a1bfe3c --

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

2020-11-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 988f1ec8d2643a0d00851903abcdae90d57ac0e6 by Victor Stinner in branch 'master': bpo-1635741: _contextvars uses PyModule_AddType() (GH-23147) https://github.com/python/cpython/commit/988f1ec8d2643a0d00851903abcdae90d57ac0e6 -- _

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

2020-11-04 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +22060 pull_request: https://github.com/python/cpython/pull/23148 ___ Python tracker ___

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

2020-11-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22059 pull_request: https://github.com/python/cpython/pull/23147 ___ Python tracker ___

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

2020-11-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22058 pull_request: https://github.com/python/cpython/pull/23146 ___ Python tracker ___

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

2020-11-04 Thread STINNER Victor
STINNER Victor added the comment: I added a new PyModule_AddObjectRef() function which does not steal a reference to the value on success. I suggest to use this new function instead of PyModule_AddObject() which is usually misused (creating reference leaks). -- _

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

2020-11-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8021875bbcf7385e651def51bc597472a569042c by Victor Stinner in branch 'master': bpo-1635741: Add PyModule_AddObjectRef() function (GH-23122) https://github.com/python/cpython/commit/8021875bbcf7385e651def51bc597472a569042c -- _

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

2020-11-03 Thread STINNER Victor
STINNER Victor added the comment: In PR 23131, I added a comment to _PyInterpreter_Clear() to remind me that trying to destroy a Python type after the last GC collection doesn't work as expected: // All Python types must be destroyed before the last GC collection. Python // types cre

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

2020-11-03 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: I've converted _sre to multi-phase init in this branch: https://github.com/erlend-aasland/cpython/tree/bpo-1635741/sre I'm waiting for GH-23101 to be merged (or rejected) before I submit the PR. It's a fairly large PR (1 file changed, 259 insertions(

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

2020-11-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22038 pull_request: https://github.com/python/cpython/pull/23122 ___ Python tracker ___

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

2020-11-02 Thread STINNER Victor
STINNER Victor added the comment: I converted the unicodedata extension to the multi-phase initialization API in bpo-42157 with Mohamed Koubaa. -- ___ Python tracker ___ __

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

2020-11-01 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +22007 pull_request: https://github.com/python/cpython/pull/23091 ___ Python tracker ___

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

2020-10-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 47e1afd2a1793b5818a16c41307a4ce976331649 by Victor Stinner in branch 'master': bpo-1635741: _PyUnicode_Name_CAPI moves to internal C API (GH-22713) https://github.com/python/cpython/commit/47e1afd2a1793b5818a16c41307a4ce976331649 -- _

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

2020-10-22 Thread miss-islington
miss-islington added the comment: New changeset dde91b1953c0f0d51c4dde056727ff84b7655190 by Christian Heimes in branch 'master': bpo-1635741: Fix NULL ptr deref in multiprocessing (GH-22880) https://github.com/python/cpython/commit/dde91b1953c0f0d51c4dde056727ff84b7655190 -- __

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

2020-10-22 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +21821 pull_request: https://github.com/python/cpython/pull/22880 ___ Python tracker ___ __

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

2020-10-22 Thread Christian Heimes
Christian Heimes added the comment: The commit bpo-1635741: Port multiprocessing ext to multiphase init (GH-21378) https://github.com/python/cpython/commit/1d541c25c8019f7a0b80b3e1b437abe171e40b65 introduced a NULL pointer deref: if (py_sem_value_max == NULL) {

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

2020-10-20 Thread Petr Viktorin
Change by Petr Viktorin : -- nosy: +petr.viktorin nosy_count: 18.0 -> 19.0 pull_requests: +21792 pull_request: https://github.com/python/cpython/pull/22838 ___ Python tracker ___

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

2020-10-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21680 pull_request: https://github.com/python/cpython/pull/22713 ___ Python tracker ___

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

2020-10-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset e6b8c5263a7fcf5b95d0fd4c900e5949eeb6630d by Victor Stinner in branch 'master': bpo-1635741: Add a global module state to unicodedata (GH-22712) https://github.com/python/cpython/commit/e6b8c5263a7fcf5b95d0fd4c900e5949eeb6630d -- _

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

2020-10-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21679 pull_request: https://github.com/python/cpython/pull/22712 ___ Python tracker ___

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

2020-10-06 Thread STINNER Victor
STINNER Victor added the comment: Statistics on C extension modules using the old API (PyModule_Create) / new API (PyModuleDef_Init): * 3.5: 84 / 24 (22%), total: 108 * 3.6: 87 / 25 (22%), total: 112 (+4) * 3.7 : 89 / 26 (23%), total: 115 (+3) * 3.8: 91 / 27 (23%), total: 118 (+3) * 3.9: 68 /

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

2020-10-01 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21507 pull_request: https://github.com/python/cpython/pull/22490 ___ Python tracker ___

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

2020-10-01 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21506 pull_request: https://github.com/python/cpython/pull/22489 ___ Python tracker ___

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

2020-10-01 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- nosy: +erlendaasland nosy_count: 17.0 -> 18.0 pull_requests: +21497 pull_request: https://github.com/python/cpython/pull/22478 ___ Python tracker __

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

2020-09-26 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 2afd1751dd9a35d4ec03b708e3e5cddd72c43f7e by Dong-hee Na in branch 'master': bpo-1635741: Port _bisect module to multi-phase init (GH-22415) https://github.com/python/cpython/commit/2afd1751dd9a35d4ec03b708e3e5cddd72c43f7e --

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

2020-09-25 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +21451 pull_request: https://github.com/python/cpython/pull/22415 ___ Python tracker ___ ___

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

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset ddc0dd001a4224274ba6f83568b45a1dd88c6fc6 by Mohamed Koubaa in branch 'master': bpo-1635741, unicodedata: add ucd_type parameter to UCD_Check() macro (GH-22328) https://github.com/python/cpython/commit/ddc0dd001a4224274ba6f83568b45a1dd88c6fc6 -

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

2020-09-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 83de110dce94a9196dccc01d526628615714e362 by Mohamed Koubaa in branch 'master': bpo-1635741: Port _lsprof extension to multi-phase init (PEP 489) (GH-0) https://github.com/python/cpython/commit/83de110dce94a9196dccc01d526628615714e362 -

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

2020-09-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1b328ea9a7d15de4a8c9d0eb8aee94f6c75c1b46 by Mohamed Koubaa in branch 'master': bpo-1635741: Convert an _lsprof method to argument clinic (GH-22240) https://github.com/python/cpython/commit/1b328ea9a7d15de4a8c9d0eb8aee94f6c75c1b46 --

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

2020-09-19 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21372 pull_request: https://github.com/python/cpython/pull/22328 ___ Python tracker ___

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

2020-09-16 Thread STINNER Victor
STINNER Victor added the comment: > I rejected the PR 19122 which tries to port the _datetime module to the > multi-phase initialization API (PEP 489). We need first to enhance the > PyCapsule C API to pass the module instance to C functions, somehow. I created bpo-41798: [C API] Revisit usa

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

2020-09-14 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21297 pull_request: https://github.com/python/cpython/pull/22242 ___ Python tracker ___

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

2020-09-14 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21296 pull_request: https://github.com/python/cpython/pull/22240 ___ Python tracker ___

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

2020-09-12 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21277 pull_request: https://github.com/python/cpython/pull/2 ___ Python tracker ___

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

2020-09-12 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21275 pull_request: https://github.com/python/cpython/pull/0 ___ Python tracker ___

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

2020-09-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset f76d894dc5d5facce1a6c1b71637f6a2b3f9fd2b by Mohamed Koubaa in branch 'master': bpo-1635741: Port cmath to multi-phase init (PEP 489) (GH-22165) https://github.com/python/cpython/commit/f76d894dc5d5facce1a6c1b71637f6a2b3f9fd2b -- _

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

2020-09-08 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 3ff6975e2c0af0399467f234b2e307cc76efcfa9 by Mohamed Koubaa in branch 'master': bpo-1635741: port scproxy to multi-phase init (GH-22164) https://github.com/python/cpython/commit/3ff6975e2c0af0399467f234b2e307cc76efcfa9 --

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

2020-09-08 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21239 pull_request: https://github.com/python/cpython/pull/22165 ___ Python tracker ___

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

2020-09-08 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21238 pull_request: https://github.com/python/cpython/pull/22164 ___ Python tracker ___

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

2020-09-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset f315142ddc61e54a59028db562aec5f62db783e1 by Victor Stinner in branch 'master': bpo-1635741: Port mashal module to multi-phase init (#22149) https://github.com/python/cpython/commit/f315142ddc61e54a59028db562aec5f62db783e1 -- _

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

2020-09-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset bb083d33f7ffe93cee9e1f63d1e526dc81a6e34f by Victor Stinner in branch 'master': bpo-1635741: Port _string module to multi-phase init (GH-22148) https://github.com/python/cpython/commit/bb083d33f7ffe93cee9e1f63d1e526dc81a6e34f -- __

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

2020-09-08 Thread STINNER Victor
STINNER Victor added the comment: > Python/_warnings.c I'm not sure if it's a good idea to convert the _warnings module to multi-phase init, since it uses a state stored in the interpreter: /* Given a module object, get its per-module state. */ static WarningsState * warnings_get_state(void)

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

2020-09-08 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21231 pull_request: https://github.com/python/cpython/pull/22149 ___ Python tracker ___

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

2020-09-08 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21230 pull_request: https://github.com/python/cpython/pull/22148 ___ Python tracker ___

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

2020-09-08 Thread STINNER Victor
STINNER Victor added the comment: 2020-06-22 16:58: "List of the 58 C extensions using the legacy API (...)" UPDATE: 56% of Modules/*.c modules are converted (48 on 85). Since June, 21 extension modules have been converted. There are now 37 remaining extensions which still use PyModule_Creat

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

2020-09-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset 52a2df135c0470b1dbf889edc51b7c556ae4bc80 by Mohamed Koubaa in branch 'master': bpo-1635741: Convert _sha256 types to heap types (GH-22134) https://github.com/python/cpython/commit/52a2df135c0470b1dbf889edc51b7c556ae4bc80 -- __

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

2020-09-08 Thread STINNER Victor
STINNER Victor added the comment: I rejected the PR 19122 which tries to port the _datetime module to the multi-phase initialization API (PEP 489). We need first to enhance the PyCapsule C API to pass the module instance to C functions, somehow. Extension modules calling PyCapsule_New() in t

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

2020-09-08 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-15709 "PEP 3121, 384 Refactoring applied to termios module" as a duplicate of this issue. -- ___ Python tracker ___ _

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

2020-09-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset 15dcdb211366e0788e831fc2a1f785e6a5ca2749 by Mohamed Koubaa in branch 'master': bpo-1635741: Port the termios to multi-phase init (PEP 489) (GH-22139) https://github.com/python/cpython/commit/15dcdb211366e0788e831fc2a1f785e6a5ca2749 --

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

2020-09-07 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21227 pull_request: https://github.com/python/cpython/pull/22145 ___ Python tracker ___

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

2020-09-07 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21223 pull_request: https://github.com/python/cpython/pull/22139 ___ Python tracker ___

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

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1baf030a902392fe92d934ed0fb6a385cf7d8869 by Mohamed Koubaa in branch 'master': bpo-1635741 port _curses_panel to multi-phase init (PEP 489) (GH-21986) https://github.com/python/cpython/commit/1baf030a902392fe92d934ed0fb6a385cf7d8869 --

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

2020-09-07 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21216 pull_request: https://github.com/python/cpython/pull/22134 ___ Python tracker ___

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

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: I closed the following issues as duplicates of this issue: * bpo-15686: "PEP 3121, 384 Refactoring applied to md5 module" * bpo-15733: "PEP 3121, 384 Refactoring applied to winapi module" * bpo-15680: "PEP 3121 refactoring applied to audioop module" * bpo-1570

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

2020-09-07 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21212 pull_request: https://github.com/python/cpython/pull/22131 ___ Python tracker ___

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

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2aabc3200bf03d2ec1aa987e1e20db704948111e by Mohamed Koubaa in branch 'master': bpo-1635741: Port _overlapped module to multi-phase init (GH-22051) https://github.com/python/cpython/commit/2aabc3200bf03d2ec1aa987e1e20db704948111e -- __

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

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 426f2b4f13f392875e7861dbd7f34735731eff17 by Mohamed Koubaa in branch 'master': bpo-1635741: Port _opcode module to multi-phase init (PEP 489) (GH-22050) https://github.com/python/cpython/commit/426f2b4f13f392875e7861dbd7f34735731eff17

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

2020-09-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1aaa21ff818b08af2a68862b552b7ba0857492eb by Mohamed Koubaa in branch 'master': bpo-1635741 port zlib module to multi-phase init (GH-21995) https://github.com/python/cpython/commit/1aaa21ff818b08af2a68862b552b7ba0857492eb -- __

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

2020-09-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 63f102fe079ecb5cb7b921a1cf8bce4077a9d7e2 by Mohamed Koubaa in branch 'master': bpo-1635741: Port _sha1, _sha512, _md5 to multiphase init (GH-21818) https://github.com/python/cpython/commit/63f102fe079ecb5cb7b921a1cf8bce4077a9d7e2 -- _

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

2020-09-04 Thread STINNER Victor
STINNER Victor added the comment: > bpo-1635741: Port _signal module to multi-phase init (PEP 489) (GH-22049) This change is causing new issues: bpo-41713 "_signal module leak: test_interpreters leaked [1424, 1422, 1424] references". So I partially reverted it: PR 22087. -- ___

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

2020-09-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 71d1bd9569c8a497e279f2fea6fe47cd70a87ea3 by Mohamed Koubaa in branch 'master': bpo-1635741: Port _signal module to multi-phase init (PEP 489) (GH-22049) https://github.com/python/cpython/commit/71d1bd9569c8a497e279f2fea6fe47cd70a87ea3

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

2020-09-02 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-41692: "Deprecate immortal interned strings: PyUnicode_InternImmortal()". -- versions: +Python 3.10 -Python 3.9 ___ Python tracker _

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

2020-09-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 93d50a6a8d0c5d332c11aef267e66573a09765ac by Mohamed Koubaa in branch 'master': bpo-1635741: Port _sha3 module to multi-phase init (GH-21855) https://github.com/python/cpython/commit/93d50a6a8d0c5d332c11aef267e66573a09765ac --

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

2020-09-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset a7f026870d2dab7015a94e287bec6dd46cdbf604 by Mohamed Koubaa in branch 'master': bpo-1635741: Port _blake2 module to multi-phase init (GH-21856) https://github.com/python/cpython/commit/a7f026870d2dab7015a94e287bec6dd46cdbf604 -- __

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

2020-09-01 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21148 pull_request: https://github.com/python/cpython/pull/22051 ___ Python tracker ___

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

2020-09-01 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21147 pull_request: https://github.com/python/cpython/pull/22050 ___ Python tracker ___

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

2020-09-01 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21146 pull_request: https://github.com/python/cpython/pull/22049 ___ Python tracker ___

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

2020-08-29 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21109 pull_request: https://github.com/python/cpython/pull/22003 ___ Python tracker ___

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

2020-08-28 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21101 pull_request: https://github.com/python/cpython/pull/21995 ___ Python tracker ___

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

2020-08-27 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21095 pull_request: https://github.com/python/cpython/pull/21986 ___ Python tracker ___

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

2020-08-27 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +21094 pull_request: https://github.com/python/cpython/pull/21985 ___ Python tracker ___

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

2020-08-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8aa163eea6b0fb4693f6c0a314d4f2ccada51d70 by Hai Shi in branch 'master': bpo-1635741: Explict GC collect after PyInterpreterState_Clear() (GH-21902) https://github.com/python/cpython/commit/8aa163eea6b0fb4693f6c0a314d4f2ccada51d70 -- _

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

2020-08-17 Thread hai shi
Change by hai shi : -- pull_requests: +21022 pull_request: https://github.com/python/cpython/pull/21902 ___ Python tracker ___ ___

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

2020-08-15 Thread hai shi
Change by hai shi : -- pull_requests: +21015 pull_request: https://github.com/python/cpython/pull/21896 ___ Python tracker ___ ___

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

2020-08-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset e087f7cd43dfa4223c55a8ecd71f4a7d685178e4 by Mohamed Koubaa in branch 'master': bpo-1635741: Port _winapi ext to multi-stage init (GH-21371) https://github.com/python/cpython/commit/e087f7cd43dfa4223c55a8ecd71f4a7d685178e4 -- _

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

2020-08-13 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +20982 pull_request: https://github.com/python/cpython/pull/21855 ___ Python tracker ___

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

2020-08-13 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +20983 pull_request: https://github.com/python/cpython/pull/21856 ___ Python tracker ___

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

2020-08-12 Thread hai shi
hai shi added the comment: > Py_Finalize() calls _PyUnicode_ClearInterned() which clears interned strings. > Which strings are still alive after Py_Finalize()? Yes.especially those encodings, interpreter leaks much encodings refcount after Py_Finalize(). I am not sure they are corner cases o

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

2020-08-12 Thread STINNER Victor
STINNER Victor added the comment: > Q: How to solve the problem? Making sure that the "total reference count" is zero after Py_Finalize() is a long term project which requires to solve many subproblems: * Convert static types to heap types: bpo-40077 * Somehow related, convert extension modu

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

2020-08-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8ecc0c4d390d03de5cd2344aa44b69ed02ffe470 by Hai Shi in branch 'master': bpo-1635741: Clean sysdict and builtins of interpreter at exit (GH-21605) https://github.com/python/cpython/commit/8ecc0c4d390d03de5cd2344aa44b69ed02ffe470 -- ___

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

2020-08-12 Thread STINNER Victor
STINNER Victor added the comment: > There will have many unicode strs releaks when we calling `Py_Initialize()` > again after `Py_Finalize()`: interned will be cleared in `Py_Finalize()`, but > those unicodes str will still alive all the time. Py_Finalize() calls _PyUnicode_ClearInterned() w

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

2020-08-12 Thread hai shi
hai shi added the comment: There will have many unicode strs releaks when we calling `Py_Initialize()` again after `Py_Finalize()`: interned will be cleared in `Py_Finalize()`, but those unicodes str will still alive all the time. Q: How to solve the probleam? A: MAYBE we need share the inte

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

2020-08-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1d541c25c8019f7a0b80b3e1b437abe171e40b65 by Mohamed Koubaa in branch 'master': bpo-1635741: Port multiprocessing ext to multiphase init (GH-21378) https://github.com/python/cpython/commit/1d541c25c8019f7a0b80b3e1b437abe171e40b65 -- __

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

2020-08-10 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +20949 pull_request: https://github.com/python/cpython/pull/21818 ___ Python tracker ___

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

2020-07-24 Thread hai shi
Change by hai shi : -- pull_requests: +20746 pull_request: https://github.com/python/cpython/pull/21605 ___ Python tracker ___ ___

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

2020-07-09 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +20567 pull_request: https://github.com/python/cpython/pull/21418 ___ Python tracker ___

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

2020-07-07 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +20522 pull_request: https://github.com/python/cpython/pull/21378 ___ Python tracker ___

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

2020-07-07 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +20521 pull_request: https://github.com/python/cpython/pull/21375 ___ Python tracker ___

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

2020-07-07 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +20519 pull_request: https://github.com/python/cpython/pull/21371 ___ Python tracker ___

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

2020-07-04 Thread mohamed koubaa
Change by mohamed koubaa : -- nosy: +koubaa nosy_count: 16.0 -> 17.0 pull_requests: +20471 pull_request: https://github.com/python/cpython/pull/21319 ___ Python tracker ___ _

<    1   2   3   4   >