Georg Brandl schrieb: > Guido van Rossum schrieb: >> PEP 3127 (Integer Literal Support and Syntax) introduces new notations >> for octal and binary integers. This isn't implemented yet. Are there >> any takers? It shouldn't be particularly complicated. > > Okay, it's done. > > I'll be grateful for reviews. I've also removed traces of the "L" literal > suffix where I encountered them, but may not have gotten them all.
Ah, one thing in the PEP I haven't implemented is the special helpful syntax error message if you have an old-style octal literal in your code. If someone who wouldn't have to dig into tokenizer/parser details could do that, I'd be grateful :) Georg -- Thus spake the Lord: Thou shalt indent with four spaces. No more, no less. Four shall be the number of spaces thou shalt indent, and the number of thy indenting shall be four. Eight shalt thou not indent, nor either indent thou two, excepting that thou then proceed to four. Tabs are right out. _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com