[issue10210] os.get_exec_path() should not produce any warning

2010-10-28 Thread STINNER Victor
STINNER Victor added the comment: Fixed by r85902. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-

[issue10210] os.get_exec_path() should not produce any warning

2010-10-27 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10210] os.get_exec_path() should not produce any warning

2010-10-26 Thread STINNER Victor
New submission from STINNER Victor : Using -b command line option, os.get_exec_path() always produce a warning. Example: $ ./python -b >>> import os: os.get_exec_path({'PATH': ''}) .../Lib/os.py:395: BytesWarning: Comparison between bytes and string path_listb = env[b'PATH'] [''] You can see