Message79604
| Author | mark.dickinson |
|---|---|
| Recipients | aronacher, benjamin.peterson, mark.dickinson |
| Date | 2009-01-11.17:33:54 |
| SpamBayes Score | 0.015267146 |
| Marked as misclassified | No |
| Message-id | <1231695235.49.0.880998736303.issue4907@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I'm not sure that this is desirable behaviour. There's no such thing as a
complex literal---only imaginary literals. Why allow evaluation of 2+1j
but not of 2 + 1, or 2*1j.
In any case, I'm not sure that the patch behaves as intended. For
example,
>>> ast.literal_eval('2 + (3 + 4j)')
(5+4j) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2009-01-11 17:33:55 | mark.dickinson | set | recipients: + mark.dickinson, benjamin.peterson, aronacher |
| 2009-01-11 17:33:55 | mark.dickinson | set | messageid: <1231695235.49.0.880998736303.issue4907@psf.upfronthosting.co.za> |
| 2009-01-11 17:33:54 | mark.dickinson | link | issue4907 messages |
| 2009-01-11 17:33:54 | mark.dickinson | create | |