from-import on non-module objects?

Tim Roberts timr at probo.com
Thu Feb 1 23:41:34 EST 2001


Hamish Lawson <hamish_lawson at yahoo.co.uk> wrote:

>Have there been thoughts on having from-import used on non-module
>objects in order to introduce attributes from a given object into the
>current scope?

Unless I misunderstood the explanation, I believe this exact thing is one
of the features being included in Python 2.1.
--
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list