[New-bugs-announce] [issue10119] test_urllibnet failure when using support.transient_internet

Senthil Kumaran report at bugs.python.org
Sat Oct 16 04:04:39 CEST 2010

New submission from Senthil Kumaran <orsenthil at gmail.com>:

I am attaching the script which exhibits the problem.

wrapping the urllib.request.urlopen, with the support.transient_internet contextmanager exhibits an Unexpected Behavior. Without the context manager, reading the file using the filedescriptor succeeds, but when wrapping it with the context manager, it fails with a TypeError.

files: simple_test.py
messages: 118852
nosy: orsenthil
priority: normal
severity: normal
stage: needs patch
status: open
title: test_urllibnet failure when using support.transient_internet
type: behavior
Added file: http://bugs.python.org/file19248/simple_test.py

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list