[issue5907] repr of time.struct_time type does not eval

2009-05-03 Thread John Morton
John Morton j...@angrymonkey.net.nz added the comment: While it's true that repr() methods cannot generally be expected to eval back into an object of the same type, the old repr behaviour of the struct_time object did effectively do so. Admittedly it was a kludge due to the time module

[issue5907] repr of time.struct_time type does not eval

2009-05-02 Thread John Morton
New submission from John Morton j...@angrymonkey.net.nz: The output of repr on an object of type time.struct_time has changed from 2.5 to 2.6, and can no longer be read in with an eval. 2.5 behaviour: Python 2.5.4 (r254:67916, Apr 4 2009, 17:55:16) [GCC 4.3.3] on linux2 Type help, copyright