A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-May/125902.html below:

[Python-Dev] PyPy, Jython, & IronPython: Enum convenience function and pickleablity

[Python-Dev] PyPy, Jython, & IronPython: Enum convenience function and pickleablityAntoine Pitrou solipsis at pitrou.net
Thu May 2 23:28:21 CEST 2013
On Thu, 2 May 2013 14:15:40 -0700
Eli Bendersky <eliben at gmail.com> wrote:
> 
> Sorry, but I do find the argument "let's not have a convenience syntax
> because enums created with such syntax won't pickle properly from within a
> debugger" not convincing enough :-)

Eli, it would be nice if you stopped with this claim.

I'm not advocating "not having a convenience syntax", I'm advocating
having a convenience syntax which is *class-based* rather than
function-based.

Debuggers are beside the point: there are two kinds of "convenience
syntax" on the table; one allows pickling by construction, one
requires an ugly hack which may not solve all cases (and which may
apparently make Jython / IronPython mildly unhappy). Why you insist
on ignoring the former and imposing the latter is beyond me.

Regards you

Antoine.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4