Proposal: Inline Import

"Martin v. Löwis" martin at v.loewis.de
Sun Dec 11 05:25:39 EST 2005


Shane Hathaway wrote:
> Do you have any ideas on how to improve the process of maintaining
> imports?  Benji's suggestion of jumping around doesn't work for moving
> code and it interrupts my train of thought.  Sprinkling the code with
> import statements causes a speed penalty and a lot of clutter.

You didn't detail your implementation strategy for that feature very
much, but the most natural way of implementing it would also cause the
same speed penalty as sprinkled import statements.

Regards,
Martin



More information about the Python-list mailing list