On Thu, Nov 21, 2013 at 4:17 PM, Nick Coghlan <ncogh...@gmail.com> wrote:
> Skipping saving _source under -OO would probably be a good thing, but
> otherwise it's a public API with the usual backwards compatibility
> guarantees.

One alternative might be to make it a property that re-generates the
source (you just need self.__class__.__name__ and self._fields).

-eric
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to