[Tutor] Looks like a judgment bug.

w qj after1990s at gmail.com
Thu Apr 11 12:41:37 CEST 2013


I found this under Windows Python3
>>> l="http://f/"
>>> l[-1] is not '/'
False
>>>

and this under Linux Python3
>>> l = "http://ff.f/"
>>> l[-1]
'/'
>>> l[-1] is not '/'
True

It's Looks like a python bug?


More information about the Tutor mailing list