Message118096
Tested with version 3.2a2. Not tested on version 2.7.
The current implementation of functools.total_ordering generates a stack overflow because it implements the new comparison functions with inline operator, which the Python interpreter might reverse if "other" does not implement them. Reversing the comparison makes the interpreter call again the lambda function for comparison generating a stack overflow.
Run the attached test file for an example of this behavior. |
|
Date |
User |
Action |
Args |
2010-10-07 08:26:52 | francescor | set | recipients:
+ francescor |
2010-10-07 08:26:52 | francescor | set | messageid: <1286440012.74.0.624864175042.issue10042@psf.upfronthosting.co.za> |
2010-10-07 08:26:51 | francescor | link | issue10042 messages |
2010-10-07 08:26:50 | francescor | create | |
|