Antoine Pitrou <pit...@free.fr> added the comment:

Rather than explicit testing for sys.platform, a try...except would be
more flexible and more future-proof.

----------
nosy: +pitrou

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5287>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to