Differences between revisions 1 and 2
Revision 1 as of 2006-08-21 18:07:11
Size: 327
Editor: 38
Comment:
Revision 2 as of 2006-08-21 18:15:25
Size: 323
Editor: 38
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
- Program features that need to be changed
  - has_key changed to x in dict / dict.__contains__
  - apply() removed
Program features that need to be changed
  * has_key changed to x in dict / dict.__contains__
  * apply() removed
Line 8: Line 8:
- Infrastructure for automatic refactoring
  - tokenize module
  - Python 2.5 compile() return ast objects
Infrastructure for automatic refactoring
  * tokenize module
  * Python 2.5 compile() return ast objects

Converting Python 2.x code to Python 3.x code


Program features that need to be changed

  • has_key changed to x in dict / dict.contains

  • apply() removed

Infrastructure for automatic refactoring

  • tokenize module
  • Python 2.5 compile() return ast objects

Py3kConversionTools (last edited 2010-09-24 03:30:22 by ppp118-209-23-175)

Unable to edit the page? See the FrontPage for instructions.