__str__ vs. __repr__

Phil Hunt philh at vision25.demon.co.uk
Sat Nov 13 08:31:19 EST 1999


In article <01fd01bf2dce$d2c03cf0$f29b12c2 at secret.pythonware.com>
           fredrik at pythonware.com "Fredrik Lundh" writes:
> 2) what's the reason byte code cannot be used to recover
> the original source code

Perhaps because two different (but obviously functionally
identical and very similar) source codes could produce the same
byte code.

-- 
Phil Hunt - - - - - - - - -  philh at vision25.demon.co.uk
Moore's Law: processor speed doubles every 18 months
Gates' Law: software speed halves every 18 months





More information about the Python-list mailing list