New submission from Senthil Kumaran <[email protected]>: 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 <[email protected]> <http://bugs.python.org/issue10119> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
