On May 02, 2013, at 10:57 PM, Antoine Pitrou wrote:

>On Thu, 2 May 2013 13:48:24 -0700
>> The problem with (5) is this: you use some library that exports an
>> enumeration, and you want to use pickling. Now you depend on the way the
>> library implemented - if it used the convenience API, you can't pickle. If
>> it used the class API, you can.
>
>A good reason to ditch the function-based syntax.

Why?  Not everything is picklable.  Oh well.

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

Reply via email to