A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-July/080889.html below:

[Python-Dev] Can someone check my lib2to3 change for fix_imports?

[Python-Dev] Can someone check my lib2to3 change for fix_imports?Collin Winter collinw at gmail.com
Wed Jul 2 18:30:14 CEST 2008
On Tue, Jul 1, 2008 at 7:38 PM, Benjamin Peterson
<musiccomposition at gmail.com> wrote:
> On Tue, Jul 1, 2008 at 9:04 PM, Brett Cannon <brett at python.org> wrote:
>> I just committed r64651 which is my attempt to add support to
>> fix_imports so that modules that have been split up in 3.0 can be
>> properly fixed. 2to3's test suite passes and all, but I am not sure if
>> I botched it somehow since I did the change slightly blind. Can
>> someone just do a quick check to make sure I did it properly? Also,
>> what order should renames be declared to give priority to certain
>> renames (e.g., urllib should probably be renamed to urllib.requeste
>> over urllib.error when not used in a ``from ... import`` statement).
>
> Well for starters, you know the test for fix_imports is disabled, right?

Why was this test disabled, rather than fixed? That seems a rather
poor solution to the problem of it taking longer than desired to run.

Collin
More information about the Python-Dev mailing list

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