summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-29939: suppress compiler warnings in _ctypes_test (#1038)Vinay Sajip2017-04-071-3/+3
| | | | bpo-29939: Changed test code to suppress a compiler warning, while taking care to avoid the code being optimized out by the compiler. (cherry picked from commit 164d30eb1e66575dafee6af4fca4cbf52c7fbe6a)
* bpo-29953: Fix memory leaks in the replace() method of datetime and t… (#933)Serhiy Storchaka2017-03-311-11/+10
| | | | | objects when pass out of bound fold argument. (cherry picked from commit 314d6fca36a4eaa0541218431d14804fadec6488)
* bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. (#911)T. Wouters2017-03-301-24/+28
| | | | | | | | | * bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. Fix the use of recursion in itertools.chain.from_iterable. Using recursion is unnecessary, and can easily cause stack overflows, especially when building in low optimization modes or with Py_DEBUG enabled. (cherry picked from commit 5466d4af5fe76ec0a5fbc8a05675287d9e8e9d14)
* bpo-29935: Fixed error messages in the index() method of tuple, list and ↵Serhiy Storchaka2017-03-301-2/+2
| | | | | | deque (#887) (#907) when pass indices of wrong type. (cherry picked from commit d4edfc9abffca965e76ebc5957a92031a4d6c4d4)
* bpo-27863: Fixed multiple crashes in ElementTree. (#765) (#903)Serhiy Storchaka2017-03-301-48/+52
| | | | (cherry picked from commit 576def096ec7b64814e038f03290031f172886c3)
* faulthandler: Restore the old sigaltstack during teardown (GH-777) (GH-797)Christophe Zeitouny2017-03-241-1/+16
| | | (cherry picked from commit 20fbf8accd494fd15b0fc4c84928178c71ead4d1)
* bpo-25455: Fixed crashes in repr of recursive buffered file-like objects. ↵Serhiy Storchaka2017-03-193-8/+45
| | | | | (#514) (#722) (cherry picked from commit a5af6e1af77ee0f9294c5776478a9c24d9fbab94)
* Add sockaddr_alg to sock_addr_t (GH-234) (GH-533)Mariatta2017-03-172-30/+34
| | | (cherry picked from commit d37c068e695f8ec72b5c1b5a5a5ece2337fda768)
* bpo-29800: Fix crashes in partial.__repr__ if the keys of partial.keywords ↵Michael Seifert2017-03-151-1/+4
| | | | are not strings (#649) (#671)
* [3.6] bpo-29723: Consistently configure sys.path[0] (#636)Nick Coghlan2017-03-121-28/+44
| | | | | | | | | | | | | | | | | | | | | | | | Directory and zipfile execution previously added the parent directory of the directory or zipfile as sys.path[0] and then subsequently overwrote it with the directory or zipfile itself. This caused problems in isolated mode, as it overwrote the "stdlib as a zip archive" entry in sys.path, as the parent directory was never added. The attempted fix to that issue in bpo-29319 created the opposite problem in *non*-isolated mode, by potentially leaving the parent directory on sys.path instead of overwriting it. This change fixes the root cause of the problem by removing the whole "add-and-overwrite" dance for sys.path[0], and instead simply never adds the parent directory to sys.path in the first place. (cherry picked from commit d2977a3ae2cc6802921b1e3b6e9d13fcfbda872d)
* bpo-29770: remove outdated PYO related info (GH-590) (GH-612)Xiang Zhang2017-03-112-4/+4
|
* bpo-29619: Convert st_ino using unsigned integer (#557) (#584)Victor Stinner2017-03-091-5/+8
| | | | | | | bpo-29619: os.stat() and os.DirEntry.inodeo() now convert inode (st_ino) using unsigned integers. (cherry picked from commit 0f6d73343d342c106cda2219ebb8a6f0c4bd9b3c) (Misc/NEWS conflict handled manually.)
* [3.6] bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements ↵orenmn2017-03-091-46/+62
| | | | (#579)
* [3.6] bpo-29768: Fixed compile-time check for expat version. (#576)Serhiy Storchaka2017-03-091-1/+1
| | | | (cherry picked from commit 22e707fa04476710ba5cc7e2206e4ac66743931b)
* bpo-29176: Fix name of the _curses.window class (#52) (#532)Mariatta2017-03-081-1/+1
| | | | | Set name to "_curses.window" instead of "_curses.curses window" (with a space!?). (cherry picked from commit 61e2bc74dfab1ceee332d3f480dcf86c478c87c5)
* [3.6] bpo-27593: Get SCM build info from git instead of hg. (#446) (#454)Ned Deily2017-03-041-23/+23
| | | | | | | | | | | * bpo-27593: Get SCM build info from git instead of hg. (#446) sys.version and the platform module python_build(), python_branch(), and python_revision() functions now use git information rather than hg when building from a repo. Based on original patches by Brett Cannon and Steve Dower. (cherry picked from commit 5c4b0d063aba0a68c325073f5f312a2c9f40d178)
* bpo-28963: Fix out of bound iteration in ↵Yury Selivanov2017-03-031-1/+1
| | | | asyncio.Future.remove_done_callback/C (#408)
* bpo-29271: Fix Task.current_task and Task.all_tasks to accept None. (#406)Yury Selivanov2017-03-032-11/+11
|
* bpo-29697: Don't use OpenSSL <1.0.2 fallback on 1.1+ (#397)Donald Stufft2017-03-021-2/+2
|
* bpo-28518: Start a transaction implicitly before a DML statement (#245) (#318)Berker Peksag2017-02-263-11/+12
| | | | | Patch by Aviv Palivoda. (cherry picked from commit 4a926caf8e5fd8af771b2c34bfb6e91c732331fe)
* Fixed bpo-29565: Corrected ctypes passing of large structs by value on ↵Vinay Sajip2017-02-222-0/+23
| | | | | | Windows AMD64. (#168) (#220) Fixed bpo-29565: Corrected ctypes passing of large structs by value. (cherry picked from commit a86339b83fbd0932e0529a3c91935e997a234582)
* bpo-29532: Altering a kwarg dictionary passed to functools.partial() no ↵Serhiy Storchaka2017-02-211-1/+4
| | | | longer affects a partial object after creation. (#209)
* Update URL of Mersenne Twister Home Page (#20) (#115)INADA Naoki2017-02-151-3/+3
|
* Fix datetime.fromtimestamp(): check boundsVictor Stinner2017-02-101-21/+40
| | | | | Issue #29100: Fix datetime.fromtimestamp() regression introduced in Python 3.6.0: check minimum and maximum years.
* Issue #29513: Fixed a reference leak in os.scandir() added in issue #29034.Serhiy Storchaka2017-02-091-7/+0
|
* Adds precheck for console filename to fix Windows 7.Steve Dower2017-02-051-1/+13
|
* Issue #29319: Prevent RunMainFromImporter overwriting sys.path[0].Steve Dower2017-02-041-2/+12
|\
| * Issue #29319: Prevent RunMainFromImporter overwriting sys.path[0].Steve Dower2017-02-041-2/+12
| |
* | Issue #28164: Correctly handle special console filenames (patch by Eryk Sun)Steve Dower2017-02-041-20/+47
| |
* | Issue #29409: Implement PEP 529 for io.FileIO (Patch by Eryk Sun)Steve Dower2017-02-041-17/+14
| |
* | Issue #29444: Fixed out-of-bounds buffer access in the group() method ofSerhiy Storchaka2017-02-041-2/+7
|\ \ | |/ | | | | the match object. Based on patch by WGH.
| * Issue #29444: Fixed out-of-bounds buffer access in the group() method ofSerhiy Storchaka2017-02-041-2/+7
| | | | | | | | the match object. Based on patch by WGH.
* | merge 3.5 (#29398)Benjamin Peterson2017-02-011-1/+1
|\ \ | |/
| * gc types needs to be allocated as such (closes #29398)Benjamin Peterson2017-02-011-1/+1
| |
* | merge 3.5doko@ubuntu.com2017-01-3128-1176/+2105
|\ \ | |/
| * - Issue #29169: Update zlib to 1.2.10.doko@ubuntu.com2017-01-3128-1176/+2105
| |
* | Issue #29092: Sync os.stat's doc and docstring on path type.Xiang Zhang2017-01-222-4/+6
|\ \ | |/
* | merge 3.5Benjamin Peterson2017-01-161-1/+1
|\ \ | |/
| * generate spaces instead of tabs into config.cBenjamin Peterson2017-01-161-1/+1
| |
* | Merge doc fixes from 3.5Martin Panter2017-01-142-2/+2
|\ \ | |/
| * Fix grammar, typos and markup in documentation and code commentsMartin Panter2017-01-142-2/+2
| | | | | | | | | | | | * Indent versionchanged at method level, not class level * Mark up ``--help`` to avoid generating an en dash * Use forward slash in Unix command line with a dollar sign ($) prompt
* | Py_SIZE() was misused for dict.Serhiy Storchaka2017-01-131-1/+1
|\ \ | |/
| * Py_SIZE() was misused for dict.Serhiy Storchaka2017-01-131-1/+1
| |
* | Issue #28969: Fixed race condition in C implementation of functools.lru_cache.Serhiy Storchaka2017-01-121-22/+36
|\ \ | |/ | | | | | | KeyError could be raised when cached function with full cache was simultaneously called from differen threads with the same uncached arguments.
| * Issue #28969: Fixed race condition in C implementation of functools.lru_cache.Serhiy Storchaka2017-01-121-22/+36
| | | | | | | | | | KeyError could be raised when cached function with full cache was simultaneously called from differen threads with the same uncached arguments.
* | Merge 3.5.Stefan Krah2017-01-091-7/+7
|\ \ | |/
| * Issue #28701: Revert part of 5bdc8e1a50c8 for the following reasons:Stefan Krah2017-01-091-7/+7
| | | | | | | | | | | | - There was no real problem to begin with. - The hypothetical problem has been fixed by 5bdc8e1a50c8.
* | Issue #29190: Fixed possible errors in comparing strings in the pickle module.Serhiy Storchaka2017-01-091-12/+6
|\ \ | |/
| * Issue #29190: Fixed possible errors in comparing strings in the pickle module.Serhiy Storchaka2017-01-091-12/+6
| |
* | Issue #29203: functools.lru_cache() now respects PEP 468Raymond Hettinger2017-01-091-31/+18
| |