On Fri, Aug 18, 2000 at 09:35:17AM +0200, Fredrik Lundh wrote: > thomas wrote: > > I have two remaining issues regarding the 'import as' statement, which I'm > > just about ready to commit. > has this been tested with import hooks? Not really, I'm afraid. I don't know how to use import hooks ;-P But nothing substantial changed, and I took care to make sure 'find_from_args' gave the same information, still. For what it's worth, the test suite passed fine, but I don't know if there's a test for import hooks in there. > what's passed to the __import__ function's fromlist argument > if you do "from spam import egg as bacon"? The same as 'from spam import egg', currently. Better ideas are welcome, of course, especially if you know how to use import hooks, and how they generally are used. Pointers towards the right sections are also welcome. -- Thomas Wouters <thomas@xs4all.net> Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
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