Eric Snow <ericsnowcurren...@gmail.com> added the comment:

That's a good idea.  It's certainly cleaner than the approach I took 
(optionally pass in to marshal.dumps() the list of "before" object/refcount 
pairs to compare in w_ref()).

Adding a flag to marshal.dumps() to opt out shouldn't be too big a deal.  (I 
expect all users of marshal will want the improvement by default.)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45186>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to