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
http://www.haypocalc.com/blog/

Attachment: fix_getcwdu.py
Description: application/python

_______________________________________________
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

Reply via email to