Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | | | Back-out wcstok deprecation suppression and updates calls to use wcstok_s. | Steve Dower | 2015-02-26 | 1 | -3/+3 |
| | | | |||||
* | | | Issue #23152: Move declarations back to posixmodule.c. | Serhiy Storchaka | 2015-02-22 | 1 | -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 Storchaka | 2015-02-22 | 1 | -9/+0 |
| | | | |||||
* | | | Issue #23152: Renames time_t_to_FILE_TIME to _Py_time_t_to_FILE_TIME, ↵ | Steve Dower | 2015-02-21 | 1 | -22/+4 |
| | | | | | | | | | | | | removes unused struct win32_stat and return value | ||||
* | | | Issue #23152: Renames attribute_data_to_stat to _Py_attribute_data_to_stat | Steve Dower | 2015-02-21 | 1 | -3/+3 |
| | | | |||||
* | | | Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on ↵ | Steve Dower | 2015-02-21 | 5 | -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 errors | Serhiy Storchaka | 2015-02-20 | 1 | -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 errors | Serhiy Storchaka | 2015-02-20 | 1 | -8/+11 |
| | | | | | | | | | | | | | | | consumed too much memory and raised SystemError or MemoryError. Original patch by Aleksi Torhamo. |