Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge 3.4 (tracemalloc typo) | Victor Stinner | 2015-03-18 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | _tracemalloc.c: Fix typo | Victor Stinner | 2015-03-18 | 1 | -1/+1 | |
| | | ||||||
* | | Fix compiler warning in mmapmodule.c (compare signed/unsigned integers) | Victor Stinner | 2015-03-18 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #19428: Handle PyMarshal_Read*() errors in run_pyc_file() | Victor Stinner | 2015-03-18 | 1 | -0/+3 | |
| | | | | | | | | Detect also earlier PyMarshal_Read*() errors in zipimport. | |||||
* | | Issue #23694: Enhance _Py_fopen(), it now raises an exception on error | Victor Stinner | 2015-03-18 | 2 | -10/+4 | |
| | | | | | | | | | | * If fopen() fails, OSError is raised with the original filename object. * The GIL is now released while calling fopen() | |||||
* | | Issue #23694: Enhance _Py_open(), it now raises exceptions | Victor Stinner | 2015-03-17 | 5 | -21/+9 | |
| | | | | | | | | | | | | | | | | * _Py_open() now raises exceptions on error. If open() fails, it raises an OSError with the filename. * _Py_open() now releases the GIL while calling open() * Add _Py_open_noraise() when _Py_open() cannot be used because the GIL is not held | |||||
* | | Issue #23685: Fix usage of PyMODINIT_FUNC in _json, _scproxy, nis, pyexpat | Victor Stinner | 2015-03-17 | 5 | -15/+5 | |
| | | | | | | | | | | | | | | | | _codecs_cn, _codecs_hk, _codecs_iso2022, _codecs_jp, _codecs_kr and _codecs_tw modules. pyexpat.c doesn't need to redeclare PyMODINIT_FUNC, it's already declared in Include/pyport.h. | |||||
* | | Revert changeset d927047b1d8eb87738676980a24930d053ba2150 | Victor Stinner | 2015-03-17 | 1 | -69/+49 | |
| | | | | | | | | Sorry, it was a mistake, the patch is still under review: issue #23646. | |||||
* | | test | Victor Stinner | 2015-03-12 | 1 | -49/+69 | |
| | | ||||||
* | | Issue #23641: Cleaned out legacy dunder names from tests and docs. | Serhiy Storchaka | 2015-03-12 | 2 | -2/+2 | |
|\ \ | |/ | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. Added few tests for __truediv__, __floordiv__ and __matmul__. | |||||
| * | Issue #23641: Cleaned out legacy dunder names from tests and docs. | Serhiy Storchaka | 2015-03-12 | 2 | -2/+2 | |
| | | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. | |||||
* | | Issue #23566: enable(), register(), dump_traceback() and dump_traceback_later() | Victor Stinner | 2015-03-12 | 1 | -21/+35 | |
| | | | | | | | | functions of faulthandler now accept file descriptors. Patch by Wei Wu. | |||||
* | | Issue #23524: Change back to using Windows errors for _Py_fstat instead of ↵ | Steve Dower | 2015-03-08 | 2 | -2/+8 | |
| | | | | | | | | the errno shim. | |||||
* | | Issue #22524: Fix os.scandir() for platforms which don't have a d_type field in | Victor Stinner | 2015-03-08 | 1 | -11/+27 | |
| | | | | | | | | the dirent structure (ex: OpenIndiana). | |||||
* | | Issue #22524: New os.scandir() function, part of the PEP 471: "os.scandir() | Victor Stinner | 2015-03-08 | 1 | -20/+798 | |
| | | | | | | | | | | function -- a better and faster directory iterator". Patch written by Ben Hoyt. | |||||
* | | Issue #23571: PyObject_Call(), PyCFunction_Call() and call_function() now | Victor Stinner | 2015-03-06 | 2 | -8/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | raise a SystemError if a function returns a result and raises an exception. The SystemError is chained to the previous exception. Refactor also PyObject_Call() and PyCFunction_Call() to make them more readable. Remove some checks which became useless (duplicate checks). Change reviewed by Serhiy Storchaka. | |||||
* | | Issue #23524: Replace _PyVerify_fd function with calling ↵ | Steve Dower | 2015-03-06 | 2 | -89/+5 | |
| | | | | | | | | _set_thread_local_invalid_parameter_handler on every thread. | |||||
* | | Fix regression introduced by changeset 7c6e3358221a that caused compile | Ned Deily | 2015-03-05 | 1 | -2/+2 | |
| | | | | | | | | errors of _testcapimodule.c with older versions of gcc. | |||||
* | | Fixed GCC version testing. | Serhiy Storchaka | 2015-03-05 | 1 | -2/+2 | |
| | | ||||||
* | | Fix "GCC diagnostic" in socketmodule.c | Victor Stinner | 2015-03-05 | 1 | -2/+2 | |
| | | | | | | | | | | Fix regression of changeset 7c6e3358221a on GCC < 4.4. The _socket module cannot be compiled on "x86 FreeBSD 7.2 3.x" buildbot anymore. | |||||
* | | merge 3.4 | Benjamin Peterson | 2015-03-05 | 1 | -0/+4 | |
|\ \ | |/ | ||||||
| * | expose X509_V_FLAG_TRUSTED_FIRST | Benjamin Peterson | 2015-03-05 | 1 | -0/+4 | |
| | | ||||||
* | | merge 3.4 (#23476) | Benjamin Peterson | 2015-03-05 | 1 | -0/+9 | |
|\ \ | |/ | ||||||
| * | enable X509_V_FLAG_TRUSTED_FIRST when possible (closes #23476) | Benjamin Peterson | 2015-03-05 | 1 | -0/+9 | |
| | | ||||||
* | | Issue #23576: Avoid stalling in SSL reads when EOF has been reached in the ↵ | Antoine Pitrou | 2015-03-04 | 1 | -20/+0 | |
|\ \ | |/ | | | | | SSL layer but the underlying connection hasn't been closed. | |||||
| * | Issue #23576: Avoid stalling in SSL reads when EOF has been reached in the ↵ | Antoine Pitrou | 2015-03-04 | 1 | -20/+0 | |
| | | | | | | | | SSL layer but the underlying connection hasn't been closed. | |||||
* | | Issue #23285: Fix handling of EINTR in fileio.c | Victor Stinner | 2015-03-04 | 1 | -28/+46 | |
| | | | | | | | | | | | | | | Fix handling of EINTR: don't return None if PyErr_CheckSignals() raised an exception. Initialize also the length outside the loop to only initialize it once. | |||||
* | | Minor neatening-up. Make assignments in same order a struct fields. ↵ | Raymond Hettinger | 2015-03-03 | 1 | -12/+12 | |
| | | | | | | | | Line-up comments. | |||||
* | | Switch the state variable to unsigned for defined wrap-around behavior. | Raymond Hettinger | 2015-03-03 | 1 | -3/+3 | |
| | | ||||||
* | | Minor beautification. Move struct definitions to the top. Fix-up a comment. | Raymond Hettinger | 2015-03-03 | 1 | -15/+15 | |
| | | ||||||
* | | Minor code beautification. Replace macro with in-lineable functions. | Raymond Hettinger | 2015-03-03 | 1 | -20/+35 | |
| | | ||||||
* | | Beautify and better document the use of the size_t cast for bounds checking. | Raymond Hettinger | 2015-03-03 | 1 | -6/+12 | |
| | | ||||||
* | | merge 3.4 (#23367) | Benjamin Peterson | 2015-03-02 | 1 | -3/+10 | |
|\ \ | |/ | ||||||
| * | merge 3.3 (#23367) | Benjamin Peterson | 2015-03-02 | 1 | -3/+10 | |
| |\ | ||||||
| | * | fix possible overflow bugs in unicodedata (closes #23367) | Benjamin Peterson | 2015-03-02 | 1 | -3/+10 | |
| | | | ||||||
* | | | Issue #23451: Update pyconfig.h for Windows to require Vista headers and ↵ | Steve Dower | 2015-03-02 | 2 | -0/+15 | |
| | | | | | | | | | | | | remove unnecessary version checks. | |||||
* | | | Issue #7830: Flatten nested functools.partial. | Alexander Belopolsky | 2015-03-01 | 1 | -7/+48 | |
| | | | ||||||
* | | | Closes issue #22791: Improved datetime from timestamp methods documentation. | Alexander Belopolsky | 2015-03-01 | 1 | -2/+1 | |
| | | | | | | | | | | | | Original patch by Akira Li. | |||||
* | | | Issue #23553: Use an unsigned cast to tighten-up the bounds checking logic. | Raymond Hettinger | 2015-03-01 | 1 | -2/+2 | |
| | | | ||||||
* | | | Merge heads | Serhiy Storchaka | 2015-03-01 | 1 | -6/+12 | |
|\ \ \ | ||||||
| * | | | Need a (size_t) cast instead of (unsigned) to be big enough for a Py_ssize_t. | Raymond Hettinger | 2015-03-01 | 1 | -6/+12 | |
| | | | | ||||||
* | | | | Issue #20204: Added the __module__ attribute to _tkinter classes. | Serhiy Storchaka | 2015-03-01 | 1 | -2/+2 | |
|\ \ \ \ | |/ / / |/| / / | |/ / | ||||||
| * | | Issue #20204: Added the __module__ attribute to _tkinter classes. | Serhiy Storchaka | 2015-03-01 | 1 | -2/+2 | |
| | | | ||||||
* | | | Use unsigned division and modulo for item assignment as well. | Raymond Hettinger | 2015-03-01 | 1 | -4/+5 | |
| | | | ||||||
* | | | Convert one more division to unsigned arithmetic to speed-up deque_item(). | Raymond Hettinger | 2015-02-28 | 1 | -1/+3 | |
| | | | ||||||
* | | | Line missed in last checkin | Raymond Hettinger | 2015-02-28 | 1 | -1/+0 | |
| | | | ||||||
* | | | Since the index is always non-negative, use faster unsigned division and modulo. | Raymond Hettinger | 2015-02-27 | 1 | -3/+5 | |
| | | | ||||||
* | | | Bump the blocksize up from 62 to 64 to speed up the modulo calculation. | Raymond Hettinger | 2015-02-27 | 1 | -6/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the old comment suggesting that it was desireable to have blocksize+2 as a multiple of the cache line length. That would have made sense only if the block structure start point was always aligned to a cache line boundary. However, the memory allocations are 16 byte aligned, so we don't really have control over whether the struct spills across cache line boundaries. | |||||
* | | | Silenced minor GCC warnings. | Serhiy Storchaka | 2015-02-26 | 3 | -2/+17 | |
| | | | ||||||
* | | | Issue #15955: Add an option to limit the output size in bz2.decompress(). | Antoine Pitrou | 2015-02-26 | 2 | -72/+224 | |
| | | | | | | | | | | | | Patch by Nikolaus Rath. |