[New-bugs-announce] [issue2458] Allow Python code to change Py3k warning flag

Benjamin Peterson report at bugs.python.org
Sat Mar 22 22:29:05 CET 2008


New submission from Benjamin Peterson <musiccomposition at gmail.com>:

This patch removed sys.py3kwarning and adds sys.getpy3kwarn,
sys.enablepy3kwarn, and sys.disablepy3kwarn with docs. I also changed
the places in the Lib which used sys.py3kwarning.

----------
files: change_py3kwarning.patch
keywords: patch
messages: 64339
nosy: benjamin.peterson
severity: normal
status: open
title: Allow Python code to change Py3k warning flag
type: feature request
versions: Python 2.6
Added file: http://bugs.python.org/file9818/change_py3kwarning.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2458>
__________________________________


More information about the New-bugs-announce mailing list