Guido van Rossum
1d0d7e4e48
At Jeff Rush' request, add Py_BEGIN/END_ALLOW_THREADS around call to
...
DosSleep().
1997-12-29 20:03:10 +00:00
Guido van Rossum
be1eb0d9ed
(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.
1997-12-08 21:56:43 +00:00
Guido van Rossum
7bf22de753
Patch for QNX, by Chris Herborth.
1997-12-02 20:34:19 +00:00
Guido van Rossum
8e9ebfd337
os2 patch by Jeff Rush
1997-11-22 21:53:48 +00:00
Guido van Rossum
8607ae2e57
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.
1997-11-03 22:04:46 +00:00
Guido van Rossum
e6a4b7bf3e
timezone support for macintosh (Jack)
1997-10-08 15:27:56 +00:00
Guido van Rossum
3917c22125
Win32 precision clock() -- Mark Hammond.
1997-04-02 05:35:28 +00:00
Guido van Rossum
a78bfe1985
Issue a more meaningful error if strftime keeps returning a NULL pointer.
...
Run the loop up to and including 8k.
1997-02-14 16:35:10 +00:00
Barry Warsaw
4a6cf4167b
Formatting, and minor error detection
1997-01-13 22:44:55 +00:00
Guido van Rossum
52174577eb
Added #ifdef around ``extern int ftime();'' for MS WINDOWS (which has
...
a conflicting definition somewhere).
Resolved line wrap for error message in ins().
1996-12-09 18:38:52 +00:00
Barry Warsaw
ec775c52a2
ins(): missed a renaming in a string: dictinsert =>
...
PyDict_SetItemString.
GvR: note the long line > 80 chars. Wrapping suggestions?
1996-12-09 18:24:35 +00:00
Barry Warsaw
9a2a8a8d31
Greatly renamed.
1996-12-06 23:32:14 +00:00
Guido van Rossum
1bb126fa13
Add extern decl of ftime() to make gcc -Wall happy.
1996-12-06 20:17:44 +00:00
Guido van Rossum
0b1ff66920
Should compare errno to 0, not NULL
1996-11-02 17:31:22 +00:00
Guido van Rossum
d266eb460e
New permission notice, includes CNRI.
1996-10-25 14:44:06 +00:00
Guido van Rossum
6e8583dcb3
Check for NULL pointer returned from localtime()/gmtime().
1996-10-08 14:19:52 +00:00
Guido van Rossum
b2fb36498d
Sleep() turns out to be win32 specific.
...
The timezone etc. overrides are win16 specific.
Hope I got this right now...
1996-09-07 00:47:35 +00:00
Guido van Rossum
cac6c72105
Some changes for better Windows portability.
1996-09-06 13:34:02 +00:00
Guido van Rossum
99d90c0d0e
Include "mymath.h" instead of manually declaring math functions.
1996-08-08 19:17:45 +00:00
Guido van Rossum
bceeac8dc1
Watcom changes.
...
Add mktime() overflow test and make it NeXT robust by initializing
the structure from localtime().
1996-05-23 22:53:47 +00:00
Guido van Rossum
1b66a4f01d
default CLOCKS_PER_SEC to CLK_TCK if it exists
1996-02-25 04:50:33 +00:00
Guido van Rossum
5416e20037
mark strftime as varargs
1996-02-13 00:14:09 +00:00
Jack Jansen
8ccfc93c2f
Removed unused variable
1995-10-03 14:39:44 +00:00
Guido van Rossum
8d8c1eeed7
added time.strftime()
1995-09-13 17:38:35 +00:00
Guido van Rossum
cc08112ff4
tiny additions for Windows 3.1
1995-03-14 15:05:41 +00:00