Message 113742 - Python tracker (original) (raw)
- Datetime.py time source (time.time()) represents time as a floating point number which leads to system dependent behavior and introduces floating point operations where they are not needed.
Why not introducing a new function in time module? Other people may benefit from this.
Why not creating a new function giving access to all tm attributes? Eg. time.localtime_gmaware()?
- No changes will be done to timemodule.c other than renaming
What about time_strftime()? It is 170 lines long: will it be moved to basictime.c? You have to keep the code filling the "struct tm" structure in ()timemodule.c.