[Python-Dev] SVN rev. 85392 broke module handling in py3k (original) (raw)
Benjamin Peterson benjamin at python.org
Fri Oct 22 16:41:09 CEST 2010
- Previous message: [Python-Dev] SVN rev. 85392 broke module handling in py3k
- Next message: [Python-Dev] SVN rev. 85392 broke module handling in py3k
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2010/10/22 <exarkun at twistedmatrix.com>:
Instances of classes don't refer to the module their class is defined in. It seems more likely that the reason the module is garbage collected is that there really is nothing which refers to it anymore.
Indeed, this is really a Python bug, but there's no good way to deal with it unless dictionaries can know they are module globals.
-- Regards, Benjamin
- Previous message: [Python-Dev] SVN rev. 85392 broke module handling in py3k
- Next message: [Python-Dev] SVN rev. 85392 broke module handling in py3k
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]