Message123088
| Author |
mark.dickinson |
| Recipients |
belopolsky, eric.smith, ezio.melotti, lemburg, mark.dickinson, skrah, vstinner |
| Date |
2010年12月02日.17:54:27 |
| SpamBayes Score |
0.008461147 |
| Marked as misclassified |
No |
| Message-id |
<1291312471.29.0.130265635062.issue10557@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Is the stripping of whitespace necessary for this fix?
Currently, the complex constructor accepts whitespace both inside and outside the (optional) parentheses:
>>> complex(' ( 2+3j ) ')
(2+3j)
The classes of whitespace accepted in each position are the same. IIUC, with your patch, that consistency would be lost---is that right?
If the whitespace stripping isn't necessary then I'd prefer to leave that change for another issue. |
|