[Python-3000] Octal
Barry Warsaw
barry at python.org
Wed Mar 14 14:17:07 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mar 14, 2007, at 2:22 AM, Raymond Hettinger wrote:
> Nope. Just drop them from Python 3000. No one (except Greg) will
> miss them.
> The 2-to-3 tool can convert 0123 constants to decimal or hex. Any
> need to
> process external octal value can already be done explicitly through:
> int(octstring, 8).
os.mkdir('/tmp/foo', int('02755', 8))
- -Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iQCVAwUBRff103EjvBPtnXfVAQJyCAP/WfF/zjH5RgHS1rBlSIvVElI8u/iqFGVs
xRrszWaIUkL3665BhzaFjgvqJE3/Cxx3Hcs308uaBicefzy2daR8o+bX+81xKNIU
23BY3BgQAMOR6nDYP4ZtdeWUm5pDvOJuWGKuasn/GaLUASusP35EzrT6uOYF4wQc
NuhIkEOveV0=
=KQc3
-----END PGP SIGNATURE-----
More information about the Python-3000
mailing list