This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 2022-04-11 14:56 by admin. 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
2022-04-11 14:56:37adminsetgithub: 47730
2008-08-02 03:39:45collinwintersetstatus: open -> closed
resolution: fixed
messages: + msg70618
2008-07-31 20:00:03neddscreate