[issue22017] Bad reference counting in the _warnings module

2014-07-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8106f91fccd6 by Benjamin Peterson in branch '2.7': correct ref counting of default_action (closes #22017) http://hg.python.org/cpython/rev/8106f91fccd6 -- nosy: +python-dev resolution: -> fixed stage: -> resolved status: open -> closed __

[issue22017] Bad reference counting in the _warnings module

2014-07-20 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue22017] Bad reference counting in the _warnings module

2014-07-20 Thread Xavier de Gaye
Xavier de Gaye added the comment: > The same kind of fix should also be applied to '_once_registry' and > '_filters'. Oops, no they are correctly refcounted. -- ___ Python tracker

[issue22017] Bad reference counting in the _warnings module

2014-07-20 Thread Xavier de Gaye
New submission from Xavier de Gaye: $ ./python Python 2.7.8+ (2.7:5563f895b215, Jul 20 2014, 18:10:28) [GCC 4.9.0 20140521 (prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import warnings >>> warnings.defaultaction = 'default' >>> warnings.warn('