[Python-checkins] python/dist/src/Lib copy_reg.py,1.13,1.14

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Mon, 03 Feb 2003 16:21:09 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv2555/Lib

Modified Files:
	copy_reg.py 
Log Message:
Brought some module variables into synch with pickle.py's current values.
Imported the extension-registry dicts from copy_reg.py, in preparation for
tackling EXT[124].


Index: copy_reg.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/copy_reg.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** copy_reg.py	1 Feb 2003 02:16:36 -0000	1.13
--- copy_reg.py	4 Feb 2003 00:21:06 -0000	1.14
***************
*** 82,85 ****
--- 82,87 ----
  inverted_registry = {}                  # code -> key
  extension_cache = {}                    # code -> object
+ # Don't ever rebind those names:  cPickle grabs a reference to them when
+ # it's initialized, and won't see a rebinding.
  
  def add_extension(module, name, code):