Message269500
...but hopefully not the last. People are playing (with BDFL's blessing) with the idea of types having just (qual)name as str.
By "first stdlib case" you mean "first builtin case", right? fractions.Fraction and decimal.Decimal are in stdlib. :-)
Yes, not all classes can (nor should) support the strong "literal_eval being left-inverse of repr" invariant, but IMO builtin value-like (having a meaningful ==/hash infrastructure separate from identity) classes should. Numbers are surely in that camp. |
|
Date |
User |
Action |
Args |
2016-06-29 14:21:39 | veky | set | recipients:
+ veky, mark.dickinson, r.david.murray |
2016-06-29 14:21:39 | veky | set | messageid: <1467210099.55.0.50239453039.issue27363@psf.upfronthosting.co.za> |
2016-06-29 14:21:39 | veky | link | issue27363 messages |
2016-06-29 14:21:38 | veky | create | |
|