[Python-Dev] Store timestamps as decimal.Decimal objects

PJ Eby ownerscircle at gmail.com
Wed Feb 1 18:27:15 CET 2012


On Jan 31, 2012 11:08 PM, "Nick Coghlan" <ncoghlan at gmail.com> wrote:
> PJE is quite right that using a new named protocol rather than a
> callback with a particular signature could also work, but I don't see
> a lot of advantages in doing so.

The advantage is that it fits your brain better.  That is, you don't have
to remember another symbol besides the type you wanted.  (There's probably
fewer keystrokes involved, too.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120201/545af228/attachment.html>


More information about the Python-Dev mailing list