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/ -------------- 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>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4