[issue17724] urllib -- add_handler method refactoring for clarity

Max Mautner report at bugs.python.org
Sat Apr 13 23:17:28 CEST 2013


New submission from Max Mautner:

Response handlers are registered with the OpenerDirector class in the urllib.request module using the add_handler method--it's a convoluted method that I refactored for legibility's sake.

----------
files: urllib_add_handler.patch
keywords: patch
messages: 186853
nosy: Max.Mautner
priority: normal
severity: normal
status: open
title: urllib -- add_handler method refactoring for clarity
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file29831/urllib_add_handler.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17724>
_______________________________________


More information about the Python-bugs-list mailing list