Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 44038:d44fffda2cd0 legacy-trunk
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.
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Tue, 27 Nov 2007 23:16:44 +0000 |
| parents | 708c8c5fc173 |
| children | 4417ab5b351e |
