Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge from 3.5 | Steve Dower | 2015-09-06 | 1 | -2/+70 |
|\ | |||||
| * | Merge from 3.5.0 branch. | Steve Dower | 2015-09-06 | 1 | -2/+70 |
| |\ | |||||
| | * | Issue #24305: Prevent import subsystem stack frames from being counted | Larry Hastings | 2015-09-06 | 1 | -2/+70 |
| | | | | | | | | | | | | by the warnings.warn(stacklevel=) parameter. | ||||
* | | | Issue #15989: Fixed some scarcely probable integer overflows. | Serhiy Storchaka | 2015-09-06 | 2 | -6/+6 |
| | | | | | | | | | | | | It is very unlikely that they can occur in real code for now. | ||||
* | | | Issue #23517: Fix implementation of the ROUND_HALF_UP rounding mode in | Victor Stinner | 2015-09-04 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp(). microseconds sign should be kept before rounding. | ||||
* | | | Merge 3.5 (create_stdio) | Victor Stinner | 2015-09-04 | 1 | -42/+37 |
|\ \ \ | |/ / | |||||
| * | | Merge 3.4 (create_stdio) | Victor Stinner | 2015-09-04 | 1 | -42/+37 |
| |\ \ | |||||
| | * | | Fix race condition in create_stdio() | Victor Stinner | 2015-09-04 | 1 | -40/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #24891: Fix a race condition at Python startup if the file descriptor of stdin (0), stdout (1) or stderr (2) is closed while Python is creating sys.stdin, sys.stdout and sys.stderr objects. These attributes are now set to None if the creation of the object failed, instead of raising an OSError exception. Initial patch written by Marco Paolini. | ||||
| | * | | Issue #24728: Fix building without threads. | Berker Peksag | 2015-07-27 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | Patch by Louis Dassy. | ||||
* | | | | Don't abuse volatile keyword in pytime.c | Victor Stinner | 2015-09-03 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | Only use it on the most important number. This change fixes also a compiler warning on modf(). | ||||
* | | | | Enhance _PyTime_AsTimespec() | Victor Stinner | 2015-09-03 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | Ensure that the tv_nsec field is set, even if the function fails with an overflow. | ||||
* | | | | Merge 3.5 (namereplace) | Victor Stinner | 2015-09-03 | 1 | -7/+5 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #24993: Handle import error in namereplace error handler | Victor Stinner | 2015-09-03 | 1 | -7/+5 |
| | | | | | | | | | | | | | | | | | | | | Handle PyCapsule_Import() failure (exception) in PyCodec_NameReplaceErrors(): return immedialty NULL. | ||||
* | | | | Fix ast_for_atom() | Victor Stinner | 2015-09-03 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | Clear PyObject_Str() exception if it failed, ast_error() should not be called with an exception set. | ||||
* | | | | Merge 3.5 (monotonic) | Victor Stinner | 2015-09-03 | 1 | -13/+3 |
|\ \ \ \ | |/ / / | |||||
| * | | | oops, rename pymonotonic_new() to pymonotonic() | Victor Stinner | 2015-09-03 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | I was not supposed to commit the function with the name pymonotonic_new(). I forgot to rename it. | ||||
| * | | | Issue #24707: Remove assertion in monotonic clock | Victor Stinner | 2015-09-03 | 1 | -10/+0 |
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Don't check anymore at runtime that the monotonic clock doesn't go backward. Yes, it happens. It occurs sometimes each month on a Debian buildbot slave running in a VM. The problem is that Python cannot do anything useful if a monotonic clock goes backward. It was decided in the PEP 418 to not fix the system, but only expose the clock provided by the OS. | ||||
* | | | Issue #23517: datetime.timedelta constructor now rounds microseconds to nearest | Victor Stinner | 2015-09-02 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | with ties going away from zero (ROUND_HALF_UP), as Python 2 and Python older than 3.3, instead of rounding to nearest with ties going to nearest even integer (ROUND_HALF_EVEN). | ||||
* | | | Merge 3.5 (issue #24975) | Yury Selivanov | 2015-09-02 | 1 | -2/+4 |
|\ \ \ | |/ / | |||||
| * | | Issue #24975: Fix AST compilation for PEP 448 syntax. | Yury Selivanov | 2015-09-01 | 1 | -2/+4 |
| | | | |||||
* | | | Issue #23517: Try to fix test_time on "x86 Ubuntu Shared 3.x" buildbot | Victor Stinner | 2015-09-02 | 1 | -7/+10 |
| | | | |||||
* | | | Issue #23517: Fix _PyTime_ObjectToDenominator() | Victor Stinner | 2015-09-02 | 1 | -18/+17 |
| | | | | | | | | | | | | | | | * initialize numerator on overflow error ensure that numerator is smaller than * denominator. | ||||
* | | | Issue #23517: Add "half up" rounding mode to the _PyTime API | Victor Stinner | 2015-09-02 | 1 | -10/+54 |
| | | | |||||
* | | | Move assertion inside _PyTime_ObjectToTimeval() | Victor Stinner | 2015-09-02 | 1 | -6/+14 |
| | | | | | | | | | | | | | | | Change also _PyTime_FromSeconds() assertion to ensure that the _PyTime_t type is used. | ||||
* | | | Refactor pytime.c | Victor Stinner | 2015-09-02 | 1 | -48/+65 |
| | | | | | | | | | | | | Move code to convert double timestamp to subfunctions. | ||||
* | | | Merge from 3.5 (with 3.5.0rc2 changes) into default (3.6). Messy! | Larry Hastings | 2015-08-25 | 3 | -25/+75 |
|\ \ \ | |/ / | |||||
| * | | Rebuilt Clinic generated code. | Larry Hastings | 2015-08-24 | 2 | -3/+3 |
| | | | |||||
| * | | Issue #24769: Interpreter now starts properly when dynamic loading | Larry Hastings | 2015-08-24 | 3 | -25/+75 |
| | | | | | | | | | | | | is disabled. Patch by Petr Viktorin. | ||||
* | | | Fix a trivial typo. | Eric V. Smith | 2015-08-21 | 1 | -1/+1 |
| | | | |||||
* | | | Use PyTuple_GET_SIZE like the adjacent code does. | Raymond Hettinger | 2015-08-18 | 1 | -1/+1 |
| | | | |||||
* | | | Inline PyIter_Next() matching the other itertools code. | Raymond Hettinger | 2015-08-18 | 1 | -1/+2 |
| | | | |||||
* | | | Merge from 3.5 for issue #24492 | Brett Cannon | 2015-08-14 | 1 | -7/+12 |
|\ \ \ | |/ / | |||||
| * | | Issue #24492: make sure that ``from ... import ...` raises an | Brett Cannon | 2015-08-11 | 1 | -7/+12 |
| | | | | | | | | | | | | | | | | | | ImportError if __name__ is not defined on a package. Thanks to Armin Rigo for the bug report and diagnosing the cause. | ||||
* | | | Issue #9232: Support trailing commas in function declarations. | Robert Collins | 2015-08-12 | 2 | -55/+74 |
| | | | | | | | | | | | | | | | | | | For example, "def f(*, a = 3,): pass" is now legal. Patch from Mark Dickinson. | ||||
* | | | Merge 3.5 (issue #24791) | Yury Selivanov | 2015-08-05 | 2 | -34/+33 |
|\ \ \ | |/ / | |||||
| * | | Issue #24791: Fix grammar regression for call syntax: 'g(*a or b)'. | Yury Selivanov | 2015-08-05 | 2 | -34/+33 |
| | | | |||||
* | | | Merge 3.5 (os.urandom) | Victor Stinner | 2015-07-30 | 1 | -1/+0 |
|\ \ \ | |/ / | |||||
| * | | py_getrandom(): getrandom() *can* return EINTR | Victor Stinner | 2015-07-30 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See the latest version of getrandom() manual page: http://man7.org/linux/man-pages/man2/getrandom.2.html#NOTES The behavior when a call to getrandom() that is blocked while reading from /dev/urandom is interrupted by a signal handler depends on the initialization state of the entropy buffer and on the request size, buflen. If the entropy is not yet initialized, then the call will fail with the EINTR error. If the entropy pool has been initialized and the request size is large (buflen > 256), the call either succeeds, returning a partially filled buffer, or fails with the error EINTR. If the entropy pool has been initialized and the request size is small (buflen <= 256), then getrandom() will not fail with EINTR. Instead, it will return all of the bytes that have been requested. Note: py_getrandom() calls getrandom() with flags=0. | ||||
* | | | Fix refleak. | Stefan Krah | 2015-07-27 | 1 | -1/+3 |
|\ \ \ | |/ / | |||||
| * | | Fix refleak. | Stefan Krah | 2015-07-27 | 1 | -1/+3 |
| | | | |||||
* | | | Merge 3.5 (Issue #24687) | Yury Selivanov | 2015-07-23 | 1 | -14/+13 |
|\ \ \ | |/ / | |||||
| * | | Issue #24687: Plug refleak on SyntaxError in function parameters annotations. | Yury Selivanov | 2015-07-23 | 1 | -14/+13 |
| | | | |||||
* | | | Merge 3.5 (Issue #24619) | Yury Selivanov | 2015-07-22 | 2 | -4/+3 |
|\ \ \ | |/ / | |||||
| * | | Issue #24619: More tests; fix nits in compiler.c | Yury Selivanov | 2015-07-22 | 2 | -4/+3 |
| | | | |||||
* | | | merge 3.5 (#24569) | Benjamin Peterson | 2015-07-05 | 1 | -6/+9 |
|\ \ \ | |/ / | |||||
| * | | set items in dict displays from left to right (closes #24569) | Benjamin Peterson | 2015-07-05 | 1 | -6/+9 |
| | | | |||||
* | | | Merge 3.5 (Issue #19235) | Yury Selivanov | 2015-07-03 | 3 | -4/+4 |
|\ \ \ | |/ / | |||||
| * | | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. | Yury Selivanov | 2015-07-03 | 3 | -4/+4 |
| | | | |||||
* | | | Merge 3.5 (Issue #24528) | Yury Selivanov | 2015-06-30 | 1 | -1/+4 |
|\ \ \ | |/ / | |||||
| * | | Issue #24528: Improve error message for awaits in comprehensions | Yury Selivanov | 2015-06-30 | 1 | -1/+4 |
| | | |