Christian Theune added the comment:

This is actually the same problem as #18879.

Changing the sample to keep a reference to the addinfourl object avoids this 
issue.

This is even worse than #18879 in the sense that the error goes undetected and 
just leaves you with partial data.

Looking at the solution in #18879 I think we can reuse that, maybe even better 
by refactoring that to a common file proxy object.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15002>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to