Message79733
| Author | aronacher |
|---|---|
| Recipients | aronacher, benjamin.peterson, georg.brandl, mark.dickinson |
| Date | 2009-01-13.11:34:52 |
| SpamBayes Score | 0.06716054 |
| Marked as misclassified | No |
| Message-id | <1231846493.91.0.109539323588.issue4907@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
literal_eval has eval() semantics and not complex() constructor semantics. It accepts what eval() accepts just without arithmetic and unsafe features. For exmaple "(2 + 4j)" is perfectly fine even though the complex call only supports "2+4j" (no parentheses and whitespace). I commit the fix with the ValueError except Georg suggested. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2009-01-13 11:34:54 | aronacher | set | recipients: + aronacher, georg.brandl, mark.dickinson, benjamin.peterson |
| 2009-01-13 11:34:53 | aronacher | set | messageid: <1231846493.91.0.109539323588.issue4907@psf.upfronthosting.co.za> |
| 2009-01-13 11:34:53 | aronacher | link | issue4907 messages |
| 2009-01-13 11:34:52 | aronacher | create | |