A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-September/028661.html below:

[Python-Dev] Subsecond time stamps

[Python-Dev] Subsecond time stamps [Python-Dev] Subsecond time stampsGuido van Rossum guido@python.org
Fri, 06 Sep 2002 11:42:33 -0400
> > This seems to me the most Pythonic way.
> 
> I admit that this looks tempting, but I'm worried about applications
> that break because they expect time stamps in struct stat to be
> integers.

Hm, so maybe new field names is still the way to go.  E.g. st_mtime
gives an int, st_mtimef gives a float.  The tuple version only gives
the int.  If the system doesn't support subsecond resolution, the
st_mtimef field still exists but is an int (no point allocating a
float and converting the int).

--Guido van Rossum (home page: http://www.python.org/~guido/)



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