[Patches] [ python-Patches-698520 ] Iterator for urllib.URLOpener
SourceForge.net
noreply@sourceforge.net
Thu, 06 Mar 2003 22:22:19 -0800
Patches item #698520, was opened at 2003-03-06 01:37
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=698520&group_id=5470
Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Brett Cannon (bcannon)
Assigned to: Nobody/Anonymous (nobody)
Summary: Iterator for urllib.URLOpener
Initial Comment:
4 line patch to give urllib.URLOpener an iterator. Follows design of module and adds methods only if the file object used internally has __iter__ and adds 'next' only if __iter__ was added.
----------------------------------------------------------------------
>Comment By: Raymond Hettinger (rhettinger)
Date: 2003-03-07 01:22
Message:
Logged In: YES
user_id=80475
Looks good.
Tests out okay.
Use double quotes throughout.
Consider adding a news item, docs, and a test.
Assign back to me when you think it's ready to go.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=698520&group_id=5470