<div dir="ltr">On Fri, Aug 9, 2013 at 1:22 PM, Antoine Pitrou <span dir="ltr"><<a href="mailto:solipsis@pitrou.net" target="_blank">solipsis@pitrou.net</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><span style="color:rgb(34,34,34)">Well, is there another way to use load() than:</span><br></div>
- load(): load a new module<br>
- load(existing_module, is_reload=True): reload an existing module<br>
<br>
I mean, does it make sense to call e.g.<br>
- load(some_existing_module, is_reload=False)<br></blockquote><div><br></div><div>This would be a ValueError.  The module argument is meant just for reload.  I'm not sure it makes sense otherwise.  Perhaps so you could prepare your own new module prior to calling load()?  I'd like to leave that off the table for this PEP.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- load(is_reload=True)<br></blockquote><div><br></div><div>This was always okay in my mind, but I realized it did not make it to the PEP until Brett had some similar questions. :)  The updated PEP covers this.  Like I told Brett, I'm going to see how a separate reload() looks and go from there.</div>
<div><br></div><div>-eric</div></div></div></div>