summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge 3.4 (tracemalloc typo)Victor Stinner2015-03-181-1/+1
|\ \ | |/
| * _tracemalloc.c: Fix typoVictor Stinner2015-03-181-1/+1
| |
* | Fix compiler warning in mmapmodule.c (compare signed/unsigned integers)Victor Stinner2015-03-181-1/+1
| |
* | Issue #19428: Handle PyMarshal_Read*() errors in run_pyc_file()Victor Stinner2015-03-181-0/+3
| | | | | | | | Detect also earlier PyMarshal_Read*() errors in zipimport.
* | Issue #23694: Enhance _Py_fopen(), it now raises an exception on errorVictor Stinner2015-03-182-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 exceptionsVictor Stinner2015-03-175-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, pyexpatVictor Stinner2015-03-175-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 d927047b1d8eb87738676980a24930d053ba2150Victor Stinner2015-03-171-69/+49
| | | | | | | | Sorry, it was a mistake, the patch is still under review: issue #23646.
* | testVictor Stinner2015-03-121-49/+69
| |
* | Issue #23641: Cleaned out legacy dunder names from tests and docs.Serhiy Storchaka2015-03-122-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 Storchaka2015-03-122-2/+2
| | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB.
* | Issue #23566: enable(), register(), dump_traceback() and dump_traceback_later()Victor Stinner2015-03-121-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 Dower2015-03-082-2/+8
| | | | | | | | the errno shim.
* | Issue #22524: Fix os.scandir() for platforms which don't have a d_type field inVictor Stinner2015-03-081-11/+27
| | | | | | | | the dirent structure (ex: OpenIndiana).
* | Issue #22524: New os.scandir() function, part of the PEP 471: "os.scandir()Victor Stinner2015-03-081-20/+798
| | | | | | | | | | function -- a better and faster directory iterator". Patch written by Ben Hoyt.
* | Issue #23571: PyObject_Call(), PyCFunction_Call() and call_function() nowVictor Stinner2015-03-062-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 Dower2015-03-062-89/+5
| | | | | | | | _set_thread_local_invalid_parameter_handler on every thread.
* | Fix regression introduced by changeset 7c6e3358221a that caused compileNed Deily2015-03-051-2/+2
| | | | | | | | errors of _testcapimodule.c with older versions of gcc.
* | Fixed GCC version testing.Serhiy Storchaka2015-03-051-2/+2
| |
* | Fix "GCC diagnostic" in socketmodule.cVictor Stinner2015-03-051-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.4Benjamin Peterson2015-03-051-0/+4
|\ \ | |/
| * expose X509_V_FLAG_TRUSTED_FIRSTBenjamin Peterson2015-03-051-0/+4
| |
* | merge 3.4 (#23476)Benjamin Peterson2015-03-051-0/+9
|\ \ | |/
| * enable X509_V_FLAG_TRUSTED_FIRST when possible (closes #23476)Benjamin Peterson2015-03-051-0/+9
| |
* | Issue #23576: Avoid stalling in SSL reads when EOF has been reached in the ↵Antoine Pitrou2015-03-041-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 Pitrou2015-03-041-20/+0
| | | | | | | | SSL layer but the underlying connection hasn't been closed.
* | Issue #23285: Fix handling of EINTR in fileio.cVictor Stinner2015-03-041-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 Hettinger2015-03-031-12/+12
| | | | | | | | Line-up comments.
* | Switch the state variable to unsigned for defined wrap-around behavior.Raymond Hettinger2015-03-031-3/+3
| |
* | Minor beautification. Move struct definitions to the top. Fix-up a comment.Raymond Hettinger2015-03-031-15/+15
| |
* | Minor code beautification. Replace macro with in-lineable functions.Raymond Hettinger2015-03-031-20/+35
| |
* | Beautify and better document the use of the size_t cast for bounds checking.Raymond Hettinger2015-03-031-6/+12
| |
* | merge 3.4 (#23367)Benjamin Peterson2015-03-021-3/+10
|\ \ | |/
| * merge 3.3 (#23367)Benjamin Peterson2015-03-021-3/+10
| |\
| | * fix possible overflow bugs in unicodedata (closes #23367)Benjamin Peterson2015-03-021-3/+10
| | |
* | | Issue #23451: Update pyconfig.h for Windows to require Vista headers and ↵Steve Dower2015-03-022-0/+15
| | | | | | | | | | | | remove unnecessary version checks.
* | | Issue #7830: Flatten nested functools.partial.Alexander Belopolsky2015-03-011-7/+48
| | |
* | | Closes issue #22791: Improved datetime from timestamp methods documentation.Alexander Belopolsky2015-03-011-2/+1
| | | | | | | | | | | | Original patch by Akira Li.
* | | Issue #23553: Use an unsigned cast to tighten-up the bounds checking logic.Raymond Hettinger2015-03-011-2/+2
| | |
* | | Merge headsSerhiy Storchaka2015-03-011-6/+12
|\ \ \
| * | | Need a (size_t) cast instead of (unsigned) to be big enough for a Py_ssize_t.Raymond Hettinger2015-03-011-6/+12
| | | |
* | | | Issue #20204: Added the __module__ attribute to _tkinter classes.Serhiy Storchaka2015-03-011-2/+2
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | Issue #20204: Added the __module__ attribute to _tkinter classes.Serhiy Storchaka2015-03-011-2/+2
| | |
* | | Use unsigned division and modulo for item assignment as well.Raymond Hettinger2015-03-011-4/+5
| | |
* | | Convert one more division to unsigned arithmetic to speed-up deque_item().Raymond Hettinger2015-02-281-1/+3
| | |
* | | Line missed in last checkinRaymond Hettinger2015-02-281-1/+0
| | |
* | | Since the index is always non-negative, use faster unsigned division and modulo.Raymond Hettinger2015-02-271-3/+5
| | |
* | | Bump the blocksize up from 62 to 64 to speed up the modulo calculation.Raymond Hettinger2015-02-271-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 Storchaka2015-02-263-2/+17
| | |
* | | Issue #15955: Add an option to limit the output size in bz2.decompress().Antoine Pitrou2015-02-262-72/+224
| | | | | | | | | | | | Patch by Nikolaus Rath.