Georgiy Treyvus added the comment:

I realized my mistake too late. It should have been

if sys.version_info[0]==2:

On the other hand

if sys.version_info==2:

while syntactically correct wasn't semantically correct.

My apologies for wasting your time and for my stupidity.

----------

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

Reply via email to