Brett Cannon <[email protected]> added the comment:

On Thu, Apr 15, 2010 at 14:56, Éric Araujo <[email protected]> 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 <[email protected]>
<http://bugs.python.org/issue2090>
_______________________________________
<br><br><div class="gmail_quote">On Thu, Apr 15, 2010 at 14:56, Éric Araujo 
<span dir="ltr">&lt;<a 
href="mailto:[email protected]";>[email protected]</a>&gt;</span> 
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 
.8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
Éric Araujo &lt;<a href="mailto:[email protected]";>[email protected]</a>&gt; 
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&#39;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

Reply via email to