[Python-checkins] python/dist/src/Lib pickle.py,1.143,1.144 copy_reg.py,1.14,1.15

Tim Peters tim@zope.com
Mon, 3 Feb 2003 21:16:15 -0500


> Rename the extension registry variables to have leading underscores --
> this clarifies that they are part of an internal API (albeit shared
> between pickle.py, copy_reg.py and cPickle.c).

Good idea!

> I'd like to do the same for copy_reg.dispatch_table, but worry that it
> might be used by existing code.

Zope3's src/zodb/code/patch.py imports dispatch_table (as well as being the
only known caller of pickle.Pickler.save_empty_tuple()).  We should quiz
Jeremy about why he needs to cheat so badly here <0.5 wink>.