durusmail: quixote-users: [patch] _q_import
[patch] _q_import
[patch] _q_import
2002-12-02
2002-12-03
2002-12-03
2002-12-04
2002-12-07
2002-12-07
2002-12-09
2002-12-09
2002-12-05
[patch] _q_import
Jonathan Corbet
2002-12-07
> Alright.  However, if we introduce _q_import we should make it easier to
> use.  How about this:
> [...]
>         # next line is new
>         setattr(container, component, object)

I had thought about doing that when I did my patch, just wasn't sure if
Quixote should be setting symbols within modules it imports or not.  I'm
happy either way.

> That way the attribute gets set automatically.  I'm still not sure I
> like _q_import as a name.

> Maybe is should be something like _q_create_export.

_q_find_component?

jon

Jonathan Corbet
Executive editor, LWN.net
corbet@lwn.net

reply