[Python-ideas] Infinite in Python (not just in datetime)
Steven D'Aprano
steve at pearwood.info
Mon Feb 2 11:29:49 CET 2015
On Mon, Feb 02, 2015 at 09:17:36AM +0100, Thomas Güttler wrote:
> Thank you very much, that there are some developers who support the
> idea of infinite in the datetime module.
>
>
> Next idea: If Python would support infinite in the core, implementing
> infinite in datetime might be much easier.
I don't understand what that means. What does it mean for Python to
support infinite in the core?
Infinite what? Infinite string? Infinite list? What would this infinite
do, what methods would it have?
Python already supports float infinities and Decimal infinities. Does
that help you?
--
Steve
More information about the Python-ideas
mailing list