A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2019-April/157124.html below:

[Python-Dev] bpo-36558: Change time.mktime() return type from float to int?

[Python-Dev] bpo-36558: Change time.mktime() return type from float to int? [Python-Dev] bpo-36558: Change time.mktime() return type from float to int?Victor Stinner vstinner at redhat.com
Tue Apr 16 11:16:37 EDT 2019
Le mar. 16 avr. 2019 à 16:44, Paul Ganssle <paul at ganssle.io> a écrit :
> 2. Mainly for Victor, but anyone can answer: I agree that the natural output of `mktime()` would be `int` if I were designing it today, but would there be any practical benefits for making this change?

It's just for the consistency of the function regarding to C function
mktime() return type and its input types :-)

> Are there problems cropping up because it's returning a float?

None.

Victor
-- 
Night gathers, and now my watch begins. It shall not end until my death.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4