Eli Bendersky added the comment: On Fri, May 10, 2013 at 8:09 PM, Nick Coghlan <rep...@bugs.python.org>wrote:
> > Nick Coghlan added the comment: > > Two requests: > > 1. Lose the frame hack. With the explicit "module=__name__" API available, > the implicit fragile magic isn't necessary and leads to Enum instances that > may or may not support pickling depending on the implementation. Better to > say "if you use the functional API without passing the module name, your > Enum instances won't support pickling". > > Strong -1 from me on this. The PEP has been accepted. Feel free to raise this for discussion if you want to change the decision. With all due respect to IronPython, most users can write simpler code and have pickling work just fine. _______ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17947> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com