Proposal: Inline Import

Stephen Prinster prinster at mail.com
Fri Dec 9 22:16:42 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.
> 
> I'm actually quite surprised that others aren't bothered by the process
> of maintaining imports.  Perhaps the group hasn't spent time in Eclipse
> to see what a relief it is to have imports managed for you.  The
> difference isn't enough to make anyone jump ship to Java, but it's a
> real improvement.
> 
> Shane

Have you looked at py lib?  Particularly the py.std hook?

http://codespeak.net/py/current/doc/misc.html

It's not exactly what you want, but it might help you.  I must agree
with everyone else, though.  I have never felt a need for what you are
describing.

Steve Prinster



More information about the Python-list mailing list