Re: random.py

2007-04-26 Thread Gabriel Genellina
En Thu, 26 Apr 2007 02:08:42 -0300, Bill Jackson <[EMAIL PROTECTED]> escribió: > In random.py (Python 2.5.1), line 86 says: > > VERSION = 2# used by getstate/setstate > > Then, in the definition of Random.setstate, we have: > > if version == 2: > >

random.py

2007-04-25 Thread Bill Jackson
In random.py (Python 2.5.1), line 86 says: VERSION = 2# used by getstate/setstate Then, in the definition of Random.setstate, we have: if version == 2: Why is it not: if version == self.VERSION: -- http://mail.python.org/mailman/listinfo/python-list