Bob Ippolito <b...@redivi.com> added the comment:

It is common to specify a default function but it would be terrible for 
performance if this function was called for every single object passed 
through to the decoder.

If you want a serialization different from a primitive type you'll have to  
choose a different base class.

----------
resolution:  -> wont fix

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5535>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to