]> granicus.if.org Git - python/commit
Issue #8766: Initialize _warnings module before importing the first module.
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 19 May 2010 20:40:50 +0000 (20:40 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 19 May 2010 20:40:50 +0000 (20:40 +0000)
commit7d79b8b7714b5e7d8a0582a07b5625c280c879c0
treebeb8d4f6b49623a468815c33febd040fa5301b11
parent5b08b4d230d95fe6a0b24dc45463e785a27fecd2
Issue #8766: Initialize _warnings module before importing the first module.
Fix a crash if an empty directory called "encodings" exists in sys.path.
Lib/test/test_warnings.py
Misc/NEWS
Python/_warnings.c
Python/pythonrun.c