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

2022-02-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4657bf701670215ce69b89401b2307022a3b0a7d by Victor Stinner in branch 'main': bpo-1635741: Fix winreg reference leaks (GH-31560) https://github.com/python/cpython/commit/4657bf701670215ce69b89401b2307022a3b0a7d --

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

2022-02-24 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29683 pull_request: https://github.com/python/cpython/pull/31560 ___ Python tracker ___

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

2022-02-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset c9c178fdb1af01e441a6c83f3a21a67e5dd9f17d by Victor Stinner in branch 'main': bpo-1635741: test_embed cheks that Python does not leak (GH-31555) https://github.com/python/cpython/commit/c9c178fdb1af01e441a6c83f3a21a67e5dd9f17d --

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

2022-02-24 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +29677 pull_request: https://github.com/python/cpython/pull/31555 ___ Python tracker ___

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

2022-01-28 Thread STINNER Victor
STINNER Victor added the comment: The negative refcount issue has been fixed ;-) At commit 9a241271139a317597aca71d5971346b2cfe7dbd, Python now leaks exactly 0 reference count and 0 memory block at exit: $ ./python -I -X showrefcount -c pass [0 refs, 0 blocks] --

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

2022-01-27 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-35774 as a duplicate of this issue. -- ___ Python tracker ___ ___

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

2022-01-27 Thread STINNER Victor
STINNER Victor added the comment: Thanks to recent enhancements, epecially in bpo-46417, the last memory blocks are now released at Python exit! The initial issue has been fixed!!! This bug was 15 years old! Current main branch: $ ./python -I -X showrefcount -c pass [-5 refs, 0 blocks] "0

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

2022-01-22 Thread STINNER Victor
STINNER Victor added the comment: My work on bpo-46417 reduces the number of leak references from around 10k to ... minus 4 references :-) Clearing static types and a few "static" objects helped a lot! > New changeset a1444f43584af0f7a0af72aa06ba0a86ae5a87a2 by Victor Stinner in > branch

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

2022-01-22 Thread STINNER Victor
STINNER Victor added the comment: In bpo-46417, I pushed a change to call _PyDebug_PrintTotalRefs() after destroying the interpreter. I backported locally this change to other Python versions to compare the progress on old Python versions: ./python -I -X showrefcount -c pass command: *

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

2022-01-21 Thread STINNER Victor
STINNER Victor added the comment: Using "./python -IsS" command, sys.modules now only has 3 extensions which are not created by PyModuleDef_Init(): * builtins * _io * sys The builtins and sys extensions use many static types. Converting these static types to heap types is blocked by

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

2022-01-21 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +28932 pull_request: https://github.com/python/cpython/pull/30744 ___ Python tracker ___

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

2022-01-17 Thread STINNER Victor
STINNER Victor added the comment: > I wrote PR 20763 to "finalize" static types in Py_Finalize(). It mostly > works, but "./Programs/_testembed test_forced_io_encoding" crash. (...) I created bpo-46417 follow-up issue: "[subinterpreters] Clear static types in Py_Finalize()". --

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

2022-01-10 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +kumaraditya303 nosy_count: 25.0 -> 26.0 pull_requests: +28726 pull_request: https://github.com/python/cpython/pull/30525 ___ Python tracker

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

2022-01-10 Thread Yu Zhao
Change by Yu Zhao : -- nosy: +CharlieZhao nosy_count: 24.0 -> 25.0 pull_requests: +28723 pull_request: https://github.com/python/cpython/pull/30522 ___ Python tracker ___

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

2021-11-04 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +Jim Fasarakis-Hilliard, TCsaba, amaury.forgeotdarc, christian.heimes, corona10, eric.snow, h-vetinari, isoschiz, koubaa, kylotan, lukasz.langa, miss-islington, orsenthil, pconnell, petr.viktorin, phsilva, python-dev, santoso.wijaya,

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

2021-11-04 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- assignee: docs@python -> components: +Interpreter Core, Subinterpreters -Documentation nosy: +erlendaasland -ahmedsayeed1982, docs@python versions: +Python 3.10 -Python 3.6 ___ Python tracker

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

2021-11-04 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- Removed message: https://bugs.python.org/msg405698 ___ Python tracker ___ ___ Python-bugs-list

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

2021-11-04 Thread Ahmed Sayeed
Ahmed Sayeed added the comment: Possibly similar to 23220 however on 64-bit recent Debian sid with trivial code I see : https://www.webb-dev.co.uk/category/crypto/ mimas$ mimas$ uname -a http://www.compilatori.com/category/services/ Linux mimas 5.10.0-6-sparc64 #1 Debian 5.10.28-1

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

2021-06-29 Thread h-vetinari
Change by h-vetinari : -- nosy: +h-vetinari ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2021-05-01 Thread Csaba Torda
Change by Csaba Torda : -- nosy: +TCsaba ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2021-03-15 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-15698 "PEP 3121, 384 Refactoring applied to pyexpat module" as a duplicate of this issue. -- ___ Python tracker ___

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

2021-01-13 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 2396614b8958ad202378fd71a598eb4106ac5896 by Dong-hee Na in branch 'master': bpo-1635741: Fix PyModule_AddObjectRef to use EXPORT_FUNC (GH-24205) https://github.com/python/cpython/commit/2396614b8958ad202378fd71a598eb4106ac5896 --

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

2021-01-12 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +23031 pull_request: https://github.com/python/cpython/pull/24205 ___ Python tracker ___

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

2021-01-12 Thread STINNER Victor
STINNER Victor added the comment: > In GH-23598, PyModule_AddObjectRef was added as EXPORT_DATA. Shouldn't it be > EXPORT_FUNC? Oh, I didn't notice that there was EXPORT_DATA. Right, EXPORT_FUNC must be used. -- ___ Python tracker

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

2021-01-12 Thread Petr Viktorin
Petr Viktorin added the comment: In GH-23598, PyModule_AddObjectRef was added as EXPORT_DATA. Shouldn't it be EXPORT_FUNC? -- ___ Python tracker ___

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

2021-01-08 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +23002 pull_request: https://github.com/python/cpython/pull/24175 ___ Python tracker ___

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

2021-01-08 Thread STINNER Victor
STINNER Victor added the comment: > New changeset 0b858cdd5d114f0890b11b6c4d6559d0ceb468ab by Erlend Egeberg > Aasland in branch 'master': > bpo-1635741: Convert _multibytecodec to multi-phase init (GH-24095) This change introduced two regressions: * bpo-42846: "Using _multibytecodec module

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

2021-01-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0b858cdd5d114f0890b11b6c4d6559d0ceb468ab by Erlend Egeberg Aasland in branch 'master': bpo-1635741: Convert _multibytecodec to multi-phase init (GH-24095) https://github.com/python/cpython/commit/0b858cdd5d114f0890b11b6c4d6559d0ceb468ab

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

2021-01-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset c8a87addb1fa35dec79ed8f227eba3694fc36234 by Mohamed Koubaa in branch 'master': bpo-1635741: Port pyexpat to multi-phase init (PEP 489) (GH-2) https://github.com/python/cpython/commit/c8a87addb1fa35dec79ed8f227eba3694fc36234 --

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

2021-01-04 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +22926 pull_request: https://github.com/python/cpython/pull/24095 ___ Python tracker ___

[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

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

2020-12-29 Thread Paulo Henrique Silva
Paulo Henrique Silva added the comment: Repeated msg355187 testing on master[056c08211b]. --- #include void func() { Py_Initialize(); Py_Finalize(); Py_ssize_t cnt = _Py_GetRefTotal(); printf("sys.gettotalrefcount(): %zd\n", cnt); } int main(int argc, char *argv[]) {

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

2020-12-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 897387d2c8a956e74770c6bdd0447dfec61e8e27 by Erlend Egeberg Aasland in branch 'master': bpo-1635741: sqlite3: Fix ref leak introduced by commit bf64d90 (GH-23972) https://github.com/python/cpython/commit/897387d2c8a956e74770c6bdd0447dfec61e8e27

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

2020-12-27 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +22817 pull_request: https://github.com/python/cpython/pull/23972 ___ Python tracker ___

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

2020-12-27 Thread STINNER Victor
STINNER Victor added the comment: Progress: 77% (102/132) of extension modules use the new C API. I used different grep commands to count *all* extension modules, not only the Modules/ directory: $ grep -E '\' $(find -name "*.c"|grep -v Doc/|grep -v moduleobject.c)|wc -l 30 $ grep -E '\'

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

2020-12-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset bf64d9064ab641b1ef9a0c4bda097ebf1204faf4 by Erlend Egeberg Aasland in branch 'master': bpo-1635741: sqlite3 uses Py_NewRef/Py_XNewRef (GH-23170) https://github.com/python/cpython/commit/bf64d9064ab641b1ef9a0c4bda097ebf1204faf4 --

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

2020-12-26 Thread STINNER Victor
STINNER Victor added the comment: I checked for ^.*tp_new.*=.*NULL regex in "git log -p" command output. I checked all commits up to May 8 2016, the commit which added: +((PyTypeObject *)v)->tp_new = NULL; I met "FlagsType.tp_new = NULL;" multiple times since the code moved multiple

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

2020-12-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The pitfall of PyType_FromModuleAndSpec() is that it makes types instantiable by default if tp_new is not provided. Created objects can crash when you try to use them because they are not properly initialized. When there was few uses of

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

2020-12-25 Thread STINNER Victor
STINNER Victor added the comment: > These changes introduced a regression in test_curses (see issue42694). And I > afraid then introduced regressions in other modules for which there were not > purposed tests. In my experience, when a type is modified to prevent creating an instance using

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

2020-12-22 Thread Christian Heimes
Christian Heimes added the comment: New changeset 6d9ec8bbfa07161431dc6190dd0772a6fbaf7ebd by Christian Heimes in branch 'master': bpo-1635741: Port resource extension module to module state (GH-23462) https://github.com/python/cpython/commit/6d9ec8bbfa07161431dc6190dd0772a6fbaf7ebd

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

2020-12-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: These changes introduced a regression in test_curses (see issue42694). And I afraid then introduced regressions in other modules for which there were not purposed tests. -- ___ Python tracker

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

2020-12-17 Thread STINNER Victor
STINNER Victor added the comment: > * bpo-15651: PEP 3121, 384 refactoring applied to elementtree module Oops, this was a mistake. This one is not fixed yet. -- ___ Python tracker

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

2020-12-17 Thread STINNER Victor
STINNER Victor added the comment: Statistics on C extension modules using the new API (PyModuleDef_Init) / total: * 3.9: 52 / 120 (43%) * master: 94 / 119 (79%) 25 extension modules are still using the old API (PyModule_Create). -- ___ Python

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

2020-12-17 Thread STINNER Victor
STINNER Victor added the comment: I marked the following issues as duplicates of this one: * bpo-15651: PEP 3121, 384 refactoring applied to elementtree module * bpo-15650: PEP 3121, 384 refactoring applied to dbm module * bpo-15712: PEP 3121, 384 Refactoring applied to unicodedata module *

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

2020-12-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6104013838e181e3c698cb07316f449a0c31ea96 by Victor Stinner in branch 'master': bpo-1635741: Port _thread to multiphase init (GH-23811) https://github.com/python/cpython/commit/6104013838e181e3c698cb07316f449a0c31ea96 --

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

2020-12-16 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22671 pull_request: https://github.com/python/cpython/pull/23811 ___ Python tracker ___

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

2020-12-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset fcc6935384b933fbe1a1ef659ed455a3b74c849a by Victor Stinner in branch 'master': Add symbols of the stable ABI to python3dll.c (GH-23598) https://github.com/python/cpython/commit/fcc6935384b933fbe1a1ef659ed455a3b74c849a --

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

2020-12-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8203c73f3bb1f51614279b6e23af2ec587d1fa22 by Victor Stinner in branch 'master': bpo-1635741: Refactor _threadmodule.c (GH-23793) https://github.com/python/cpython/commit/8203c73f3bb1f51614279b6e23af2ec587d1fa22 --

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

2020-12-16 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22649 pull_request: https://github.com/python/cpython/pull/23793 ___ Python tracker ___

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

2020-12-01 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22465 pull_request: https://github.com/python/cpython/pull/23598 ___ Python tracker ___

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

2020-11-27 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +22417 pull_request: https://github.com/python/cpython/pull/23535 ___ Python tracker ___

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

2020-11-24 Thread Senthil Kumaran
Change by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2020-11-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka, serhiy.storchaka nosy_count: 20.0 -> 21.0 pull_requests: +22365, 22366 pull_request: https://github.com/python/cpython/pull/23443 ___ Python tracker

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

2020-11-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka nosy_count: 20.0 -> 21.0 pull_requests: +22365 pull_request: https://github.com/python/cpython/pull/23443 ___ Python tracker

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

2020-11-22 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +22354 pull_request: https://github.com/python/cpython/pull/23462 ___ Python tracker ___

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

2020-11-21 Thread Christian Heimes
Christian Heimes added the comment: New changeset ea97ebab3578a6e0bb505da96819ac44d422a6cb by Christian Heimes in branch 'master': bpo-1635741: Port select module to multiphase init (GH-23409) https://github.com/python/cpython/commit/ea97ebab3578a6e0bb505da96819ac44d422a6cb --

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

2020-11-21 Thread Christian Heimes
Christian Heimes added the comment: New changeset 035deee265c7fb227ddc87222fa48761231d8bd7 by Christian Heimes in branch 'master': bpo-1635741: Port _posixsubprocess module to multiphase init (GH-23406) https://github.com/python/cpython/commit/035deee265c7fb227ddc87222fa48761231d8bd7

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

2020-11-20 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset a6109ef68d421712ba368ef502c4789e8de113e0 by Erlend Egeberg Aasland in branch 'master': bpo-1635741: Convert _sre types to heap types and establish module state (PEP 384) (GH-23393)

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

2020-11-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2db8e35489d63b976a463fb1d2a6c29f4f965c21 by Mohamed Koubaa in branch 'master': bpo-1635741: Enhance _datetime error handling (GH-23139) https://github.com/python/cpython/commit/2db8e35489d63b976a463fb1d2a6c29f4f965c21 --

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

2020-11-19 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +22302 pull_request: https://github.com/python/cpython/pull/23409 ___ Python tracker ___

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

2020-11-19 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +22299 pull_request: https://github.com/python/cpython/pull/23406 ___ Python tracker ___

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

2020-11-19 Thread miss-islington
miss-islington added the comment: New changeset b437aa83f9374b86b7756705e8dc83b72a99e037 by Christian Heimes in branch 'master': bpo-1635741: Port _posixshmem extension module to multiphase initialization (GH-23404)

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

2020-11-19 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +22297 pull_request: https://github.com/python/cpython/pull/23404 ___ Python tracker ___

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

2020-11-19 Thread STINNER Victor
STINNER Victor added the comment: I closed the following issues as duplicates of this issue: * bpo-15707: "PEP 3121, 384 Refactoring applied to signal module" (duplicate of bpo-41713) * bpo-15670: "PEP 3121, 384 Refactoring applied to ssl module" (duplicate of bpo-42333) * bpo-15668: "PEP

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

2020-11-19 Thread miss-islington
miss-islington added the comment: New changeset 588c7c9f08a673472a29e3f8f7fda9e343212e7d by Dong-hee Na in branch 'master': bpo-1635741: Fix _struct for build bot error (GH-23402) https://github.com/python/cpython/commit/588c7c9f08a673472a29e3f8f7fda9e343212e7d --

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

2020-11-19 Thread Christian Heimes
Christian Heimes added the comment: $ find -name '*.c' -and -not -name moduleobject.c | xargs grep -l PyModule_Create\( | sort ./Doc/includes/custom2.c ./Doc/includes/custom3.c ./Doc/includes/custom4.c ./Doc/includes/custom.c ./Doc/includes/sublist.c ./Modules/_asynciomodule.c

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

2020-11-19 Thread miss-islington
miss-islington added the comment: New changeset 646d7fdefbbc95a83df665698af7385d10bde66c by Christian Heimes in branch 'master': bpo-1635741: Port gc module to multiphase initialization (GH-23377) https://github.com/python/cpython/commit/646d7fdefbbc95a83df665698af7385d10bde66c --

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

2020-11-19 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +22294 pull_request: https://github.com/python/cpython/pull/23402 ___ Python tracker ___

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

2020-11-19 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +22293 pull_request: https://github.com/python/cpython/pull/23401 ___ Python tracker ___

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

2020-11-19 Thread Dong-hee Na
Dong-hee Na 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 --

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

2020-11-19 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +22290 pull_request: https://github.com/python/cpython/pull/23398 ___ Python tracker ___

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

2020-11-19 Thread Christian Heimes
Christian Heimes 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 --

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

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

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

2020-11-19 Thread miss-islington
miss-islington 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 --

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

2020-11-19 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +22282 pull_request: https://github.com/python/cpython/pull/23390 ___ Python tracker ___

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

2020-11-19 Thread STINNER Victor
STINNER Victor 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

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

2020-11-18 Thread miss-islington
miss-islington 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

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

2020-11-18 Thread miss-islington
miss-islington 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 --

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

2020-11-18 Thread STINNER Victor
STINNER Victor 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 --

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

2020-11-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22273 pull_request: https://github.com/python/cpython/pull/23381 ___ Python tracker ___

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

2020-11-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22272 pull_request: https://github.com/python/cpython/pull/23379 ___ Python tracker ___

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

2020-11-18 Thread STINNER Victor
STINNER Victor 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 --

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

2020-11-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22271 pull_request: https://github.com/python/cpython/pull/23378 ___ Python tracker ___

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

2020-11-18 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +22270 pull_request: https://github.com/python/cpython/pull/23377 ___ Python tracker ___

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

2020-11-18 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +22269 pull_request: https://github.com/python/cpython/pull/23376 ___ Python tracker ___

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

2020-11-18 Thread Christian Heimes
Christian Heimes 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 --

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

2020-11-18 Thread miss-islington
miss-islington 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

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

2020-11-18 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +22254 pull_request: https://github.com/python/cpython/pull/23361 ___ Python tracker ___

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

2020-11-18 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: For sqlite3, see bpo-42064 -- ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2020-11-18 Thread Christian Heimes
Christian Heimes 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 [*]

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

2020-11-18 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +22253 pull_request: https://github.com/python/cpython/pull/23360 ___ Python tracker ___

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

2020-11-18 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +22252 pull_request: https://github.com/python/cpython/pull/23359 ___ Python tracker ___

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

2020-11-17 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +22251 pull_request: https://github.com/python/cpython/pull/23358 ___ Python tracker ___

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

2020-11-17 Thread STINNER Victor
STINNER Victor added the comment: > For the signal module, see bpo-41713. Done: the _signal module uses again the multi-phase init API. -- ___ Python tracker ___

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

2020-11-16 Thread STINNER Victor
STINNER Victor added the comment: For the signal module, see bpo-41713. -- ___ Python tracker ___ ___ Python-bugs-list mailing

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

2020-11-15 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +22195 pull_request: https://github.com/python/cpython/pull/23304 ___ Python tracker ___

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

2020-11-12 Thread Christian Heimes
Christian Heimes added the comment: See bpo-42333 for _ssl module. The PR introduces module state and ports the _ssl extension to multiphase initialization. -- nosy: +christian.heimes ___ Python tracker

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

2020-11-12 Thread STINNER Victor
STINNER Victor added the comment: See bpo-27400 for the _datetime module: strptime_module variable is not cleared by Py_Finalize(). -- ___ Python tracker ___

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

2020-11-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset ba2958ed40d284228836735cbed4a155190e0998 by Victor Stinner in branch 'master': bpo-40170: Fix PyType_Ready() refleak on static type (GH-23236) https://github.com/python/cpython/commit/ba2958ed40d284228836735cbed4a155190e0998 --

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

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

  1   2   3   4   >