[Python-ideas] Infinite in Python (not just in datetime) (original) (raw)

Thomas Güttler guettliml at thomas-guettler.de
Mon Feb 2 16:27:19 CET 2015


Am 02.02.2015 um 11:29 schrieb Steven D'Aprano:

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?

Integer

A infinite timedelta could be created like this:

datetime.timedelta(days=infinite)

Thomas Güttler



More information about the Python-ideas mailing list