Message123088
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. |
|
Date |
User |
Action |
Args |
2010-12-02 17:54:31 | mark.dickinson | set | recipients:
+ mark.dickinson, lemburg, belopolsky, vstinner, eric.smith, ezio.melotti, skrah |
2010-12-02 17:54:31 | mark.dickinson | set | messageid: <1291312471.29.0.130265635062.issue10557@psf.upfronthosting.co.za> |
2010-12-02 17:54:27 | mark.dickinson | link | issue10557 messages |
2010-12-02 17:54:27 | mark.dickinson | create | |
|