Author ncoghlan
Recipients amaury.forgeotdarc, barry, eli.bendersky, eric.snow, ethan.furman, ezio.melotti, gvanrossum, ncoghlan, pitrou, rhettinger
Date 2013-06-22.01:08:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CADiSq7dtDYqpYyvs7X1+D+cSsNzUny2i_u=qCqXuoc=cftKANA@mail.gmail.com>
In-reply-to <1371836159.69.0.175455919906.issue18264@psf.upfronthosting.co.za>
Content
Can I vote for something like "__builtin__" as the protocol, rather than
something entirely specific to serialisation? As in "return the most
appropriate builtin type with the same value"? Then a converter
("operator.builtin"?) could coerce builtin subclasses to their base classes
by default, rather than needing to implement the protocol on every type.

Such a design would need a PEP, of course.
History
Date User Action Args
2013-06-22 01:08:31ncoghlansetrecipients: + ncoghlan, gvanrossum, barry, rhettinger, amaury.forgeotdarc, pitrou, ezio.melotti, eli.bendersky, ethan.furman, eric.snow
2013-06-22 01:08:31ncoghlanlinkissue18264 messages
2013-06-22 01:08:30ncoghlancreate