*puts on contributor hat*

Well all right then! Filed https://github.com/python/cpython/issues/109849,
recapping this and asking some questions about the specifics. I'll try to
put together a PR.

On Mon, Sep 25, 2023 at 3:49 AM Stephen J. Turnbull <
turnbull.stephen...@u.tsukuba.ac.jp> wrote:

> Samuel Freilich via Python-ideas writes:
>
>  > This might all be too much thought about edge cases that don't
>  > matter, but given the *_ns() functions in the time module (PEP
>  > 564), I'm curious why datetime doesn't have a constructor that
>  > takes an integer timestamp with the full precision that supports.
>
> This is such an obvious improvement that the only answer I can think
> of is "Because you haven't submitted a merge request yet?" ;-)
>
> TBH honest you're right about the edge case, mostly datetime is about
> talking to humans and that's almost by definition not worth the time
> of a core dev to shave nanoseconds off the operation.  But if someone
> is looking for a chance to put in a patch, this looks likely to be
> approved to me.
>
>
>
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/N3GSWPC3EXKBRZDRBGTJ35FFDUS7ICFP/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to