An error occurred fetching the project authors.
- 24 Oct, 2017 1 commit
-
-
Victor Stinner authored
Fix the pthread+semaphore implementation of PyThread_acquire_lock_timed() when called with timeout > 0 and intr_flag=0: recompute the timeout if sem_timedwait() is interrupted by a signal (EINTR). See also the PEP 475. The pthread implementation of PyThread_acquire_lock() now fails with a fatal error if the timeout is larger than PY_TIMEOUT_MAX, as done in the Windows implementation. The check prevents any risk of overflow in PyThread_acquire_lock(). Add also PY_DWORD_MAX constant.
-
- 29 Sep, 2017 1 commit
-
-
Benjamin Peterson authored
-
- 12 Sep, 2017 1 commit
-
-
Eric Snow authored
PR #3397 introduced a large number of warnings to the Windows build. This patch fixes them.
-
- 07 Sep, 2017 1 commit
-
-
Antoine Pitrou authored
* Remove Setup.config * Always define WITH_THREAD for compatibility.
-
- 21 Apr, 2017 1 commit
-
-
Benjamin Peterson authored
We require C99, so a configure test for this standard feature is not needed.
-
- 08 Mar, 2017 1 commit
-
-
n.d. parker authored
-
- 03 Mar, 2017 1 commit
-
-
Joseph Shen authored
#ifdef HAVE_DECLSPEC_DLL / #endif mismatch
-
- 11 Jan, 2017 1 commit
-
-
Victor Stinner authored
Issue #29234: Inlining _PyStack_AsTuple() into callers increases their stack consumption, Disable inlining to optimize the stack consumption. Add _Py_NO_INLINE: use __attribute__((noinline)) of GCC and Clang. It reduces the stack consumption, bytes per call, before => after: test_python_call: 1040 => 976 (-64 B) test_python_getitem: 976 => 912 (-64 B) test_python_iterator: 1120 => 1056 (-64 B) => total: 3136 => 2944 (- 192 B)
-
- 05 Jan, 2017 1 commit
-
-
Victor Stinner authored
Fix backward compatibility issue, HAVE_LONG_LONG was defined but empty, whereas it is defined as 1 in Python 3.5.
-
- 08 Dec, 2016 2 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
(grafted from 4745d801cae2d57e3432313acd0b76b8b4cc9c75)
-
- 15 Nov, 2016 1 commit
-
-
Victor Stinner authored
It's common to see these functions in the top 3 of "perf report".
-
- 11 Nov, 2016 1 commit
-
-
Victor Stinner authored
When Python is not compiled with PGO, the performance of Python on call_simple and call_method microbenchmarks depend highly on the code placement. In the worst case, the performance slowdown can be up to 70%. The GCC __attribute__((hot)) attribute helps to keep hot code close to reduce the risk of such major slowdown. This attribute is ignored when Python is compiled with PGO. The following functions are considered as hot according to statistics collected by perf record/perf report: * _PyEval_EvalFrameDefault() * call_function() * _PyFunction_FastCall() * PyFrame_New() * frame_dealloc() * PyErr_Occurred()
-
- 21 Sep, 2016 1 commit
-
-
Benjamin Peterson authored
-
- 20 Sep, 2016 1 commit
-
-
Benjamin Peterson authored
-
- 19 Sep, 2016 2 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 13 Sep, 2016 1 commit
-
-
Christian Heimes authored
-
- 08 Sep, 2016 1 commit
-
-
Benjamin Peterson authored
-
- 07 Sep, 2016 1 commit
-
-
Benjamin Peterson authored
-
- 06 Sep, 2016 5 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 15 Aug, 2016 2 commits
- 22 May, 2016 1 commit
-
-
Stefan Krah authored
api-level >= 23. Patch by Xavier de Gaye.
-
- 14 Apr, 2015 1 commit
-
-
Berker Peksag authored
-
- 12 Apr, 2015 1 commit
-
-
Steve Dower authored
Issue #23524: Replace _PyVerify_fd function with calls to _set_thread_local_invalid_parameter_handler.
-
- 24 Mar, 2015 1 commit
-
-
Victor Stinner authored
fstat(), these functions are always required. Remove HAVE_STAT and HAVE_FSTAT defines, and stop supporting DONT_HAVE_STAT and DONT_HAVE_FSTAT.
-
- 17 Apr, 2014 1 commit
-
-
Benjamin Peterson authored
Patch from Andreas Schwab.
-
- 23 Nov, 2013 1 commit
-
-
Larry Hastings authored
"format units" as legacy converters, as well as two new features: "self converters" and the "version" directive.
-
- 20 Nov, 2013 1 commit
-
-
Christian Heimes authored
Python now uses SipHash24 on all major platforms.
-
- 19 Oct, 2013 2 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
- 27 Aug, 2013 1 commit
-
-
Serhiy Storchaka authored
error messages and comments.
-
- 24 Jun, 2013 1 commit
-
-
Victor Stinner authored
-
- 23 Jun, 2013 1 commit
-
-
Christian Heimes authored
of arbitrary looking numbers.
-
- 22 Jun, 2013 1 commit
-
-
Victor Stinner authored
-