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/2009-February/085957.html below:

[Python-Dev] clarifying PEP 302 loader responsibilities upon failure

[Python-Dev] clarifying PEP 302 loader responsibilities upon failure [Python-Dev] clarifying PEP 302 loader responsibilities upon failurebcannon at gmail.com bcannon at gmail.com
Mon Feb 9 22:56:35 CET 2009
Guido and I were discussing what a loader should be responsible for when  
load_module is called and an exception is raised in relation to sys.modules  
as PEP 302 says nothing about the topic.

We both agree that if the loader added a module to sys.modules it should be  
removed, otherwise it should be left alone.

Assuming no one disagrees I will update the PEP to specify that this is the  
expected job of loaders.

-Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20090209/85e8d837/attachment.htm>
More information about the Python-Dev mailing list

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