]> granicus.if.org Git - python/commit
Fix os.get_exec_path() (code and tests) for python -bb
authorVictor Stinner <victor.stinner@haypocalc.com>
Thu, 19 Aug 2010 17:10:18 +0000 (17:10 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Thu, 19 Aug 2010 17:10:18 +0000 (17:10 +0000)
commit38430e2dffa3fd9d1648681f3b705917631bdc9a
tree29e3b4d324aae125d5468a0eb17253d1e9dc5363
parent9802b39c12712e924bed699812756ce5076b77a3
Fix os.get_exec_path() (code and tests) for python -bb

Catch BytesWarning exceptions.
Lib/os.py
Lib/test/test_os.py