[Patches] [Patch #101859] copy_reg: raise TypeError used with class objects

noreply@sourceforge.net noreply@sourceforge.net
Tue, 10 Oct 2000 11:43:15 -0700


Patch #101859 has been updated. 

Project: 
Category: library
Status: Open
Summary: copy_reg: raise TypeError used with class objects

Follow-Ups:

Date: 2000-Oct-10 11:43
By: fdrake

Comment:
This patch adds some clarification to the module docstring and adds a test inside the coy_reg.pickle() function that causes it to raise TypeError with a useful message when a class is passed as the type.  This would have avoided the problem reported in bug #116295.

Assigned to Jeremy for approval since the release candidate has already gone out.
-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=101859&group_id=5470