Steve Dower
|
8fc8980c96
|
Issue #23524: Replace _PyVerify_fd function with calls to _set_thread_local_invalid_parameter_handler.
|
2015-04-12 00:26:27 -04:00 |
|
Benjamin Peterson
|
55c14355ac
|
fix building without threads (closes #23877)
|
2015-04-06 09:59:23 -04:00 |
|
Serhiy Storchaka
|
92e8af67a8
|
Issue #23492: Argument Clinic now generates argument parsing code with
PyArg_Parse instead of PyArg_ParseTuple if possible.
|
2015-04-04 00:12:11 +03:00 |
|
Serhiy Storchaka
|
1009bf18b3
|
Issue #23501: Argumen Clinic now generates code into separate files by default.
|
2015-04-03 23:53:51 +03:00 |
|
Victor Stinner
|
13019fdef3
|
Issue #22117: Add a new _PyTime_FromSeconds() function
Fix also _Py_InitializeEx_Private(): initialize time before initializing
import, import_init() uses the _PyTime API (for thread locks).
|
2015-04-03 13:10:54 +02:00 |
|
Serhiy Storchaka
|
1399a01b90
|
Issue #22977: Fixed formatting Windows error messages on Wine.
Patch by Martin Panter.
|
2015-04-02 09:50:06 +03:00 |
|
Serhiy Storchaka
|
f41f8f9974
|
Issue #22977: Fixed formatting Windows error messages on Wine.
Patch by Martin Panter.
|
2015-04-02 09:47:27 +03:00 |
|
Victor Stinner
|
97f86b82b7
|
Issue #23836: Use _Py_write_noraise() to retry on EINTR in _Py_DumpTraceback()
and _Py_DumpTracebackThreads(). Document also these functions to explain that
the caller is responsible to call PyErr_CheckSignals().
|
2015-04-01 18:38:01 +02:00 |
|
Victor Stinner
|
6f4fae8a95
|
Issue #23836: Document functions releasing the GIL in fileutils.c
|
2015-04-01 18:34:32 +02:00 |
|
Victor Stinner
|
82c3e4599d
|
Issue #23836: Add _Py_write_noraise() function
Helper to write() which retries write() if it is interrupted by a signal (fails
with EINTR).
|
2015-04-01 18:34:45 +02:00 |
|
Victor Stinner
|
62d1c70eff
|
Issue #22117, issue #23485: Fix _PyTime_AsMilliseconds() and
_PyTime_AsMicroseconds() rounding.
Add also unit tests.
|
2015-04-01 17:47:07 +02:00 |
|
Victor Stinner
|
fa09beb150
|
Issue #23485: Add _PyTime_FromMillisecondsObject() function
|
2015-03-30 21:36:10 +02:00 |
|
Victor Stinner
|
81c6df5c0f
|
(Merge 3.4) Issue #22585: os.urandom() now releases the GIL when the
getentropy() is used (OpenBSD 5.6+).
|
2015-03-30 11:19:07 +02:00 |
|
Victor Stinner
|
9aa1331c6f
|
Issue #22585: os.urandom() now releases the GIL when the getentropy() is used
(OpenBSD 5.6+).
|
2015-03-30 11:18:30 +02:00 |
|
Victor Stinner
|
79b74aeb20
|
Issue #22181: os.urandom() now releases the GIL when the getrandom()
implementation is used.
|
2015-03-30 11:16:40 +02:00 |
|
Victor Stinner
|
45cff0c0e6
|
Issue #22117: Try to fix rounding in conversion from Python double to _PyTime_t
using the C volatile keyword.
|
2015-03-30 10:22:16 +02:00 |
|
Victor Stinner
|
e134a7fe36
|
Issue #23752: _Py_fstat() is now responsible to raise the Python exception
Add _Py_fstat_noraise() function when a Python exception is not welcome.
|
2015-03-30 10:09:31 +02:00 |
|
Victor Stinner
|
a695f83f0d
|
Issue #22117: Remove _PyTime_ROUND_DOWN and _PyTime_ROUND_UP rounding methods
Use _PyTime_ROUND_FLOOR and _PyTime_ROUND_CEILING instead.
|
2015-03-30 03:57:14 +02:00 |
|
Victor Stinner
|
bcdd777d3c
|
Issue #22117: Add _PyTime_ROUND_CEILING rounding method for timestamps
Add also more tests for ROUNd_FLOOR.
|
2015-03-30 03:52:49 +02:00 |
|
Victor Stinner
|
edddf991d9
|
Issue #22117: Add assertions to _PyTime_AsTimeval() and _PyTime_AsTimespec() to
check that microseconds and nanoseconds fits into the specified range.
|
2015-03-30 02:54:57 +02:00 |
|
Victor Stinner
|
ea9c0dd2c2
|
Issue #22117: Fix usage of _PyTime_AsTimeval()
Add _PyTime_AsTimeval_noraise() function. Call it when it's not possible (or
not useful) to raise a Python exception on overflow.
|
2015-03-30 02:51:13 +02:00 |
|
Victor Stinner
|
f81f0f9c63
|
Issue #22117: Fix rounding and implement _PyTime_ROUND_FLOOR in:
- _PyTime_ObjectToTime_t()
- _PyTime_ObjectToTimespec()
- _PyTime_ObjectToTimeval()
|
2015-03-30 00:44:06 +02:00 |
|
Victor Stinner
|
1bd18ba9a7
|
Issue #22117: Cleanup pytime.c/.h
|
2015-03-30 00:25:38 +02:00 |
|
Victor Stinner
|
09e5cf28ae
|
Issue #22117: Use the _PyTime_t API in _datetime.datetime() constructor
* Remove _PyTime_gettimeofday()
* Add _PyTime_GetSystemClock()
|
2015-03-30 00:09:18 +02:00 |
|
Victor Stinner
|
cb0c60258b
|
Issue #22117: Fix _PyTime_GetMonotonicClock() and
_PyTime_GetSystemClockWithInfo() to not raise an exception and return 0 on
error (it should never occur)
|
2015-03-28 05:24:19 +01:00 |
|