]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Expose Py_Py3kWarningFlag as sys.py3kwarning as discussed in #1504
authorChristian Heimes <christian@cheimes.de>
Tue, 27 Nov 2007 23:16:44 +0000 (23:16 +0000)
committerChristian Heimes <christian@cheimes.de>
Tue, 27 Nov 2007 23:16:44 +0000 (23:16 +0000)
commit28104c58d2457e2b74245a49e703d020cc2489df
tree32607b7c0a2319ecff83e9ade5613a37d65a18d7
parent715ec1818de43836cffea50d5f4b5e53fc68a849
Expose Py_Py3kWarningFlag as sys.py3kwarning as discussed in #1504
Also added a warning.warnpy3k() as convenient method for Python 3.x related deprecation warnings.
Doc/library/warnings.rst
Lib/new.py
Lib/warnings.py
Misc/NEWS
Python/sysmodule.c