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

Nick Coghlan ncoghlan at gmail.com
Tue Nov 2 23:38:12 CET 2010


On Tue, Nov 2, 2010 at 10:55 PM, Victor Stinner
<victor.stinner at haypocalc.com> wrote:
> I don't know how to ignore the BytesWarning without importing warning. How can
> I do that?

I was suggesting trying to fix the bootstrap issue so you could use a
top-level import, instead of working around it with a function level
import (which we've learned from experience is a recipe for later
reports from users of programs deadlocking on the import lock - we've
made lots of improvement to avoid such deadlocks, but still prefer to
avoid function level imports anyway).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list