On May 7, 2010, at 9:09 AM, A.M. Kuchling wrote: > You can re-enable display of :exc:`DeprecationWarning` messages by > running Python with the :option:`-Wdefault` (short form: > :option:`-Wd`) switch, or you can add > ``warnings.simplefilter('default')`` to your code. The new PYTHONWARNINGS env var also needs mentioning here, how's about: You can re-enable display of :exc:`DeprecationWarning` messages by either running Python with the :option:`-Wdefault` (short form: :option:`-Wd`) switch or by setting the :envvar:`PYTHONWARNINGS` environment variable to "default" (or "d") before running Python. Python code can also re-enable them by calling ``warnings.simplefilter('default')``. -- Philip Jenvey
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4