classification
Title: Fix_imports pattern optimization
Type: performance Stage:
Components: 2to3 (2.x to 3.x conversion tool) Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: collinwinter Nosy List: collinwinter, nedds
Priority: normal Keywords: patch

Created on 2008-07-31 20:00 by nedds, last changed 2008-08-02 03:39 by collinwinter. This issue is now closed.

Files
File name Uploaded Description Edit
fix_imports_pattern.diff nedds, 2008-07-31 20:00 Fix_imports.py with improved pattern
Messages (2)
msg70528 - (view) Author: Nick Edds (nedds) Date: 2008-07-31 20:00
Here is a substantial improvement to the pattern for fix_imports. It
significantly reduces the size of the previous pattern and represents it
in a more reasonable way. It still passes all of the tests and it also
makes 2to3 roughly two to three times as fast based on the results of
some basic testing.
msg70618 - (view) Author: Collin Winter (collinwinter) * (Python committer) Date: 2008-08-02 03:39
Committed as r65397. Nice work!
History
Date User Action Args
2008-08-02 03:39:45collinwintersetstatus: open -> closed
resolution: fixed
messages: + msg70618
2008-07-31 20:00:03neddscreate