[New-bugs-announce] [issue4496] misleading comment in urllib2

John J Lee report at bugs.python.org
Tue Dec 2 22:07:39 CET 2008


New submission from John J Lee <jjlee at users.sourceforge.net>:

r54137 replaced a comment in urllib2.py with a misleading comment.  The
comment now implies the .insort() in question achieves the goal
specified in the new comment.  That's not true, which was the reason the
original comment was there in the first place.

At least replace the comment with the original comment.  Alternatively,
(correctly) resolve the question in the original comment somehow (for
example by removing the .handlers attribute -- but since .handlers is
misnamed in not having an initial underscore, it may have tempted people
to use it, even though it's undocumented, hence private).

----------
messages: 76783
nosy: jjlee
severity: normal
status: open
title: misleading comment in urllib2

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


More information about the New-bugs-announce mailing list