summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | | Back-out wcstok deprecation suppression and updates calls to use wcstok_s.Steve Dower2015-02-261-3/+3
| | |
* | | Issue #23152: Move declarations back to posixmodule.c.Serhiy Storchaka2015-02-221-0/+6
| | | | | | | | | | | | | | | | | | | | | Declarations of Windows-specific auxilary functions need Windows types from windows.h. Instead of including windows.h in Python.h and making it available to all Windows users, it is simpler and safer just move declarations to the single file that needs them.
* | | Issue #23152: Move declaration into a header and exclude from stable API.Serhiy Storchaka2015-02-221-9/+0
| | |
* | | Issue #23152: Renames time_t_to_FILE_TIME to _Py_time_t_to_FILE_TIME, ↵Steve Dower2015-02-211-22/+4
| | | | | | | | | | | | removes unused struct win32_stat and return value
* | | Issue #23152: Renames attribute_data_to_stat to _Py_attribute_data_to_statSteve Dower2015-02-211-3/+3
| | |
* | | Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on ↵Steve Dower2015-02-215-162/+53
| | | | | | | | | | | | | | | | | | Windows. fstat() may fail with EOVERFLOW on files larger than 2 GB because the file size type is an signed 32-bit integer.
* | | Issue #23215: Multibyte codecs with custom error handlers that ignores errorsSerhiy Storchaka2015-02-201-8/+11
|\ \ \ | |/ / | | | | | | | | | consumed too much memory and raised SystemError or MemoryError. Original patch by Aleksi Torhamo.
| * | Issue #23215: Multibyte codecs with custom error handlers that ignores errorsSerhiy Storchaka2015-02-201-8/+11
| | | | | | | | | | | | | | | consumed too much memory and raised SystemError or MemoryError. Original patch by Aleksi Torhamo.