Re: [Python-Dev] Octal literals

2006-01-31 Thread mattheww
Andrew Koenig <[EMAIL PROTECTED]> wrote: >> Possibly os.chmod and os.umask could be extended to take a string >> argument so we could write chmod(path, "0640"). > >-1. > >Would you really want chmod(path, 0640) and chmod(path, "0640") to have >different meanings? I want the former to be a syntax

[Python-Dev] Octal literals

2006-01-31 Thread mattheww
Guido van Rossum <[EMAIL PROTECTED]> wrote: >Right. And this is not a hypothetical issue either -- in Perl, hex and >oct *do* work the other way I believe. More reasons to get rid of >these in Python 3000. Perhaps we should also get rid of hex/oct >lterals? I would like to argue for removing oct