[PySide] pickling enums (again)

Christian Tismer tismer at stackless.com
Fri May 10 21:54:03 CEST 2013

On 10.05.13 20:42, Stephan Deibel wrote:
> Robin Dunn wrote:
>> Interesting.  I haven't been following this one, do you know if it is 
>> to be implemented as a Python module or will it be a new 
>> PyTypeObject  and corresponding C APIs?
> Doesn't look like it.  Seems it will be implemented in a standard lib 
> module called enum, if I am interpreting 
> http://www.python.org/dev/peps/pep-0435/ correctly.

I looked at the reference implementation, and in fact this looks
very nice and efficiently written in Python.
See ref435.py at https://bitbucket.org/stoneleaf/aenum/src

cheers - Chris

Christian Tismer             :^)   <mailto:tismer at stackless.com>
Software Consulting          :     Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121     :    *Starship* http://starship.python.net/
14482 Potsdam                :     PGP key -> http://pgp.uni-mainz.de
phone +49 173 24 18 776  fax +49 (30) 700143-0023
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
       whom do you want to sponsor today?   http://www.stackless.com/

More information about the PySide mailing list