[Patches] [ python-Patches-1144636 ] Make OpenerDirector instances pickle-able

SourceForge.net noreply at sourceforge.net
Sun Feb 20 03:48:46 CET 2005


Patches item #1144636, was opened at 2005-02-20 02:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1144636&group_id=5470

Category: Library (Lib)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: John J Lee (jjlee)
Assigned to: Nobody/Anonymous (nobody)
Summary: Make OpenerDirector instances pickle-able

Initial Comment:
urllib2.OpenerDirector would be pickleable if it were
not for the fact that a couple of urllib2 handlers
(which build_opener() adds by default) have function
instance attributes.

It's trivial to replace these instance attributes with
a method that delegates to the appropriate function,
thus allowing pickling.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1144636&group_id=5470


More information about the Patches mailing list