[Python-Dev] 2to3 status, repositories and HACKING guide (original) (raw)
Benjamin Peterson benjamin at python.org
Sun May 1 17:44:10 CEST 2011
- Previous message: [Python-Dev] 2to3 status, repositories and HACKING guide
- Next message: [Python-Dev] Not-a-Number (was PyObject_RichCompareBool identity shortcut)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2011/5/1 anatoly techtonik <techtonik at gmail.com>:
Is there any high-level overview of 2to3 tool that people can use as a quick start for writing their own fixers?
No.
Source doesn't explain much (to me at least), and some kind of "learn by example" would really help a lot. In particular, I find the syntax of tree matchers the most unclear part.
I think you can learn a lot by reading through the current fixers in lib2to3/fixers/.
-- Regards, Benjamin
- Previous message: [Python-Dev] 2to3 status, repositories and HACKING guide
- Next message: [Python-Dev] Not-a-Number (was PyObject_RichCompareBool identity shortcut)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]