Mailing List Archive

1 2 3 4 5 6  View All
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
STINNER Victor <vstinner@python.org> added the comment:

> For the signal module, see bpo-41713.

Done: the _signal module uses again the multi-phase init API.

----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
Change by Christian Heimes <lists@cheimes.de>:


----------
pull_requests: +22251
pull_request: https://github.com/python/cpython/pull/23358

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
Change by Christian Heimes <lists@cheimes.de>:


----------
pull_requests: +22252
pull_request: https://github.com/python/cpython/pull/23359

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
Change by Christian Heimes <lists@cheimes.de>:


----------
pull_requests: +22253
pull_request: https://github.com/python/cpython/pull/23360

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
Christian Heimes <lists@cheimes.de> added the comment:

$ grep -l -R PyModule_Create . | sort
./_asynciomodule.c
./cjkcodecs/cjkcodecs.h
./cjkcodecs/multibytecodec.c
./_csv.c
./_ctypes/_ctypes.c
./_cursesmodule.c
./_datetimemodule.c
./_decimal/_decimal.c
./_elementtree.c
./gcmodule.c
./grpmodule.c [*]
./_hashopenssl.c [*]
./_io/_iomodule.c
./_multiprocessing/posixshmem.c
./ossaudiodev.c
./_pickle.c
./_posixsubprocess.c
./pwdmodule.c [*]
./pyexpat.c [*]
./_queuemodule.c
./_randommodule.c
./readline.c
./selectmodule.c
./socketmodule.c
./spwdmodule.c
./_sqlite/module.c
./_sre.c
./_ssl.c [*]
./_struct.c
./symtablemodule.c
./_testbuffer.c
./_testcapimodule.c
./_testimportmultiple.c
./_testinternalcapi.c
./_threadmodule.c
./_tkinter.c
./_tracemalloc.c
./_xxsubinterpretersmodule.c
./_xxtestfuzz/_xxtestfuzz.c

[*] == open PR

----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
Erlend Egeberg Aasland <erlend.aasland@innova.no> added the comment:

For sqlite3, see bpo-42064

----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
Change by Christian Heimes <lists@cheimes.de>:


----------
pull_requests: +22254
pull_request: https://github.com/python/cpython/pull/23361

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment:


New changeset c7011012fac91a30923e39dbce7611f1b3ca8506 by Christian Heimes in branch 'master':
bpo-1635741: Port symtable module to multiphase initialization (GH-23361)
https://github.com/python/cpython/commit/c7011012fac91a30923e39dbce7611f1b3ca8506


----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
Christian Heimes <lists@cheimes.de> added the comment:


New changeset 46f59ebd01e22cc6a56fd0691217318c1d801a49 by Christian Heimes in branch 'master':
bpo-1635741: Port _hashlib to multiphase initialization (GH-23358)
https://github.com/python/cpython/commit/46f59ebd01e22cc6a56fd0691217318c1d801a49


----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
Change by Christian Heimes <lists@cheimes.de>:


----------
pull_requests: +22269
pull_request: https://github.com/python/cpython/pull/23376

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
Change by Christian Heimes <lists@cheimes.de>:


----------
pull_requests: +22270
pull_request: https://github.com/python/cpython/pull/23377

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
Change by STINNER Victor <vstinner@python.org>:


----------
pull_requests: +22271
pull_request: https://github.com/python/cpython/pull/23378

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
STINNER Victor <vstinner@python.org> added the comment:


New changeset 622307142130d36a30644233441333247838af38 by Victor Stinner in branch 'master':
bpo-1635741: Convert _imp to multi-phase init (GH-23378)
https://github.com/python/cpython/commit/622307142130d36a30644233441333247838af38


----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
Change by STINNER Victor <vstinner@python.org>:


----------
pull_requests: +22272
pull_request: https://github.com/python/cpython/pull/23379

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
Change by STINNER Victor <vstinner@python.org>:


----------
pull_requests: +22273
pull_request: https://github.com/python/cpython/pull/23381

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
STINNER Victor <vstinner@python.org> added the comment:


New changeset 6f4635fe20457a7c513050bb117c2f0511cd4e44 by Victor Stinner in branch 'master':
bpo-1635741: Port _warnings to the multi-phase init (GH-23379)
https://github.com/python/cpython/commit/6f4635fe20457a7c513050bb117c2f0511cd4e44


----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment:


New changeset cc0cd43c0f96dac413e54855e9c77ec4b73bd2f8 by Christian Heimes in branch 'master':
bpo-1635741: Port _random to multiphase initialization (GH-23359)
https://github.com/python/cpython/commit/cc0cd43c0f96dac413e54855e9c77ec4b73bd2f8


----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment:


New changeset fa2eee975dbf7d2728021ef9d97328bbe88351cf by Christian Heimes in branch 'master':
bpo-1635741: Port grp and pwd to multiphase initialization (GH-23360)
https://github.com/python/cpython/commit/fa2eee975dbf7d2728021ef9d97328bbe88351cf


----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
STINNER Victor <vstinner@python.org> added the comment:

About multi-phase init, it's nice to see the list of modules using the "legacy" init API getting smaller at each Python release!

Example adding a log to PyModule_Create2():

+fprintf(stderr, "LEGACY MODULE INIT: %s\n", module->m_name);

python3.6 -c pass: 16 modules using the legacy API

LEGACY MODULE INIT: builtins
LEGACY MODULE INIT: sys
LEGACY MODULE INIT: _warnings
LEGACY MODULE INIT: _imp
LEGACY MODULE INIT: _warnings
LEGACY MODULE INIT: _thread
LEGACY MODULE INIT: _weakref
LEGACY MODULE INIT: io
LEGACY MODULE INIT: marshal
LEGACY MODULE INIT: posix
LEGACY MODULE INIT: zipimport
LEGACY MODULE INIT: _codecs
LEGACY MODULE INIT: _signal
LEGACY MODULE INIT: errno
LEGACY MODULE INIT: _stat

python3.10 -c pass: only 2 modules using the legacy API

LEGACY IMPORT: _thread
LEGACY IMPORT: io

16 (Python 3.6) => 2 (Python 3.10) is a nice progress ;-)

----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
Change by Christian Heimes <lists@cheimes.de>:


----------
pull_requests: +22282
pull_request: https://github.com/python/cpython/pull/23390

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
miss-islington <mariatta.wijaya+miss-islington@gmail.com> added the comment:


New changeset 3094dd5fb5fa3ed91f5e2887887b193edbc976d2 by Christian Heimes in branch 'master':
bpo-1635741: Port _queue to multiphase initialization (GH-23376)
https://github.com/python/cpython/commit/3094dd5fb5fa3ed91f5e2887887b193edbc976d2


----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
Change by Erlend Egeberg Aasland <erlend.aasland@innova.no>:


----------
pull_requests: +22285
pull_request: https://github.com/python/cpython/pull/23393

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
Christian Heimes <lists@cheimes.de> added the comment:


New changeset bf9d70a1a5255080b7a5e55f319dfffd5f20fdcd by Christian Heimes in branch 'master':
bpo-1635741: Port spwd to multiphase initialization (GH-23390)
https://github.com/python/cpython/commit/bf9d70a1a5255080b7a5e55f319dfffd5f20fdcd


----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
Change by Christian Heimes <lists@cheimes.de>:


----------
pull_requests: +22290
pull_request: https://github.com/python/cpython/pull/23398

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1635741] Py_Finalize() doesn't clear all Python objects at exit [ In reply to ]
Dong-hee Na <donghee.na@python.org> added the comment:


New changeset cfeb5437a8910e28726422a14a93a36584e32238 by Christian Heimes in branch 'master':
bpo-1635741: Port _struct to multiphase initialization (GH-23398)
https://github.com/python/cpython/commit/cfeb5437a8910e28726422a14a93a36584e32238


----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

1 2 3 4 5 6  View All