Patrick Maupin schrieb:
> This is what I think we agreed on :)
> 
> (except that I think that lowercase-only 'x', 'e', 'r' is a subject
> for a different PEP)
> 
> I don't have a PEP number for this yet, but I emailed it into the PEP
> editors yesterday.
> 
> I tried to cover the discussion about letting "0123" be a decimal
> integer, and the discussion about arbitrary bases, very carefully.
> 
> Please let me know if this is not what was decided or if there is
> additional information which should be in the PEP.

I just want to add that I've adapted and extended Thomas' original patch
for the 0o123 syntax. It should be pretty complete.

Open issues would probably be:
- should int("0755", 0) give 0o755? (IMO yes)
- what should "%#o" % 100 result in? "0144" or "0o144"?
- should oct(100) return "0144" or "0o144"?

Georg

_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to