Message316027
| Author | eric.smith |
|---|---|
| Recipients | eric.smith, gappleto97 |
| Date | 2018-05-01.22:52:33 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1525215153.55.0.682650639539.issue33402@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Your patch would break the usual and useful behavior of x == eval(repr(x)) >>> f = Fraction(1,2) >>> repr(f) 'Fraction(1, 2)' >>> eval(repr(f)) Fraction(1, 2) >>> f == eval(repr(f)) True Plus, I'm sure there's working code that would break as a result of this. I'd suggest having a utility function that provides the functionality that you're after. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-05-01 22:52:33 | eric.smith | set | recipients: + eric.smith, gappleto97 |
| 2018-05-01 22:52:33 | eric.smith | set | messageid: <1525215153.55.0.682650639539.issue33402@psf.upfronthosting.co.za> |
| 2018-05-01 22:52:33 | eric.smith | link | issue33402 messages |
| 2018-05-01 22:52:33 | eric.smith | create | |