summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* [3.6] bpo-29723: Consistently configure sys.path[0] (#636)Nick Coghlan2017-03-211-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) (cherry picked from commit c60948464fb0ec116ea227f6bce8a4bb8fb75257)
* [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
| |
* | Issue #29034: Fix memory leak and use-after-free in path_converter.Xiang Zhang2017-01-081-53/+56
| |
* | Add comment why the change in d83884b3a427 wasn't necessary.Stefan Krah2017-01-081-0/+1
| |
* | Revert part of 3cb3e224b692 in code that I maintain.Stefan Krah2017-01-081-1/+1
| |
* | Issue #29140: Fix hash(datetime.time)Victor Stinner2017-01-031-5/+5
| | | | | | | | | | | | Fix time_hash() function: replace DATE_xxx() macros with TIME_xxx() macros. Before, the hash function used a wrong value for microseconds if fold is set (equal to 1).
* | Fixed possible reference leaks in the _json module.Serhiy Storchaka2017-01-031-4/+9
|\ \ | |/
| * Fixed possible reference leaks in the _json module.Serhiy Storchaka2017-01-031-4/+9
| |
* | fix error check, so that Random.seed actually uses OS randomness (closes #29085)Benjamin Peterson2016-12-291-1/+1
| |
* | Issue #28768: Fix implicit declaration of function _setmode. Patch by ↵Steve Dower2016-12-282-0/+6
| | | | | | | | Masayuki Yamamoto
* | Issue #28427: old keys should not remove new values fromAntoine Pitrou2016-12-272-1/+72
|\ \ | |/ | | | | WeakValueDictionary when collecting from another thread.
| * Issue #28427: old keys should not remove new values fromAntoine Pitrou2016-12-272-1/+71
| | | | | | | | WeakValueDictionary when collecting from another thread.
* | Issue #29004: Merge crc_hqx() doc from 3.5Martin Panter2016-12-242-4/+4
|\ \ | |/
| * Issue #29004: Document binascii.crc_hqx() implements CRC-CCITTMartin Panter2016-12-242-4/+4
| |
* | Merge from 3.5.Serhiy Storchaka2016-12-211-0/+2
|\ \ | |/
| * Issue #28871: Fixed a crash when deallocate deep ElementTree.Serhiy Storchaka2016-12-211-0/+2
| |