[Python-Dev] bpo-36558: Change time.mktime() return type from float to int? (original) (raw)
Victor Stinner vstinner at redhat.com
Tue Apr 16 11:16:37 EDT 2019
- Previous message (by thread): [Python-Dev] bpo-36558: Change time.mktime() return type from float to int?
- Next message (by thread): [Python-Dev] bpo-36558: Change time.mktime() return type from float to int?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 beint
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.
- Previous message (by thread): [Python-Dev] bpo-36558: Change time.mktime() return type from float to int?
- Next message (by thread): [Python-Dev] bpo-36558: Change time.mktime() return type from float to int?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]