[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2021-07-26 Thread Thomas Wouters
Thomas Wouters added the comment: This was fixed back in 2018, in fact. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2021-07-25 Thread Andrei Kulakov
Andrei Kulakov added the comment: 3.6 no longer gets bugfixes, so I think this can be closed. -- nosy: +andrei.avk ___ Python tracker ___

[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2020-11-04 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2018-04-19 Thread Thomas Wouters
Change by Thomas Wouters : -- pull_requests: +6232 ___ Python tracker ___ ___

[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2018-04-19 Thread Nathaniel Smith
Change by Nathaniel Smith : -- pull_requests: +6230 ___ Python tracker ___ ___

[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2018-04-18 Thread Thomas Wouters
Change by Thomas Wouters : -- pull_requests: +6213 stage: -> patch review ___ Python tracker ___

[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2018-04-18 Thread Thomas Wouters
Thomas Wouters added the comment: Looks like this was fixed in 3.7 by checking PyThreadState_GET()->interp->modules before trying to use it. That leaves the crash in 3.6 and earlier, though. -- stage: patch review -> ___ Python

[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2018-04-18 Thread Thomas Wouters
Change by Thomas Wouters : -- keywords: +patch pull_requests: +6211 stage: -> patch review ___ Python tracker ___

[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2018-04-18 Thread Thomas Wouters
Thomas Wouters added the comment: We ran into this at work, with Python 3.6, where it involved extension types with a reference to files, with the (open) files being deallocated during interpreter exit and raising ResourceWarnings because of that. I tried to create a

[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2016-01-19 Thread Min RK
Changes by Min RK : Added file: http://bugs.python.org/file41659/main.py ___ Python tracker ___

[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2016-01-19 Thread Min RK
Changes by Min RK : Added file: http://bugs.python.org/file41658/b.py ___ Python tracker ___

[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2016-01-19 Thread Min RK
Changes by Min RK : Added file: http://bugs.python.org/file41657/a.py ___ Python tracker ___

[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2016-01-19 Thread Min RK
New submission from Min RK: PyImport_GetModuleDict: no module dictionary! can be raised during interpreter shutdown if a `__del__` method results in a warning. This only happens on Python 3.5. The prompting case is IPython 4.0.2 and traitlets 4.1.0. An IPython ExtensionManager calls

[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2016-01-19 Thread Matthias Bussonnier
Changes by Matthias Bussonnier : -- nosy: +mbussonn ___ Python tracker ___ ___

[issue26153] PyImport_GetModuleDict: no module dictionary! when `__del__` triggers a warning

2016-01-19 Thread SilentGhost
Changes by SilentGhost : -- nosy: +brett.cannon ___ Python tracker ___ ___