Can a simple a==b 'hang' in and endless loop?
steve at REMOVEMEcyber.com.au
Thu Jan 19 09:43:04 CET 2006
Claudio Grondi wrote:
> Exactly this is what Python does under the hood when writing
> a = "some string"
> b = "some string"
> where a and b are actually, in terms of C, pointer to Python object data
> structures which provide strings as arrays where it is possible to say
> a, but ... if here
> print "True"
> _does not_ print True, the Python engine is definitely broken.
Why are you comparing C behaviour to Python behaviour?
What is the point of the discussion?
More information about the Python-list