[Python-3000] Octal (original) (raw)

Jeff Bauer jbauer at rubic.com
Thu Mar 15 03:36:05 CET 2007


Patrick Maupin wrote:

1) int('042') will keep evaluating to 42 (it does that right now)

Argh. Brain flatulence.

2) x = 042 will raise a SyntaxError

#2 is what I meant.

3) If this is a huge mistake, we can easily fix it before 2017.

Agreed that it's easier to fix than something like integer division, but it would be nice to address in 2to3 (when there's already some understanding of backward incompatibility) than in 3.0 -> 3.1.

-- Jeff Bauer Rubicon, Inc.



More information about the Python-3000 mailing list