[Python-Dev] 2to3 bug fixes

Victor Stinner victor.stinner at haypocalc.com
Fri Oct 3 00:36:29 CEST 2008

Le Friday 03 October 2008 00:13:16 Benjamin Peterson, vous avez écrit :
> What should the policy on 2to3 bug fixes be for the maintenance
> branch? I'm asking because I remember vaguely someone suggesting that
> new 2to3 fixers could fit into that category.

Python3 removes os.getcwdu() and introduces os.getcwdb(). A fixer should 
replace "os.getcwdu()" to "os.getcwd()". See for example attached fixer 
(which also replaced "getcwdu()" to "getcwd()").

Victor Stinner aka haypo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_getcwdu.py
Type: application/x-python
Size: 572 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20081003/2435b3c2/attachment.bin>

More information about the Python-Dev mailing list