On 08/05/2014 16:07, Ian Kelly wrote:
........
The DataHandler class in 3.4 is all of 14 lines of code. My first
which makes me wonder why the old URLopener is still there and why all this
wasn't done before 3.0 appeared.
instinct would be to backport that and add it to some OpenerDirector
instance.
Using a director would be possible, but it's not much cleaner than special
casing the function and I don't have to worry about which opener to use; I use
the one provided by the user
--
Robin Becker
--
https://mail.python.org/mailman/listinfo/python-list