Message260230
It's mostly for consistency. For example, ``int(x, 0)`` is defined by the docs as "interpret x as in a literal". Other bases have special cases as well, e.g. "0x" is accepted by base 16.
In the current version of the conversions, the string is scanned for "_" before doing the more expensive allocation+copy. |
|
Date |
User |
Action |
Args |
2016-02-13 11:21:19 | georg.brandl | set | recipients:
+ georg.brandl, mark.dickinson, petr.viktorin, skrah, ethan.furman, serhiy.storchaka, yselivanov |
2016-02-13 11:21:19 | georg.brandl | set | messageid: <1455362479.16.0.624792957512.issue26331@psf.upfronthosting.co.za> |
2016-02-13 11:21:19 | georg.brandl | link | issue26331 messages |
2016-02-13 11:21:18 | georg.brandl | create | |
|