On 1/31/06, 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?
Apart from making 0640 a syntax error (which I think is wrong too), could this be solved by *requiring* the argument to be a string? (Or some other data type, but that's probably overkill.) -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com