Numeric literal syntax
Alan G Isaac
alan.isaac at gmail.com
Sun Sep 7 01:30:03 CEST 2008
> bearophileHUGS at lycos.com writes:
>> For Python 2.7/3.1 I'd now like to write a PEP regarding the
>> underscores into the number literals, like: 0b_0101_1111, 268_435_456
> +1 on such a capability.
> -1 on underscore as the separator.
On 9/1/2008 9:13 PM Ben Finney apparently wrote:
> When you proposed this last year, the counter-proposal was made
> to instead use white space for the separator, exactly as one can now
> do with string literals.
Repeating a mistake means two mistakes.
But I would hate less the use of nobreak spaces,
since any decent editor can reveal them.
More information about the Python-list