[Python-Dev] Is anyone porting PyNumber_ToBase to trunk? (original) (raw)

Guido van Rossum guido at python.org
Thu Jan 24 23:11:39 CET 2008


On Jan 24, 2008 12:40 PM, Eric Smith <eric+python-dev at trueblade.com> wrote:

The spreadsheet notes a possible future statement requirement for oct(). The PEP doesn't mention this, and I'm not sure I understand the issue. Any clues?

You can't change the default oct() to return '0o123'; but perhaps you could import a different version that returned that instead of the default '0123'.

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list