Georg Brandl added the comment: Adding a special case for Decimal isn't as well justified as one for None -- after all it is a fundamental singleton. (Also, None is encoded without lossy conversion.)
The encoder/decoder are already extensible by extending Marshaller.dispatch and Unmarshaller.dispatch. ---------- nosy: +georg.brandl resolution: -> rejected status: pending -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11084> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com