[Python-Dev] [Python-checkins] r85902 - in python/branches/py3k/Lib: os.py test/test_os.py

Victor Stinner victor.stinner at haypocalc.com
Thu Nov 4 12:16:17 CET 2010


On Wednesday 03 November 2010 23:12:01 Nick Coghlan wrote:
> On Thu, Nov 4, 2010 at 1:01 AM, Benjamin Peterson <benjamin at python.org> 
wrote:
> > 2010年11月3日 Nick Coghlan <ncoghlan at gmail.com>:
> >> On Wed, Nov 3, 2010 at 10:19 PM, Benjamin Peterson <benjamin at python.org> 
wrote:
> >>> Warnings is loaded every time anyway.
> >> 
> >> I would have agreed with you, but the contents of sys.modules in a
> >> just-started interactive interpreter suggests that isn't true any more
> >> (which surprised me).
> > 
> > Is that perhaps because of _warnings?
>> I suspect it's a combination of that and the patch to allow
> non-blocking module imports (which turns some things that would
> previously have been deadlocks into runtime exceptions).

So do you still think that I should patch the os module to use a global import 
or not?
Victor


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /