A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-February/013004.html below:

[Python-Dev] Those import related syntax errors again...

[Python-Dev] Those import related syntax errors again...Thomas Wouters thomas@xs4all.net
Tue, 20 Feb 2001 13:30:45 +0100
On Tue, Feb 20, 2001 at 11:12:23PM +1100, Mark Hammond wrote:
> Hi all,
> 	I'm a little confused by the following exception:

>   File "f:\src\python-cvs\xpcom\server\policy.py", line 18, in ?
>     from xpcom import xpcom_consts, _xpcom, client, nsError,
> ServerException, COMException

> exceptions.SyntaxError: BuildInterfaceInfo: exec or 'import *' makes names
> ambiguous in nested scope (__init__.py, line 71)

[ However, no 'from foo import *' to be found, except at module level ]

> Any clues?

I don't have the xpcom package, so I can't check myself, but have you
considered 'exec' as well as 'from foo import *' ? 

-- 
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