History log of /external/python/cpython2/Modules/timemodule.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
868f0aac37cf6c879471c3b8e65e6db623460ce5 19-Mar-2013 Kristján Valur Jónsson <sweskman@gmail.com> issue #9090 : Take the same approach for socketmodule as daytimemodule
when it needs support from timemodule (which is a .so on linux):
link in timemodule.c for the required functions.
/external/python/cpython2/Modules/timemodule.c
6ebc8f3f389ff87b4abec4dd885325303522d8e7 19-Mar-2013 Kristján Valur Jónsson <sweskman@gmail.com> Issue #9090 : Error code 10035 calling socket.recv() on a socket with a timeout
(WSAEWOULDBLOCK - A non-blocking socket operation could not be completed
immediately)
/external/python/cpython2/Modules/timemodule.c
0d68ab3f481ab6c8ecb0d83762b4cd9fb9208356 27-Nov-2012 Gregory P. Smith <greg@krypto.org> Plug a leak in timemodule. The module dictionary is saved during
initialization. If the interpreter is shut down and reinitialized (embedded
CPython), the old module dictionary was not dec-refed during the next import of
the time extension module.

Contributed by Torsten Marek of Google.
/external/python/cpython2/Modules/timemodule.c
792eb5dc84b1a7d4652994ca970923bec0573614 06-Apr-2011 Senthil Kumaran <orsenthil@gmail.com> Issue #10762: Guard against invalid/non-supported format string '%f' on Windows. Patch Santoso Wijaya.
/external/python/cpython2/Modules/timemodule.c
c2077b0d9b5bf99768c6f396bf7ae6c41b682465 15-Mar-2011 Ezio Melotti <ezio.melotti@gmail.com> #11565: Fix several typos. Patch by Piotr Kasprzyk.
/external/python/cpython2/Modules/timemodule.c
6233b36d142572ca35b3563657c539210c554dd6 15-Feb-2011 Alexander Belopolsky <alexander.belopolsky@gmail.com> Merged revisions 87919 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r87919 | alexander.belopolsky | 2011-01-10 20:21:25 -0500 (Mon, 10 Jan 2011) | 4 lines

Issue #1726687: time.mktime() will now correctly compute value one
second before epoch. Original patch by Peter Wang, reported by Martin
Blais.
........
/external/python/cpython2/Modules/timemodule.c
561b96f98c8d396fe9e95feb9e02833cdd9025ba 11-Feb-2011 R. David Murray <rdmurray@bitdance.com> Merged revisions 86542,87136,87216,87221,87228,87256,87337-87338,87372,87516,87571,88164 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r86542 | r.david.murray | 2010-11-19 22:48:58 -0500 (Fri, 19 Nov 2010) | 2 lines

Make test class name unique so that both test classes run.
........
r87136 | r.david.murray | 2010-12-08 17:53:00 -0500 (Wed, 08 Dec 2010) | 6 lines

Have script_helper._assert_python strip refcount strings from stderr.

This makes the output of the function and those that depend on it
independent of whether or not they are being run under a debug
build.
........
r87216 | r.david.murray | 2010-12-13 17:50:30 -0500 (Mon, 13 Dec 2010) | 2 lines

#10698: fix typo in example.
........
r87221 | r.david.murray | 2010-12-13 19:55:46 -0500 (Mon, 13 Dec 2010) | 4 lines

#10699: fix docstring for tzset: it does not take a parameter

Thanks to Garrett Cooper for the fix.
........
r87228 | r.david.murray | 2010-12-13 21:25:43 -0500 (Mon, 13 Dec 2010) | 2 lines

Turn on regrtest -W (rerun immediately) option for Windows, too.
........
r87256 | r.david.murray | 2010-12-14 21:19:14 -0500 (Tue, 14 Dec 2010) | 2 lines

#10705: document what the values of debuglevel are and mean.
........
r87337 | r.david.murray | 2010-12-17 11:11:40 -0500 (Fri, 17 Dec 2010) | 2 lines

#10559: provide instructions for accessing sys.argv when first mentioned.
........
r87338 | r.david.murray | 2010-12-17 11:29:07 -0500 (Fri, 17 Dec 2010) | 2 lines

#10454: clarify the compileall docs and help messages.
[changes to compileall.py were not backported, only the doc changes]
........
r87372 | r.david.murray | 2010-12-18 11:39:06 -0500 (Sat, 18 Dec 2010) | 2 lines

#10728: the default for printing help is sys.stdout, not stderr.
........
r87516 | r.david.murray | 2010-12-27 15:09:32 -0500 (Mon, 27 Dec 2010) | 5 lines

#7056: runtest and runtest_inner don't use testdir, so drop it from their sigs

I've only tested regular runs and -j runs. If I've broken anything
else I'm sure I'll hear about it sooner or later.
........
r87571 | r.david.murray | 2010-12-29 14:06:48 -0500 (Wed, 29 Dec 2010) | 2 lines

Fix same typo in docs.
........
r88164 | r.david.murray | 2011-01-24 14:34:58 -0500 (Mon, 24 Jan 2011) | 12 lines

#10960: fix 'stat' links, link to lstat from stat, general tidy of stat doc.

Original patch by Michal Nowikowski, with some additions and wording
fixes by me.

I changed the wording from 'Performs a stat system call' to 'Performs
the equivalent of a stat system call', since on Windows there are no
stat/lstat system calls involved. I also extended Michal's breakout
of the attributes into a list to the other paragraphs, and rearranged
the order of the paragraphs in the 'stat' docs to make it flow
better and put it in what I think is a more logical/useful order.
........
/external/python/cpython2/Modules/timemodule.c
8009e8e0e2d9120d2d386bf00d3c02f2e92faf83 03-Jan-2011 Alexander Belopolsky <alexander.belopolsky@gmail.com> Merged revisions 87648,87656 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r87648 | alexander.belopolsky | 2011-01-02 15:48:22 -0500 (Sun, 02 Jan 2011) | 1 line

Issue #8013: Fixed time.asctime segfault when OS's asctime fails
........
r87656 | alexander.belopolsky | 2011-01-02 17:16:10 -0500 (Sun, 02 Jan 2011) | 1 line

Issue #8013: Fixed test
........
/external/python/cpython2/Modules/timemodule.c
3b818bfbfa8057f1163cb4665bf84b2cf230bb04 05-Jun-2010 Alexander Belopolsky <alexander.belopolsky@gmail.com> Issue #8899: time.struct_time now has class and atribute docstrings.
/external/python/cpython2/Modules/timemodule.c
c83ea137d7e717f764e2f31fc2544f522de7d857 09-May-2010 Antoine Pitrou <solipsis@pitrou.net> Untabify C files. Will watch buildbots.
/external/python/cpython2/Modules/timemodule.c
6ef9fd7c97bb45d7c9e2cee8be2ef707c8cc4b8c 22-Sep-2009 Brett Cannon <bcannon@gmail.com> Fix whitespace.
/external/python/cpython2/Modules/timemodule.c
4d94743c28af939864e870f556f8b656fbd3b774 22-Sep-2009 Brett Cannon <bcannon@gmail.com> When range checking was added to time.strftime() a check was placed on tm_isdst
to make sure it fell within [-1, 1] just in case someone implementing
strftime() in libc was stupid enough to assume this. Turns out, though, some
OSs (e.g. zOS) are stupid enough to use values outside of this range for time
structs created by the system itself. So instead of throwing a ValueError,
tm_isdst is now normalized before being passed to strftime().

Fixes issue #6823. Thanks Robert Shapiro for diagnosing the problem and
contributing an initial patch.
/external/python/cpython2/Modules/timemodule.c
fd4c872726e650f1e43c4eed4fa7e7e326b3fee6 04-Feb-2009 Kristján Valur Jónsson <kristjan@ccpgames.com> issue 4804: Provide checks for the format string of strftime, and for the "mode" string of fopen on Windows. These strings are user provided from python and so we can avoid invoking the C runtime invalid parameter handler by first checking that they are valid.
/external/python/cpython2/Modules/timemodule.c
083902af8f47f6ff08fadaca4191c0c2378214c2 05-Jul-2008 Facundo Batista <facundobatista@gmail.com> Issue 3289. Removed two lines that ended doing nothing.
/external/python/cpython2/Modules/timemodule.c
dd96db63f689e2f0d8ae5a1436b3b3395eec7de5 09-Jun-2008 Gregory P. Smith <greg@mad-scientist.com> This reverts r63675 based on the discussion in this thread:

http://mail.python.org/pipermail/python-dev/2008-June/079988.html

Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names
in the spirit of 3.0 are available via a #define only. See the email thread.
/external/python/cpython2/Modules/timemodule.c
593daf545bd9b7e7bcb27b498ecc6f36db9ae395 26-May-2008 Christian Heimes <christian@cheimes.de> Renamed PyString to PyBytes
/external/python/cpython2/Modules/timemodule.c
28112d0cb608e5d2ef8820dce8100ee3c9bb1692 06-Apr-2008 Skip Montanaro <skip@pobox.com> type
/external/python/cpython2/Modules/timemodule.c
9e0fa7a13ec3c4381ffa5d9b6f745415fc570d29 05-Apr-2008 Skip Montanaro <skip@pobox.com> Declare inittimezone static.
/external/python/cpython2/Modules/timemodule.c
fc070d27316ebb0ed877fade811130ac566bbc14 15-Mar-2008 Skip Montanaro <skip@pobox.com> add %f format to datetime - issue 1158
/external/python/cpython2/Modules/timemodule.c
000a074c955a1964959ee908300ef49b41170a06 03-Jan-2008 Christian Heimes <christian@cheimes.de> Modified PyImport_Import and PyImport_ImportModule to always use absolute imports by calling __import__ with an explicit level of 0
Added a new API function PyImport_ImportModuleNoBlock. It solves the problem with dead locks when mixing threads and imports
/external/python/cpython2/Modules/timemodule.c
8d993aae8f0bca8e522babe619058ef8d3372b96 24-Dec-2007 Brett Cannon <bcannon@gmail.com> Fix the docstrings of time.localtime() and gmtime() for the tm_mday field.

Will backport.
/external/python/cpython2/Modules/timemodule.c
30712ab82f7c545cfe89ddf56de135bfbf0ccb67 29-Mar-2007 Georg Brandl <georg@python.org> In Windows' time.clock(), when QueryPerformanceFrequency() fails,
the C lib's clock() is used, but it must be divided by CLOCKS_PER_SEC
as for the POSIX implementation (thanks to #pypy).
/external/python/cpython2/Modules/timemodule.c
fd7e162eb95a46761ac9b14c4f77cf447fbe0a64 21-Dec-2006 Walter Dörwald <walter@livinglogic.de> Fix typo.
/external/python/cpython2/Modules/timemodule.c
468e45edc1694606b6f2c4eb901eb9485bb493da 22-Jul-2006 Brett Cannon <bcannon@gmail.com> Remove an XXX marker in a comment.
/external/python/cpython2/Modules/timemodule.c
caebe22038d4de526ab34cfda98047f01c53fc9d 18-Jul-2006 Brett Cannon <bcannon@gmail.com> Fix bug #1520914. Starting in 2.4, time.strftime() began to check the bounds
of values in the time tuple passed in. Unfortunately people came to rely on
undocumented behaviour of setting unneeded values to 0, regardless of if it was
within the valid range. Now those values force the value internally to the
minimum value when 0 is passed in.
/external/python/cpython2/Modules/timemodule.c
74c3ea0a0f6599da7dd9a502b5a66aeb9512d8c3 03-Jul-2006 Kristján Valur Jónsson <kristjan@ccpgames.com> Fix build problems with the platform SDK on windows. It is not sufficient to test for the C compiler version when determining if we have the secure CRT from microsoft. Must test with an undocumented macro, __STDC_SECURE_LIB__ too.
/external/python/cpython2/Modules/timemodule.c
f608317061cc11de915f55da8c59880dc02e6d94 12-Jun-2006 Kristján Valur Jónsson <kristjan@ccpgames.com> Fix the CRT argument error handling for VisualStudio .NET 2005. Install a CRT error handler and disable the assertion for debug builds. This causes CRT to set errno to EINVAL.
This update fixes crash cases in the test suite where the default CRT error handler would cause process exit.
/external/python/cpython2/Modules/timemodule.c
0e8bd7e1ccf7f47bc0bb920af899c77669016d3d 10-Jun-2006 Martin v. Löwis <martin@v.loewis.de> Patch #1495999: Part two of Windows CE changes.
- update header checks, using autoconf
- provide dummies for getenv, environ, and GetVersion
- adjust MSC_VER check in socketmodule.c
/external/python/cpython2/Modules/timemodule.c
96a8c3954cbdb186bc567a490dad8987508ce268 29-May-2006 Georg Brandl <georg@python.org> Make use of METH_O and METH_NOARGS where possible.
Use Py_UnpackTuple instead of PyArg_ParseTuple where possible.
/external/python/cpython2/Modules/timemodule.c
c285e62d76248950c33152cebe5eebc50c33b951 26-May-2006 Tim Peters <tim.peters@gmail.com> Repair idiot typo, and complete the job of trying to
use the Windows time.clock() implementation on Win64.
/external/python/cpython2/Modules/timemodule.c
7a822dabadcc79acacc2e9cb02ada7cd4879371b 25-May-2006 Tim Peters <tim.peters@gmail.com> Some Win64 pre-release in 2000 didn't support
QueryPerformanceCounter(), but we believe Win64 does
support it now. So use in time.clock().

It would be peachy if someone with a Win64 box tried
this ;-)
/external/python/cpython2/Modules/timemodule.c
378d592617f5da7bb5e1611ca4e5980d086191f9 17-May-2006 Georg Brandl <georg@python.org> Patch #1490224: set time.altzone correctly on Cygwin.
/external/python/cpython2/Modules/timemodule.c
d06b6f28a0c81401e3c22ab00d1b476b72db552d 23-Apr-2006 Ronald Oussoren <ronaldoussoren@mac.com> Patch 1471925 - Weak linking support for OSX

This patch causes several symbols in the socket and posix module to be weakly
linked on OSX and disables usage of ftime on OSX. These changes make it possible
to use a binary build on OSX 10.4 on a 10.3 system.
/external/python/cpython2/Modules/timemodule.c
19ab6c98cf0525682b74f1f217503c42bacb4916 16-Apr-2006 Martin v. Löwis <martin@v.loewis.de> Initialize structseq types only once.
/external/python/cpython2/Modules/timemodule.c
7cbc0f552432520ceef38ed5d0daf766db453fa9 13-Apr-2006 Anthony Baxter <anthonybaxter@gmail.com> C++ compiler changes. casts, rename variables with reserved names.
/external/python/cpython2/Modules/timemodule.c
1ac754fa10f5d199d19911e21185d0970cb3073f 19-Jan-2006 Neal Norwitz <nnorwitz@gmail.com> Check return result from Py_InitModule*(). This API can fail.

Probably should be backported.
/external/python/cpython2/Modules/timemodule.c
f901abdd62c9067f993b85392dbb73a560af6325 03-Aug-2004 Fred Drake <fdrake@acm.org> allow ctime(), gmtime(), and localtime() to take None as equivalent to an omitted arg
(closes SF bug #658254, patch #663482)
/external/python/cpython2/Modules/timemodule.c
dc8e1942dddd6923fe9cfbadc6644a9888094699 21-Jul-2004 Neal Norwitz <nnorwitz@gmail.com> Fix SF #994580, typo in time.tzsets docstring. Backport candidate
/external/python/cpython2/Modules/timemodule.c
1b6f7a9057874ecd2793059f210de87837fe1911 20-Jun-2004 Tim Peters <tim.peters@gmail.com> Bug 975996: Add _PyTime_DoubleToTimet to C API
New include file timefuncs.h exports private API function
_PyTime_DoubleToTimet() from timemodule.c. timemodule should export
some other functions too (look for painful bits in datetimemodule.c).

Added insane-argument checking to datetime's assorted fromtimestamp()
and utcfromtimestamp() methods. Added insane-argument tests of these
to test_datetime, and insane-argument tests for ctime(), localtime()
and gmtime() to test_time.
/external/python/cpython2/Modules/timemodule.c
298c380c74294bedcc0b5999c57e3aca03fb3731 19-Jun-2004 Brett Cannon <bcannon@gmail.com> Raise ValueError when value being stored in a time_t variable will result in
more than a second of precision. Primarily affects ctime, localtime, and
gmtime.

Closes bug #919012 thanks to Tim Peters' code.

Tim suggests that the new funciton being introduced, _PyTime_DoubletoTimet(),
should be added to the internal C API and then used in datetime where
appropriate. Not being done now for lack of time.
/external/python/cpython2/Modules/timemodule.c
d1080a3418b2a162b44d0d5738a6da2276133eb7 02-Mar-2004 Brett Cannon <bcannon@gmail.com> Have strftime() check its time tuple argument to make sure the tuple's values
are within proper boundaries as specified in the docs.

This can break possible code (datetime module needed changing, for instance)
that uses 0 for values that need to be greater 1 or greater (month, day, and
day of year).

Fixes bug #897625.
/external/python/cpython2/Modules/timemodule.c
eddc1449bae39414aaf7a4f63ccd3b69c4fb069e 20-Nov-2003 Jack Jansen <jack.jansen@cwi.nl> Getting rid of all the code inside #ifdef macintosh too.
/external/python/cpython2/Modules/timemodule.c
20def8bb19c35606ff928ee2d74181bdbb7fe5da 01-Jul-2003 Brett Cannon <bcannon@gmail.com> Make temporary change of using _strptime for time.strptime permanent.

Flesh out docs to better explain time.strptime (closes bug #697990).
/external/python/cpython2/Modules/timemodule.c
a94568a7535de60f1144e4eea0d027b87017a4b4 10-May-2003 Martin v. Löwis <martin@v.loewis.de> Patch #734231: Update RiscOS support. In particular, correct
riscospath.extsep, and use os.extsep throughout.
/external/python/cpython2/Modules/timemodule.c
502168a86e4c0bce83f491879fcf02836bc0fbb2 10-Apr-2003 Raymond Hettinger <python@rcn.com> SF patch #718867: Fix reference leak for time.strptime
(contributed by Brett Cannon)
/external/python/cpython2/Modules/timemodule.c
d11b62edd077428935f93b36ae8d65ebaa684cca 14-Mar-2003 Guido van Rossum <guido@python.org> - New function time.tzset() provides access to the C library tzet()
function, if supported. (SF patch #675422, by Stuart Bishop.)
/external/python/cpython2/Modules/timemodule.c
513a1cd103ba2b67ad88dc58a185fc7b514078bd 19-Jan-2003 Tim Peters <tim.peters@gmail.com> Windows flavor of floatsleep(): folded long lines, introduced a temp
var for clarity.
/external/python/cpython2/Modules/timemodule.c
8b19a93b87d6514fec9918cd0b13cefbaca83950 17-Jan-2003 Tim Peters <tim.peters@gmail.com> When time.localtime() is passed a tick count the platform C localtime()
function can't handle, don't raise IOError -- that doesn't make sense.
Raise ValueError instead.

Bugfix candidate.
/external/python/cpython2/Modules/timemodule.c
60a5d72908a8422d15452356892fe592c80dad33 16-Oct-2002 Martin v. Löwis <martin@v.loewis.de> Patch #623780: Replace obsolete struct macros.
/external/python/cpython2/Modules/timemodule.c
fe51c6d66e0fbf6a142036bee2c448bd7fe8fefc 02-Aug-2002 Mark Hammond <mhammond@skippinet.com.au> Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype
for Py_Main().

Thanks to Kalle Svensson and Skip Montanaro for the patches.
/external/python/cpython2/Modules/timemodule.c
d3c46d54632703be3d3767e5f785ee83695c6f53 19-Jul-2002 Guido van Rossum <guido@python.org> Patch to call the Pure python strptime implementation if there's no
C implementation. See SF patch 474274, by Brett Cannon.

(As an experiment, I'm adding a line that #undefs HAVE_STRPTIME,
so that you'll always get the Python version. This is so that it
gets some good exercise. We should eventually delete that line.)
/external/python/cpython2/Modules/timemodule.c
975e3921aeee512fabf3d4cdf068d7723f163b2b 16-Jul-2002 Mark Hammond <mhammond@skippinet.com.au> Fix bug 581232 - [Windows] Can not interrupt time.sleep()

time.sleep() will now be interrupted on the main thread when Ctrl+C is pressed. Other threads are never interrupted.
/external/python/cpython2/Modules/timemodule.c
6238d2b024f061159b2613387ff700695c10deef 30-Jun-2002 Martin v. Löwis <martin@v.loewis.de> Patch #569753: Remove support for WIN16.
Rename all occurrences of MS_WIN32 to MS_WINDOWS.
/external/python/cpython2/Modules/timemodule.c
14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f 13-Jun-2002 Martin v. Löwis <martin@v.loewis.de> Patch #568124: Add doc string macros.
/external/python/cpython2/Modules/timemodule.c
8ab04b4d65586829887822a78d038a33ee7a69fd 11-Apr-2002 Jack Jansen <jack.jansen@cwi.nl> Got rid of ifdefs for long-obsolete GUSI versions.
/external/python/cpython2/Modules/timemodule.c
9bb7432114c97ad99c0813c1fef1ef4f1cda3361 01-Apr-2002 Fred Drake <fdrake@acm.org> Remove all but one use of the module dict.
/external/python/cpython2/Modules/timemodule.c
193a3f6d37c1440b049f7b1c62ff30c1d8cae38a 12-Mar-2002 Fred Drake <fdrake@acm.org> Update docstrings to use te attribute names of the new structures returned
by stat and time functions.
This closes SF patch #523271.
/external/python/cpython2/Modules/timemodule.c
7bf6833e178696b9815fd4e4c6d1cecc8b46bdd2 03-Mar-2002 Andrew MacIntyre <andymac@bullseye.apana.org.au> OS/2 EMX port changes (Modules part of patch #450267):
Modules/
_hotshot.c
dbmmodule.c
fcntlmodule.c
main.c
pwdmodule.c
readline.c
selectmodule.c
signalmodule.c
termios.c
timemodule.c
unicodedata.c
/external/python/cpython2/Modules/timemodule.c
9ad4b688eca7b80ba00c408089593bba553ed73e 13-Feb-2002 Tim Peters <tim.peters@gmail.com> Windows time_clock(): rewrite to get rid of horrid casting tricks.
Don't blame Mark! The horrid casting tricks were my idea to begin with.
The rewrite works fine under VC6, and I *expect* will work fine under VC7.
/external/python/cpython2/Modules/timemodule.c
7ba5e810fd7d7bbfcf5aeffcf2f397398d562c32 12-Feb-2002 Mark Hammond <mhammond@skippinet.com.au> Ensure we also build on VC7. Involves replacing largeint.h helper functions with msvc's native 64 bit integers.
/external/python/cpython2/Modules/timemodule.c
02af964924009c54d3fb872d60f5e384563bd136 16-Jan-2002 Martin v. Löwis <martin@v.loewis.de> Patch #504225: add plan9 ifdef to timemodule floatsleep.
/external/python/cpython2/Modules/timemodule.c
cdc445122208cb90a59a468a7396b227e223c43a 12-Jan-2002 Martin v. Löwis <martin@v.loewis.de> Include <unistd.h> in Python.h. Fixes #500924.
/external/python/cpython2/Modules/timemodule.c
146483964e2e94b0d1709be438a1b86f75b5d730 08-Dec-2001 Guido van Rossum <guido@python.org> Patch supplied by Burton Radons for his own SF bug #487390: Modifying
type.__module__ behavior.

This adds the module name and a dot in front of the type name in every
type object initializer, except for built-in types (and those that
already had this). Note that it touches lots of Mac modules -- I have
no way to test these but the changes look right. Apologies if they're
not. This also touches the weakref docs, which contains a sample type
object initializer. It also touches the mmap test output, because the
mmap type's repr is included in that output. It touches object.h to
put the correct description in a comment.
/external/python/cpython2/Modules/timemodule.c
b3cfc1d7eab506cbdd6c579b12e0f2f265f5f2c5 02-Dec-2001 Martin v. Löwis <martin@v.loewis.de> Patch #481718: Time module doc string changes.
/external/python/cpython2/Modules/timemodule.c
e2ae77b8b8a62e648bb1864a9b36ef3280984404 24-Oct-2001 Guido van Rossum <guido@python.org> SF patch #474590 -- RISC OS support
/external/python/cpython2/Modules/timemodule.c
98bf58f1c61a1d6d8a21f75527c8ad7a7d47ef67 18-Oct-2001 Guido van Rossum <guido@python.org> SF patch #462296: Add attributes to os.stat results; by Nick Mathewson.

This is a big one, touching lots of files. Some of the platforms
aren't tested yet. Briefly, this changes the return value of the
os/posix functions stat(), fstat(), statvfs(), fstatvfs(), and the
time functions localtime(), gmtime(), and strptime() from tuples into
pseudo-sequences. When accessed as a sequence, they behave exactly as
before. But they also have attributes like st_mtime or tm_year. The
stat return value, moreover, has a few platform-specific attributes
that are not available through the sequence interface (because
everybody expects the sequence to have a fixed length, these couldn't
be added there). If your platform's struct stat doesn't define
st_blksize, st_blocks or st_rdev, they won't be accessible from Python
either.

(Still missing is a documentation update.)
/external/python/cpython2/Modules/timemodule.c
10b164a32d70419ac5d223e1bf59c5875f917609 25-Sep-2001 Guido van Rossum <guido@python.org> SF patch #459385 (Norman Vine): time.timezone fix for Cygwin.

Also did some whitespace normalization.
/external/python/cpython2/Modules/timemodule.c
1a10aac87c88011cf8b3cad019525dd007c74933 22-Aug-2001 Skip Montanaro <skip@pobox.com> make the gettmarg error message more correct by making it more vague ;-)
see SF bug 434143, part of which this addresses
/external/python/cpython2/Modules/timemodule.c
7d4bb9f179f1888a472fd5d5a30df4ec3c55fea5 23-Jul-2001 Neil Schemenauer <nascheme@enme.ucalgary.ca> Add -E command line switch (ignore environment variables like PYTHONHOME
and PYTHONPATH).
/external/python/cpython2/Modules/timemodule.c
58e0a8c13015627b5cd4abff6563bef02532596c 15-May-2001 Tim Peters <tim.peters@gmail.com> SF patch #418147 Fixes to allow compiling w/ Borland, from Stephen Hansen.
/external/python/cpython2/Modules/timemodule.c
bceccf5f43b51d166951ea97cff086c8828b745b 11-Apr-2001 Guido van Rossum <guido@python.org> Updated version of RISCOS support. SF patch 411213 by Dietmar Schwertberger
/external/python/cpython2/Modules/timemodule.c
26ae7cd75a0e33b98a5156e1d4501be66e39a79f 20-Mar-2001 Tim Peters <tim.peters@gmail.com> SF patch 407758, "timemodule patches for Cygwin", from Norman Vine.
http://sourceforge.net/tracker/?func=detail&aid=407758&group_id=5470&atid=305470
/external/python/cpython2/Modules/timemodule.c
2b6727bd8a714d334d34e6a9fabc1d0f651633a7 06-Mar-2001 Martin v. Löwis <martin@v.loewis.de> Use Py_CHARMASK for ctype macros. Fixes bug #232787.
/external/python/cpython2/Modules/timemodule.c
258ccd41264f3a77a767553240641a90e3ab5f0b 02-Mar-2001 Guido van Rossum <guido@python.org> Fix typo in RISCOS patch inside MS #ifdef. (Probably my own fingers.)
/external/python/cpython2/Modules/timemodule.c
48a680c097f0e53a4cdcd61fbed35e1b6c1de388 02-Mar-2001 Guido van Rossum <guido@python.org> RISCOS changes by dschwertberger.
/external/python/cpython2/Modules/timemodule.c
fe385251f429dccddeb212f5ad02c026fe4a6550 20-Jan-2001 Thomas Wouters <thomas@python.org> Make the 'time' argument to the timemodule functions strftime, asctime,
ctime, gmtime and localtime optional, defaulting to 'the current time' in
all cases. Adjust docs, add news item. Also convert all argument-handling to
METH_VARARGS. Closes SF patch #103265.
/external/python/cpython2/Modules/timemodule.c
63596aeb33c2837d7802449c8906349c9ea1998e 12-Dec-2000 Jack Jansen <jack.jansen@cwi.nl> The Mac C library (MSL from CodeWarrior 6) and I/O library (GUSI
2.1.3) finally agree on when the epoch is, so the code to convert
epochs has been disabled.
/external/python/cpython2/Modules/timemodule.c
8586991099e4ace18ee94163a96b8ea1bed77ebe 02-Sep-2000 Guido van Rossum <guido@python.org> REMOVED all CWI, CNRI and BeOpen copyright markings.
This should match the situation in the 1.6b1 tree.
/external/python/cpython2/Modules/timemodule.c
9bfd2bf5ede8e5d58775180d6867d81ddcdd3594 01-Sep-2000 Barry Warsaw <barry@python.org> Do the absolute minimal amount of modifications to eradicate
Py_FatalError() from module initialization functions. The importing
mechanism already checks for PyErr_Occurred() after module importation
and it Does The Right Thing.

Unfortunately, the following either were not compiled or tested by the
regression suite, due to issues with my development platform:

almodule.c
cdmodule.c
mpzmodule.c
puremodule.c
timingmodule.c
/external/python/cpython2/Modules/timemodule.c
56221a7cfa8f361f4310b63b74091766c50dd7f8 15-Aug-2000 Fred Drake <fdrake@acm.org> Chris Herborth <chrish@pobox.com>:
Minor updates for BeOS R5.

Use of OSError in test.test_fork1 changed to TestSkipped, with corresponding
change in BeOS/README (by Fred).

This closes SourceForge patch #100978.
/external/python/cpython2/Modules/timemodule.c
a1abb728bc0d3898539ea89effa7906a50366f1a 03-Aug-2000 Andrew M. Kuchling <amk@amk.ca> Use METH_OLDARGS instead of numeric constant 0 in method def. tables
/external/python/cpython2/Modules/timemodule.c
e365fb8d1ff062d619f9476265e48e9ba8ab2bf6 03-Aug-2000 Andrew M. Kuchling <amk@amk.ca> Use METH_VARARGS instead of numeric constant 1 in method def. tables
/external/python/cpython2/Modules/timemodule.c
7e018909862a3fe6c571bbb7143f4ffb18ae834c 31-Jul-2000 Peter Schneider-Kamp <nowonder@nowonder.de> merge Include/my*.h into Include/pyport.h

marked my*.h as obsolete
/external/python/cpython2/Modules/timemodule.c
334fb8985bc126f62af65669150c30787eabddd9 25-Jul-2000 Thomas Wouters <thomas@python.org> Use 'void' directly instead of the ANY #define, now that all code is ANSI C.
Leave the actual #define in for API compatibility.
/external/python/cpython2/Modules/timemodule.c
ed77bac472760cb55f64f20558afdf76b6ee4f1d 24-Jul-2000 Thomas Wouters <thomas@python.org> Fix floattime prototype ((void), not (double))
/external/python/cpython2/Modules/timemodule.c
58d0510245c65cff2ded9d3923bf1ef2b85f4214 24-Jul-2000 Thomas Wouters <thomas@python.org> ANSIfy some more forward declarations.
/external/python/cpython2/Modules/timemodule.c
770e4042db8a1c277b5d9b678cf6045a7aa2bd33 24-Jul-2000 Thomas Wouters <thomas@python.org> ANSIfy yet another hidden function definition.
/external/python/cpython2/Modules/timemodule.c
bd4bc4e9e947617def66780efbbea4eb08990e56 23-Jul-2000 Thomas Wouters <thomas@python.org> Even more ANSIfication: fix as many function pointers and declarations as
possible.
/external/python/cpython2/Modules/timemodule.c
f3f33dcf03eaed3c4e720178f9d69205a66d6a91 21-Jul-2000 Thomas Wouters <thomas@python.org> Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',
and a couple of functions that were missed in the previous batches. Not
terribly tested, but very carefully scrutinized, three times.

All these were found by the little findkrc.py that I posted to python-dev,
which means there might be more lurking. Cases such as this:

long
func(a, b)
long a;
long b; /* flagword */
{

and other cases where the last ; in the argument list isn't followed by a
newline and an opening curly bracket. Regexps to catch all are welcome, of
course ;)
/external/python/cpython2/Modules/timemodule.c
416d413527ed7e9a1a5fe98f94487f6ee4315d2e 10-Jul-2000 Peter Schneider-Kamp <nowonder@nowonder.de> ANSI-fication
/external/python/cpython2/Modules/timemodule.c
dbd9ba6a6c19c3d06f5684b3384a934f740038db 09-Jul-2000 Tim Peters <tim.peters@gmail.com> Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.
/external/python/cpython2/Modules/timemodule.c
ee398fa058555d3229e48c323247f60f6f560313 03-Jul-2000 Jack Jansen <jack.jansen@cwi.nl> Mac only: two epoch problem workarounds are no longer needed for GUSI
>= 2.0.5. One still is:-(
/external/python/cpython2/Modules/timemodule.c
ffcc3813d82e6b96db79f518f4e67b940a13ce64 01-Jul-2000 Guido van Rossum <guido@python.org> Change copyright notice - 2nd try.
/external/python/cpython2/Modules/timemodule.c
fd71b9e9d496caa510dec56a9b69966558d6ba5d 01-Jul-2000 Guido van Rossum <guido@python.org> Change copyright notice.
/external/python/cpython2/Modules/timemodule.c
0e12395190a54ce91fdc37593601f481cfcf3e70 29-Jun-2000 Fred Drake <fdrake@acm.org> Trent Mick <trentm@activestate.com>:
This patch fixes a possible overflow in the Sleep system call on
Win32/64 in the time_sleep() function in the time module. For very
large values of the give time to sleep the number of milliseconds can
overflow and give unexpected sleep intervals. THis patch raises an
OverflowError if the value overflows.

Closes SourceForge patch #100514.
/external/python/cpython2/Modules/timemodule.c
dfb4ebda24c1393888779357a4c9bd5bf7e4eaee 29-Jun-2000 Fred Drake <fdrake@acm.org> Trent Mick <trentm@activestate.com>:
Mark Hammond provided (a long time ago) a better Win32 specific
time_clock implementation in timemodule.c. The library for this
implementation does not exist on Win64 (yet, at least). This patch
makes Win64 fall back on the system's clock() function for
time_clock().

This closes SourceForge patch #100512.
/external/python/cpython2/Modules/timemodule.c
fa4811699314bc0c35d74672aac68199d6890211 28-Jun-2000 Guido van Rossum <guido@python.org> Trent Mick: use size_t instead of int where appropriate (time_strftime()).
/external/python/cpython2/Modules/timemodule.c
aff601804d0b100815d1bdfdb2cf5778385a912c 09-May-2000 Fred Drake <fdrake@acm.org> M.-A. Lemburg <mal@lemburg.com>:
Fixed a bug due to a /* inside /*...*/. GCC doesn't like
this and bombs.
/external/python/cpython2/Modules/timemodule.c
c410e929741252d3cfca848fcc0df616c0f225ef 26-Apr-2000 Guido van Rossum <guido@python.org> Jack Jansen:

This patch is a workaround for Macintosh, where the GUSI I/O library
(time, stat, etc) use the MacOS epoch of 1-Jan-1904 and the MSL C
library (ctime, localtime, etc) uses the (apparently ANSI standard)
epoch of 1-Jan-1900. Python programs see the MacOS epoch and we
convert values when needed.
/external/python/cpython2/Modules/timemodule.c
c24ca4b192559526797d0410bf3cee2fecaaddf5 24-Mar-2000 Andrew M. Kuchling <amk@amk.ca> Fix probable bug; if errno == EINTR, floatsleep() doesn't break out of
a Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS block, but it
calls Py_BLOCK_THREADS anyway. The change moves Py_BLOCK_THREADS
to inside the if, so it's only executed when the function
actually returns unexpectedly.
/external/python/cpython2/Modules/timemodule.c
7ceab654684eb3041c3d1e25ea860b7bd76daa2f 14-Mar-2000 Jeremy Hylton <jeremy@alum.mit.edu> Fix bogus error reporting on strptime: let PyArg_ParseTuple set exception.
Also, wrap long line.
/external/python/cpython2/Modules/timemodule.c
43713e5a2899930a8698e244b0d0fef59a676d17 29-Feb-2000 Guido van Rossum <guido@python.org> Massive patch by Skip Montanaro to add ":name" to as many
PyArg_ParseTuple() format string arguments as possible.
/external/python/cpython2/Modules/timemodule.c
b2b42ddcb1a09c58fdbd638c6fcdae5af13d7965 12-Jan-2000 Guido van Rossum <guido@python.org> The functions asctime() and mktime() are documented to take a 9-tuple
only. Through some mysterious interaction, they would take 9 separate
arguments as well. This misfeature is now disabled (to end a
difference with JPython).
/external/python/cpython2/Modules/timemodule.c
09cbb019895047eaf159f40429dd8530601c1d01 08-Nov-1999 Guido van Rossum <guido@python.org> Jack Jansen: Mac has no EINTR.
/external/python/cpython2/Modules/timemodule.c
a5456d5042b3ac8d3b190fbdb6c67138607abfab 19-Aug-1999 Guido van Rossum <guido@python.org> In floatsleep(), when using select(), ignore EINTR error.
/external/python/cpython2/Modules/timemodule.c
ea424e19f152638260c91d5fd6a805a288c931d2 23-Apr-1999 Guido van Rossum <guido@python.org> Apparently __GNU_LIBRARY__ is defined for glibc as well as for libc5.
The test really wanted to distinguish between the two. So now we test
for __GLIBC__ instead. I have confirmed that this works for glibc and
I have an email from Christian Tanzer confirming that it works for
libc5, so it should be fine.
/external/python/cpython2/Modules/timemodule.c
0ffdd05cc331a7c743439188a89c44320b796a59 05-Apr-1999 Guido van Rossum <guido@python.org> Jonathan Giddy notes, and Chris Lawrence agrees, that some comments on
#else/#endif are wrong, and that #if HAVE_TM_ZONE should be #ifdef.
/external/python/cpython2/Modules/timemodule.c
4958f9af971fddaeaa8d447fb3eb130a897b8ba9 29-Mar-1999 Guido van Rossum <guido@python.org> #$@%! Forgot to remove a #error directive used for testing. Sorry.
/external/python/cpython2/Modules/timemodule.c
57731607c3993597f5b28c038622bbc8962ae098 29-Mar-1999 Guido van Rossum <guido@python.org> Chris Lawrence writes:

"""
The GNU folks, in their infinite wisdom, have decided not to implement
altzone in libc6; this would not be horrible, except that timezone
(which is implemented) includes the current DST setting (i.e. timezone
for Central is 18000 in summer and 21600 in winter). So Python's
timezone and altzone variables aren't set correctly during DST.

Here's a patch relative to 1.5.2b2 that (a) makes timezone and altzone
show the "right" thing on Linux (by using the tm_gmtoff stuff
available in BSD, which is how the GLIBC manual claims things should
be done) and (b) should cope with the southern hemisphere. In pursuit
of (b), I also took the liberty of renaming the "summer" and "winter"
variables to "july" and "jan". This patch should also make certain
time calculations on Linux actually work right (like the tz-aware
functions in the rfc822 module).

(It's hard to find DST that's currently being used in the southern
hemisphere; I tested using Africa/Windhoek.)
"""
/external/python/cpython2/Modules/timemodule.c
d3eb5774ad18683aff2a7316242914459e422e26 09-Mar-1999 Guido van Rossum <guido@python.org> Patch by Chris Herborth for BeOS code.
He writes:

I had an off-by-1000 error in floatsleep(),
and the problem with time.clock() is that it's not implemented properly
on QNX... ANSI says it's supposed to return _CPU_ time used by the
process, but on QNX it returns the amount of real time used... so I was
confused.
/external/python/cpython2/Modules/timemodule.c
c222ec28a54089da3b15da5e06fb7f78ba294866 23-Feb-1999 Guido van Rossum <guido@python.org> Patch by Tadayoshi Funaba (with some changes) to be smarter about
guessing what happened when strftime() returns 0. Is it buffer
overflow or was the result simply 0 bytes long? (This happens for an
empty format string, or when the format string is a single %Z and the
timezone is unknown.) if the buffer is at least 256 times as long as
the format, assume the latter.
/external/python/cpython2/Modules/timemodule.c
360eb9f278a3c225000aecdef105fbba6593639a 22-Feb-1999 Guido van Rossum <guido@python.org> We don't support leap seconds, so the seconds field of a time 9-tuple
should be in the range [0-59]. Noted by Tadayoshi Funaba.
/external/python/cpython2/Modules/timemodule.c
446ccfe1ac97f5dc05a0ba89fc0a912981235099 07-Jan-1999 Guido van Rossum <guido@python.org> The doc string for strptime had the arguments reversed -- the string
comes first, the format second! Scott Cotton discovered this.
/external/python/cpython2/Modules/timemodule.c
0a6363d7e1d3061211faa2323752819e371e0ad2 03-Jan-1999 Guido van Rossum <guido@python.org> Get rid of the strptype() declaration -- on some BSD systems, it's a
conflict, and it should be declared in time.h anyway.
(Too bad if gcc -Wall won't be happy if it isn't declared...)
/external/python/cpython2/Modules/timemodule.c
3886bb6997f8f7b0b64eed19045161e697f415fe 04-Dec-1998 Guido van Rossum <guido@python.org> Add DL_EXPORT() to all modules that could possibly be used
on BeOS or Windows.
/external/python/cpython2/Modules/timemodule.c
c20687355b02106bd6a13ec3a3a26c5379e6097c 07-Oct-1998 Guido van Rossum <guido@python.org> Make gcc -Wall happy:
(1) add dummy decl for strptime();
(2) move the code to set accept2dyear to the front of inittime().
/external/python/cpython2/Modules/timemodule.c
2645241adda213a2f65c7792f4e13c0686bb0daf 29-Sep-1998 Guido van Rossum <guido@python.org> Fixes for OS/2 by Jeff Rush.
/external/python/cpython2/Modules/timemodule.c
cfbaecc5468030bb3f17dbeb9e7afa1bf3363920 25-Aug-1998 Guido van Rossum <guido@python.org> Y2K fix affecting asctime(), mktime(), strftime().

2-digit years are now converted using rules that are (according to
Fredrik Lundh) recommended by POSIX or X/Open: 0-68 mean 2000-2068,
69-99 mean 1969-1999.

2-digit years are now only accepted if time.accept2dyear is set to a
nonzero integer; if it is zero or not an integer or absent, only year
values >= 1900 are accepted. Year values 100-1899 and negative year
values are never accepted.

The initial value of time.accept2dyear depends on the environment
variable PYTHONY2K: if PYTHONY2K is set and non-empty,
time.accept2dyear is initialized to 0; if PYTHONY2K is empty or not
set, time.accept2dyear is initialized to 0.
/external/python/cpython2/Modules/timemodule.c
bcc207484a0f8f27a684e11194e7430c0710f66d 05-Aug-1998 Guido van Rossum <guido@python.org> Changes for BeOS, QNX and long long, by Chris Herborth.
/external/python/cpython2/Modules/timemodule.c
0ef577b9668db07fadcf555ee596955261b8591a 27-Jun-1998 Guido van Rossum <guido@python.org> Added doc strings.
/external/python/cpython2/Modules/timemodule.c
87ce7bbc396c6eea2d1151ab89ccfeff3830460f 09-Jun-1998 Guido van Rossum <guido@python.org> Added strptime, if it exists. Modified after a patch by Jesse Hallio.
/external/python/cpython2/Modules/timemodule.c
1f41f846a3fc369c4d68eee962a059ca3a51ccf3 27-Apr-1998 Guido van Rossum <guido@python.org> Instead of calling mktime(), which has all sorts of unwanted side
effects, simply zero out the struct tm buffer before using it; this
should take care of the BSD folks' concern just as well.
/external/python/cpython2/Modules/timemodule.c
60cd8138105581451592c8a6cc3e712588294595 06-Mar-1998 Guido van Rossum <guido@python.org> Check for HAVE_MKTIME (if you don't have it, some tests will fail, but
at least the build will now succeed). For Sony NEWS-OS, BSD 4.3 based.
/external/python/cpython2/Modules/timemodule.c
78535706517b3e6bf0c2e594e3c53dbed10c016e 03-Mar-1998 Guido van Rossum <guido@python.org> Raise ValueError: "unconvertible time" when ctime() returns NULL,
instead of dumping core.
/external/python/cpython2/Modules/timemodule.c
1d0d7e4e48ce80cc5edc033983b25e7eadd762d1 29-Dec-1997 Guido van Rossum <guido@python.org> At Jeff Rush' request, add Py_BEGIN/END_ALLOW_THREADS around call to
DosSleep().
/external/python/cpython2/Modules/timemodule.c
be1eb0d9edc4720d97b2f5eac085d77b6dd34346 08-Dec-1997 Guido van Rossum <guido@python.org> (1) call mktime() just before strftime(); it normalizes the buffer and
may set the timezone name for BSD systems...

(2) fake all of the timezone variables for the mac.
/external/python/cpython2/Modules/timemodule.c
7bf22de75356e3e5f91027f0e9746db33b924147 02-Dec-1997 Guido van Rossum <guido@python.org> Patch for QNX, by Chris Herborth.
/external/python/cpython2/Modules/timemodule.c
8e9ebfd337f18f7b707853a3f2f49cc6245c0596 22-Nov-1997 Guido van Rossum <guido@python.org> os2 patch by Jeff Rush
/external/python/cpython2/Modules/timemodule.c
8607ae2e570c9a9c31419418d5665b4eb4853003 03-Nov-1997 Guido van Rossum <guido@python.org> Move the Py_{{BEGIN,END}_ALLOW,BLOCK}_THREADS macros in time_sleep()
to inside floatsleep(). This is necessary because floatsleep() does
the error handling and it must have grabbed the interpreter lock and
thread state before it can do so.
/external/python/cpython2/Modules/timemodule.c
e6a4b7bf3eaf299ec8765b4bec74bf4c7f4db60f 08-Oct-1997 Guido van Rossum <guido@python.org> timezone support for macintosh (Jack)
/external/python/cpython2/Modules/timemodule.c
3917c22125216b1926ab1e42856136954d566e4c 02-Apr-1997 Guido van Rossum <guido@python.org> Win32 precision clock() -- Mark Hammond.
/external/python/cpython2/Modules/timemodule.c
a78bfe198565e25148b57a58fc5bec01ada8f6ab 14-Feb-1997 Guido van Rossum <guido@python.org> Issue a more meaningful error if strftime keeps returning a NULL pointer.
Run the loop up to and including 8k.
/external/python/cpython2/Modules/timemodule.c
4a6cf4167b557894cfd122865f0a4991a005b39b 13-Jan-1997 Barry Warsaw <barry@python.org> Formatting, and minor error detection
/external/python/cpython2/Modules/timemodule.c
52174577eb66cb5e54b3230a16e99dd5b76b6c23 09-Dec-1996 Guido van Rossum <guido@python.org> Added #ifdef around ``extern int ftime();'' for MS WINDOWS (which has
a conflicting definition somewhere).
Resolved line wrap for error message in ins().
/external/python/cpython2/Modules/timemodule.c
ec775c52a26cf4b1090e7038dfe4f999378ac9c8 09-Dec-1996 Barry Warsaw <barry@python.org> ins(): missed a renaming in a string: dictinsert =>
PyDict_SetItemString.

GvR: note the long line > 80 chars. Wrapping suggestions?
/external/python/cpython2/Modules/timemodule.c
9a2a8a8d31795a00a6e06107b1b0ff44d0d601ff 07-Dec-1996 Barry Warsaw <barry@python.org> Greatly renamed.
/external/python/cpython2/Modules/timemodule.c
1bb126fa136ef25c9d103f658907d42bb9f2b452 06-Dec-1996 Guido van Rossum <guido@python.org> Add extern decl of ftime() to make gcc -Wall happy.
/external/python/cpython2/Modules/timemodule.c
0b1ff66920a5d7dcdbd1f8f7eb9d26ded5f971ed 02-Nov-1996 Guido van Rossum <guido@python.org> Should compare errno to 0, not NULL
/external/python/cpython2/Modules/timemodule.c
d266eb460e20ded087d01a29da0a230e235afc40 25-Oct-1996 Guido van Rossum <guido@python.org> New permission notice, includes CNRI.
/external/python/cpython2/Modules/timemodule.c
6e8583dcb3c2da749349cc14621748c3920f07b2 08-Oct-1996 Guido van Rossum <guido@python.org> Check for NULL pointer returned from localtime()/gmtime().
/external/python/cpython2/Modules/timemodule.c
b2fb36498ded10362c65712a816f120e31d30126 07-Sep-1996 Guido van Rossum <guido@python.org> Sleep() turns out to be win32 specific.
The timezone etc. overrides are win16 specific.
Hope I got this right now...
/external/python/cpython2/Modules/timemodule.c
cac6c721057d84ebfda870be61aa318819eb4267 06-Sep-1996 Guido van Rossum <guido@python.org> Some changes for better Windows portability.
/external/python/cpython2/Modules/timemodule.c
99d90c0d0e3716952740eaaa6853be3f6508a7fd 08-Aug-1996 Guido van Rossum <guido@python.org> Include "mymath.h" instead of manually declaring math functions.
/external/python/cpython2/Modules/timemodule.c
bceeac8dc1627c307e64c2ace9dcd1e486636ad8 24-May-1996 Guido van Rossum <guido@python.org> Watcom changes.
Add mktime() overflow test and make it NeXT robust by initializing
the structure from localtime().
/external/python/cpython2/Modules/timemodule.c
1b66a4f01d221306c78c4d6cd268cf6dd0720859 25-Feb-1996 Guido van Rossum <guido@python.org> default CLOCKS_PER_SEC to CLK_TCK if it exists
/external/python/cpython2/Modules/timemodule.c
5416e200375537b3559caa6f5722780844fbd9fe 13-Feb-1996 Guido van Rossum <guido@python.org> mark strftime as varargs
/external/python/cpython2/Modules/timemodule.c
8ccfc93c2f21205ae8c70ea2ece74be8451197d5 03-Oct-1995 Jack Jansen <jack.jansen@cwi.nl> Removed unused variable
/external/python/cpython2/Modules/timemodule.c
8d8c1eeed7fa7749f8247d1b5172acbb033f87ac 13-Sep-1995 Guido van Rossum <guido@python.org> added time.strftime()
/external/python/cpython2/Modules/timemodule.c
cc08112ff4985b0d400acf50de7389ec27362f53 14-Mar-1995 Guido van Rossum <guido@python.org> tiny additions for Windows 3.1
/external/python/cpython2/Modules/timemodule.c
a320fd308c9c8ac4775f83d2b8edb9af90192741 09-Mar-1995 Guido van Rossum <guido@python.org> changes for MPW
/external/python/cpython2/Modules/timemodule.c
8239f0ffa0ea6c605144145c6de45bbbb742f598 22-Jan-1995 Guido van Rossum <guido@python.org> fix leaks
/external/python/cpython2/Modules/timemodule.c
524b588553afb0759c5be590a7aa41db92dcd2ae 04-Jan-1995 Guido van Rossum <guido@python.org> Added 1995 to copyright message.
Setup.in: clarified Tk comments somewhat.
structmodule.c: use memcpy() instead of double precision assignment.
/external/python/cpython2/Modules/timemodule.c
3bbc62e9c25d4c006cd21d6b1314ccf0ba211382 02-Jan-1995 Guido van Rossum <guido@python.org> Another bulky set of minor changes.
Note addition of gethostbyaddr() and improved repr() for sockets,
renaming of md5.md5() to md5.new(), and fixing of leaks in threads.
/external/python/cpython2/Modules/timemodule.c
7b1e974b4bd7c17cd90a6d03bab0aaa079d78d29 29-Aug-1994 Guido van Rossum <guido@python.org> Makefile.pre.in: add $(OPT) to link command
audioop.c: fix for MPW
config.c.in: save original argc/argv for Lance
rotormodule.c: new coding conventions
timemodule.c: add casts for Lance
/external/python/cpython2/Modules/timemodule.c
b6775db241f5fe5e3dc2ca09fc6c9e6164d4b2af 01-Aug-1994 Guido van Rossum <guido@python.org> Merge alpha100 branch back to main trunk
/external/python/cpython2/Modules/timemodule.c
b376a4ad1848d1319245f440c85ef265e1fef401 23-Nov-1993 Guido van Rossum <guido@python.org> * timemodule.c: Add hack for Solaris 2.
* posixmodule.c: don't prototype getcwd() -- it's not portable...
* mappingobject.c: double-check validity of last_name_char in
dict{lookup,insert,remove}.
* arraymodule.c: need memmove only for non-STDC Suns.
* Makefile: comment out HTML_LIBS and XT_USE by default
* pythonmain.c: don't prototype getopt() -- it's not standardized
* socketmodule.c: cast flags arg to {get,set}sockopt() and addrbuf arg to
recvfrom() to (ANY*).
* pythonrun.c (initsigs): fix prototype, make it static
* intobject.c (LONG_BIT): only #define it if not already defined
* classobject.[ch]: remove all references to unused instance_convert()
* mappingobject.c (getmappingsize): Don't return NULL in int function.
/external/python/cpython2/Modules/timemodule.c
e22e6442b748f5f4703cb6f221e1e10b320d0295 09-Jul-1993 Guido van Rossum <guido@python.org> * config.c: different default PYTHONPATH for MS-DOS
* timemodule.c: change #ifdef TURBO_C into #ifdef MSDOS
* posixmodule.c: MSDOS changes by Marcel van der Peijl (Digicash)
* stropmodule.c: use C isspace(c) to test for whitespace; add
whitespace, lowercase and uppercase variables to the module.
/external/python/cpython2/Modules/timemodule.c
f1dc56632881fe4e5beed047580bf927679f3669 05-Jul-1993 Guido van Rossum <guido@python.org> * Makefile: added all: and default: targets.
* many files: made some functions static; removed "extern int errno;".
* frozenmain.c: fixed bugs introduced on 24 June...
* flmodule.c: remove 1.5 bw compat hacks, add new functions in 2.2a
(and some old functions that were omitted).
* timemodule.c: added MSDOS floatsleep version .
* pgenmain.c: changed exit() to goaway() and added defn of goaway().
* intrcheck.c: add hack (to UNIX only) so interrupting 3 times
will exit from a hanging program. The second interrupt prints
a message explaining this to the user.
/external/python/cpython2/Modules/timemodule.c
9e90a672b44e2acfd5c6dabfb9435bb4bb46c845 24-Jun-1993 Guido van Rossum <guido@python.org> * pythonmain.c: -k option, usage message, more environment flags.
(the latter also in frozenmain.c)
* ceval.c: global 'killprint' flag raises exception when printing an
expression statement's value (useful for finding stray output)
* timemodule.c: add asctime() and ctime(). Change julian date to
1-based origin (as intended and documented).
* Removed unused DO_TIMES stuff from timemodule.c. Added 'epoch' and
'day0' globals (year where time.time() == 0 and day of the week the
epoch started).
/external/python/cpython2/Modules/timemodule.c
234f942aefb779efa6cfb7225e21d16a3f7e80f7 17-Jun-1993 Guido van Rossum <guido@python.org> * Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c.
Added $(SYSDEF) to its build rule in Makefile.
* cgensupport.[ch], modsupport.[ch]: removed some old stuff. Also
changed files that still used it... And made several things static
that weren't but should have been... And other minor cleanups...
* listobject.[ch]: add external interfaces {set,get}listslice
* socketmodule.c: fix bugs in new send() argument parsing.
* sunaudiodevmodule.c: added flush() and close().
/external/python/cpython2/Modules/timemodule.c
0b0db8e3a07c92786fde60bf53bd1d5aa32e0aae 21-Jan-1993 Guido van Rossum <guido@python.org> Added separate main program for the Mac: macmain.c
stdwinmodule.c: wsetfont can now return an error
Makefile: add CL_USE and CL_LIB*S; config.c: move CL part around
New things in imgfile; also in Makefile.
longobject.c: fix comparison of negative long ints... [REAL BUG!]
marshal.c: add dumps() and loads() to read/write strings
timemodule.c: make sure there's always a floatsleep()
posixmodule.c: rationalize struct returned by times()
Makefile: add test target, disable imgfile by default
thread.c: Improved coexistance with dl module (sjoerd)
stdwinmodule.c: Change include stdwin.h if macintosh
rotormodule.c: added missing last argument to RTR_?_region calls
confic.c: merged with configmac.c, added 1993 to copyright message
fileobject.c: int compared to NULL in writestring(); change fopenRF ifdef
timemodule.c: simplify times() using mkvalue; include myselect.h
earlier (for sequent).
posixmodule: for sequent, include unistd.h instead of explicit
extern definitions and don't define rename()
Makefile: change misleading/wrong MD5 comments
/external/python/cpython2/Modules/timemodule.c
775f4dacbc8163f085e07ea4195cf5b67dce5124 09-Jan-1993 Guido van Rossum <guido@python.org> * Makefile: use cp -r to install the library
* ceval.c: use #ifdef COMPAT_HACKS instead of #if 0
* Makefile: fix to make clmodule.c compile;
make config.o dependent on libpython.a (so date is always correct)
* timemodule.c: now sleep() also takes a float argument.
* posixmodule.c: added nice().
/external/python/cpython2/Modules/timemodule.c
a2b7f40513ba5d75a2063c3fabe47377cd8c0416 04-Jan-1993 Guido van Rossum <guido@python.org> * Configure.py: use #!/usr/local/bin/python
* posixmodule.c: move extern function declarations to top
* listobject.c: cmp() arguments must be void* if __STDC__
* Makefile, allobjects.h, panelmodule.c, modsupport.c: get rid of
strdup() -- it is a portability risk
* Makefile: enclosed ranlib command in parentheses for Sequent Make
which aborts if the command is not found even if '-' is present
* timemodule.c: time() returns a floating point number, in microsecond
precision if BSD_TIME is defined.
/external/python/cpython2/Modules/timemodule.c
6d946f98bd233efa676b7a05cb01cd0ca92549c0 14-Aug-1992 Guido van Rossum <guido@python.org> * macmodule.c: include allobjects.h, not .c
* timemodule.c: the mac has no unistd.h
* classobject.c: fixed several cases of return NULL that should be
return -1 !!!
/external/python/cpython2/Modules/timemodule.c
ff4949eeee7f86117d4a69599777ff5564315e39 05-Aug-1992 Guido van Rossum <guido@python.org> * Makefile: cosmetics
* socketmodule.c: get rid of makepair(); fix makesocketaddr to fix
broken recvfrom()
* socketmodule: get rid of getStrarg()
* ceval.h: move eval_code() to new file eval.h, so compile.h is no
longer needed.
* ceval.c: move thread comments to ceval.h; always make save/restore
thread functions available (for dynloaded modules)
* cdmodule.c, listobject.c: don't include compile.h
* flmodule.c: include ceval.h
* import.c: include eval.h instead of ceval.h
* cgen.py: add forground(); noport(); winopen(""); to initgl().
* bltinmodule.c, socketmodule.c, fileobject.c, posixmodule.c,
selectmodule.c:
adapt to threads (add BGN/END SAVE macros)
* stdwinmodule.c: adapt to threads and use a special stdwin lock.
* pythonmain.c: don't include getpythonpath().
* pythonrun.c: use BGN/END SAVE instead of direct calls; also more
BGN/END SAVE calls etc.
* thread.c: bigger stack size for sun; change exit() to _exit()
* threadmodule.c: use BGN/END SAVE macros where possible
* timemodule.c: adapt better to threads; use BGN/END SAVE; add
longsleep internal function if BSD_TIME; cosmetics
/external/python/cpython2/Modules/timemodule.c
1984f1e1c6306d4e8073c28d2395638f80ea509b 04-Aug-1992 Guido van Rossum <guido@python.org> * Makefile adapted to changes below.
* split pythonmain.c in two: most stuff goes to pythonrun.c, in the library.
* new optional built-in threadmodule.c, build upon Sjoerd's thread.{c,h}.
* new module from Sjoerd: mmmodule.c (dynamically loaded).
* new module from Sjoerd: sv (svgen.py, svmodule.c.proto).
* new files thread.{c,h} (from Sjoerd).
* new xxmodule.c (example only).
* myselect.h: bzero -> memset
* select.c: bzero -> memset; removed global variable
/external/python/cpython2/Modules/timemodule.c
ed233a56963233bbd646fdac01e55c9fdec50a30 23-Jun-1992 Guido van Rossum <guido@python.org> Changes for new UNIX-specific built-in module 'select' and new header for
interfaces to variants of select() system call, "myselect.h". This includes
adding fileno() methods to files, sockets and stdwin.
/external/python/cpython2/Modules/timemodule.c
dfd6e4677944172e98a3d04d4e9a7d440f0b1414 12-Jun-1992 Guido van Rossum <guido@python.org> Fix for SEQUENT by Jaap Vermeulen
/external/python/cpython2/Modules/timemodule.c
f1644a54adbb4c7b690560df8ca923f1e7a9e848 05-Apr-1992 Guido van Rossum <guido@python.org> Don't define DO_TIMES (now in posixmodule.c)
/external/python/cpython2/Modules/timemodule.c
2762f250ebd42ed2f8b65cf9cd56bc65275c0b20 27-Mar-1992 Guido van Rossum <guido@python.org> Initialized sigsave to shut lint up
/external/python/cpython2/Modules/timemodule.c
27aaa6daa941ed945a0d200c1598b467e7a8bc3b 12-Mar-1992 Guido van Rossum <guido@python.org> Add interface to times(2).
/external/python/cpython2/Modules/timemodule.c
0bb1a51925d686964efd059ed03ee5fff35b0041 27-Nov-1991 Guido van Rossum <guido@python.org> AIX fix.
/external/python/cpython2/Modules/timemodule.c
00c567ce6f7c796a11ca3db36b22b6dbd24797cc 28-Jul-1991 Guido van Rossum <guido@python.org> All mac compilers now use 1904 as the Epoch...
/external/python/cpython2/Modules/timemodule.c
1d2a9ade93c3f7e526c3bd2d8e6490b151c188ff 25-Jun-1991 Guido van Rossum <guido@python.org> Generalize to macintosh; forget Think 3.0.
/external/python/cpython2/Modules/timemodule.c
6a1f54c09c6a94f5ac617e0f8c2329d73b329570 05-May-1991 Guido van Rossum <guido@python.org> Include sys/select.h for IBM R2
/external/python/cpython2/Modules/timemodule.c
80c9d88cbfb50dcf65e57da7283ee2d73b8d3698 16-Apr-1991 Guido van Rossum <guido@python.org> New hacks for include files to get time_t in the most portable way.
Added Turbo C milli functions (courtesy Mark Anacker)
Disable THINK C sleep for 4.0
/external/python/cpython2/Modules/timemodule.c
6590d4a250f804999b8d2e1453afffac268818c6 04-Apr-1991 Guido van Rossum <guido@python.org> Hack for THINK C time function.
Made more functions externally visible.
/external/python/cpython2/Modules/timemodule.c
5662746a9e0545120d5a0368b465bc93aee3a069 03-Apr-1991 Guido van Rossum <guido@python.org> Made millitimer() and millisleep() global (what the heck...).
/external/python/cpython2/Modules/timemodule.c
f70e43a073b36c6f6e9894c01025243a77a452d4 19-Feb-1991 Guido van Rossum <guido@python.org> Added copyright notice.
/external/python/cpython2/Modules/timemodule.c
426035c54322ed474f97d722d07861825c826d41 19-Feb-1991 Guido van Rossum <guido@python.org> Added BSD implementations of millisleep.
/external/python/cpython2/Modules/timemodule.c
3f5da24ea304e674a9abbdcffc4d671e32aa70f1 20-Dec-1990 Guido van Rossum <guido@python.org> "Compiling" version
/external/python/cpython2/Modules/timemodule.c
85a5fbbdfea617f6cc8fae82c9e8c2b5c424436d 14-Oct-1990 Guido van Rossum <guido@python.org> Initial revision
/external/python/cpython2/Modules/timemodule.c