On Tue, 02 Sep 2008 11:13:27 +1000, Ben Finney wrote:
[EMAIL PROTECTED] 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_, 268_435_456
etc.
+1 on such a capability.
-1 on underscore as the separator.
When
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Ben Finney:
I don't see any good reason (other than your familiarity with the D
language) to use underscores for this purpose, and much more reason
(readability, consistency, fewer arbitrary differences in syntax,
perhaps simpler implementation)
On 02 Sep 2008 06:10:51 GMT, Steven D'Aprano wrote:
At the risk of bike-shedding,
[snip]
(startled noises) It is a delight to find a reference to
that half-century-old essay (High Finance) by the wonderful
C. Northcote Parkinson, but how many readers will catch the
allusion?
--
To email me,
On Sep 2, 6:35 am, Nick Craig-Wood [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
It's not just my familiarity, Ada language too uses underscore for
that purpose, I think, so there's a precedent, and Ada is a language
designed to always minimize programming errors,
[EMAIL PROTECTED] 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_, 268_435_456
etc.
+1 on such a capability.
-1 on underscore as the separator.
When you proposed this last year, the counter-proposal was made
Ben Finney:
I don't see any good reason (other than your familiarity with the D
language) to use underscores for this purpose, and much more reason
(readability, consistency, fewer arbitrary differences in syntax,
perhaps simpler implementation) to use whitespace just as with string
literals.