[issue20602] sys.flags and sys.float_info disappear at shutdown

2019-06-02 Thread STINNER Victor
STINNER Victor added the comment: Honestly, I'm not sure that this issue is really a major bug. I don't think that it's worth it to backport the change. It's more a subtle change in Python finalization which is super fragile code. I prefer to only change the master branch, so I close the

[issue20602] sys.flags and sys.float_info disappear at shutdown

2019-05-30 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 249b7d59d8038f9017fc95dc28a3ce3494aaf832 by Petr Viktorin (Zackery Spytz) in branch 'master': bpo-20602: Do not clear sys.flags and sys.float_info during shutdown (GH-8096)

[issue20602] sys.flags and sys.float_info disappear at shutdown

2018-12-09 Thread Zackery Spytz
Zackery Spytz added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20602] sys.flags and sys.float_info disappear at shutdown

2018-07-04 Thread Zackery Spytz
Zackery Spytz added the comment: This behaviour is present in 2.7. -- nosy: +ZackerySpytz versions: +Python 2.7, Python 3.6, Python 3.7, Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker

[issue20602] sys.flags and sys.float_info disappear at shutdown

2018-07-04 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +7695 stage: -> patch review ___ Python tracker ___ ___

[issue20602] sys.flags and sys.float_info disappear at shutdown

2015-03-09 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20602 ___ ___

[issue20602] sys.flags and sys.float_info disappear at shutdown

2015-03-09 Thread STINNER Victor
STINNER Victor added the comment: I don't understand this bug report. Can you elaborate? What is the current behaviour? What is the expected behaviour? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20602

[issue20602] sys.flags and sys.float_info disappear at shutdown

2015-03-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: The behaviour is explained in the subject line and in the linked changeset: for some reason sys.flags and sys.float_info are explicitly wiped during shutdown. But those are simple immutable objects, there is no reason to wipe them. The expected behaviour is,

[issue20602] sys.flags and sys.float_info disappear at shutdown

2015-03-09 Thread STINNER Victor
STINNER Victor added the comment: sys_at_exit.py: script to reproduce the issue. The changeset 9639a73afa47 explicitly added sys.flags and sys.float_info to sys_deletes, list of symbols that must be cleared at exit. So if I understand correctly the issue, the question is why the change was

[issue20602] sys.flags and sys.float_info disappear at shutdown

2015-03-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: I really don't care about 2.7 for minor fixes is the reason why :-) (also, I don't know if the bug exists there in the first place) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20602

[issue20602] sys.flags and sys.float_info disappear at shutdown

2015-03-09 Thread STINNER Victor
STINNER Victor added the comment: @Antoine: Can you maybe propose a patch to fix this issue? I see that you selected Python 3.4 3.5. Why Python 3.4 and not 2.7? (Maybe fixing Python 3.5 is enough?) -- ___ Python tracker rep...@bugs.python.org

[issue20602] sys.flags and sys.float_info disappear at shutdown

2014-02-12 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20602 ___ ___ Python-bugs-list

[issue20602] sys.flags and sys.float_info disappear at shutdown

2014-02-11 Thread Antoine Pitrou
New submission from Antoine Pitrou: For some reason they are wiped to fix so-called reference leaks: http://hg.python.org/cpython/rev/9639a73afa47/ This changeset is one of the culprits of the problems in issue19255. -- components: Interpreter Core messages: 211001 nosy: