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/2013-September/128399.html below:

[Python-Dev] Details of "import lock" in 3.3

[Python-Dev] Details of "import lock" in 3.3 [Python-Dev] Details of "import lock" in 3.3Antoine Pitrou solipsis at pitrou.net
Fri Sep 6 19:06:21 CEST 2013
On Fri, 06 Sep 2013 18:02:32 +0200
Jesus Cea <jcea at jcea.es> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 06/09/13 17:43, Antoine Pitrou wrote:
> > Quick summary here: 
> > http://docs.python.org/3/whatsnew/3.3.html#a-finer-grained-import-lock
> >
> >  Otherwise, I'm afraid the source code has the most information,
> > e.g.: 
> > http://hg.python.org/cpython/file/1d88d04aade2/Lib/importlib/_bootstrap.py#l124
> 
> Yes,
> > 
> I was depending of the global import lock in my code. I am
> evaluating impact under Python 3.3.
> 
> Under Python 3.3, metafinder/loader MUST BE reentrant?.

No, they shouldn't have to. Normally, the global import lock is still
held at this point. However, it is best to check the code if you want
to be sure.

Regards

Antoine.


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