Brett Cannon <br...@python.org> added the comment:
On Thu, Apr 15, 2010 at 14:56, Ãric Araujo <rep...@bugs.python.org> wrote:
That's fine with me if someone wrote a patch that did that.
----------
title: __import__ with fromlist=[''] causes double initialization of modules ->
__import__ with fromlist=
Added file: http://bugs.python.org/file16936/unnamed
_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue2090>
_______________________________________
<br><br><div class="gmail_quote">On Thu, Apr 15, 2010 at 14:56, Ãric Araujo
<span dir="ltr"><<a
href="mailto:rep...@bugs.python.org">rep...@bugs.python.org</a>></span>
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Ãric Araujo <<a href="mailto:mer...@netwok.org">mer...@netwok.org</a>>
added the comment:<br>
<br>
Since ``from pkg import`` makes no sense, would it be okay if __import__ with
an empty fromlist or slashes raised an error?<br>
<br></blockquote><div><br></div><div>That's fine with me if someone wrote a
patch that did that.</div></div>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com