summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-29581: Make ABCMeta.__new__ pass **kwargs to type.__new__ (#527)Nate2017-03-153-2/+17
| | | | | | | | | | | | | Many metaclasses in the standard library don't play nice with __init_subclass__. This bug makes ABCMeta in particular with __init_subclass__, which is an 80/20 solution for me personally. AFAICT, a general solution to this problem requires updating all metaclasses in the standard library to make sure they pass **kwargs to type.__new__, whereas this PR only fixes ABCMeta. For context, see https://bugs.python.org/issue29581. * added a test combining ABCMeta and __init_subclass__ * Added NEWS item
* Fix stderr bug in json.tool test (#346)Daniel Himmelstein2017-03-151-5/+4
| | | See https://github.com/python/cpython/pull/201#discussion_r103229425.
* bpo-29800: Fix crashes in partial.__repr__ if the keys of partial.keywords ↵Michael Seifert2017-03-154-1/+34
| | | | are not strings (#649)
* Use the default number of reviewers (3) for mention-bot (#667)Donald Stufft2017-03-141-1/+0
|
* bpo-29735: Optimize partial_call(): avoid tuple (#516)Victor Stinner2017-03-143-35/+100
| | | | | | | | * Add _PyObject_HasFastCall() * partial_call() now avoids temporary tuple to pass positional arguments if the callable supports the FASTCALL calling convention for positional arguments. * Fix also a performance regression in partial_call() if the callable doesn't support FASTCALL.
* Add ELLIPSIS and RARROW. Add tests (#666)Jim Fasarakis-Hilliard2017-03-142-1/+24
|
* bpo-28810: Update lnotab_notes.txt (#665)Ivan Levkivskyi2017-03-141-22/+28
|
* bpo-29592: site: skip abs_paths() when it's redundant (GH-167)INADA Naoki2017-03-141-1/+6
| | | Call abs_paths() only if removeduppaths() changed sys.path
* bpo-29548: Recommend PyObject_Call APIs over PyEval_Call APIs. (GH-75)INADA Naoki2017-03-142-33/+30
| | | | | | | | | | | | PyEval_Call* APIs are not documented and they doesn't respect PY_SSIZE_T_CLEAN. So add comment block which recommends PyObject_Call* APIs to ceval.h. This commit also changes PyEval_CallMethod and PyEval_CallFunction implementation same to PyObject_CallMethod and PyObject_CallFunction to reduce future maintenance cost. Optimization to avoid temporary tuple are copied too. PyEval_CallFunction(callable, "i", (int)i) now calls callable(i) instead of raising TypeError. But accepting this edge case is backward compatible.
* bpo-28856: Let %b format for bytes support objects that follow the buffer ↵Xiang Zhang2017-03-143-3/+23
| | | | | | protocol (GH-546)
* ftplib.FTP.retrbinary callback gets a bytes, not a str (GH-652)Jelle Zijlstra2017-03-131-1/+1
|
* fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653)Jelle Zijlstra2017-03-131-2/+2
|
* bpo-29756: Improve documentation for list methods that compare items by ↵Xiang Zhang2017-03-132-3/+3
| | | | | | equality (GH-572)
* bpo-29730: replace some calls to PyNumber_Check and improve some error ↵Oren Milman2017-03-125-25/+39
| | | | messages (#650)
* Fix wrapping into StopIteration of return values in generators and ↵Yury Selivanov2017-03-122-2/+16
| | | | coroutines (#644)
* bpo-29742: asyncio get_extra_info() throws exception (#525)Nikolay Kim2017-03-123-1/+18
|
* bpo-28667: Fix a compile warning on FreeBSD when compare with FD_SETSIZE. (#501)Serhiy Storchaka2017-03-122-5/+5
| | | FreeBSD is the only platforms with unsigned FD_SETSIZE.
* bpo-15695: Add PyAPI_FUNC() to _PyDict_SizeOf() declaration. (#639)Serhiy Storchaka2017-03-121-1/+1
|
* bpo-26121: Revert to using the own implementations of lgamma and gamma on ↵Serhiy Storchaka2017-03-122-33/+1
| | | | all platforms. (#637)
* bpo-8256: Fixed possible failing or crashing input() (#517)Serhiy Storchaka2017-03-122-5/+19
| | | | | if attributes "encoding" or "errors" of sys.stdin or sys.stdout are not set or are not strings.
* bpo-26121: Use C library implementation for math functions erf() and erfc() ↵Serhiy Storchaka2017-03-121-0/+6
| | | | on Windows. (#632)
* bpo-29723: Add missing NEWS entry (#638)Nick Coghlan2017-03-121-0/+8
|
* bpo-28692: Deprecate using non-integer value for selecting a plural form in ↵Serhiy Storchaka2017-03-124-3/+17
| | | | gettext. (#507)
* bpo-20185: Convert the resource moduel to Argument Clinic. (#545)Serhiy Storchaka2017-03-122-36/+239
| | | Based on patch by Vajrasky Kok.
* bpo-29723: Consistently configure sys.path[0] (#575)Nick Coghlan2017-03-122-28/+111
| | | | | | | | | | | | | | | | | | | | | | 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.
* bpo-29798: Handle git worktree in `make patchcheck` (#629)Nick Coghlan2017-03-121-1/+4
| | | | In git worktree directories, `.git` is a configuration file rather than a subdirectory
* bpo-15695: Implemented StgDict.__sizeof__(). (#509)Serhiy Storchaka2017-03-121-1/+21
|
* bpo-24037: Add Argument Clinic converter `bool(accept={int})`. (#485)Serhiy Storchaka2017-03-1217-73/+81
|
* bpo-20185: Convert the marshal module to Argument Clinic. (#541)Serhiy Storchaka2017-03-122-67/+229
| | | Based on patch by Vajrasky Kok.
* bpo-29746: Update marshal docs to Python 3. (#547)Serhiy Storchaka2017-03-124-29/+31
|
* bpo-29763: Use support.unlink instead of os.unlink (GH-624)Zachary Ware2017-03-121-4/+4
| | | support.unlink waits for the files to be removed before returning
* bpo-29656: Handle PR branches in 'make patchcheck' (#302)Nick Coghlan2017-03-121-6/+52
|
* bpo-26121: Use C library implementation for math functions: (#515)Serhiy Storchaka2017-03-113-1/+53
| | | | | | | * bpo-26121: Use C library implementation for math functions: tgamma(), lgamma(), erf() and erfc(). * Don't use tgamma() and lgamma() from libc on OS X.
* Only trigger AppVeyor on code or config changes (GH-611)Zachary Ware2017-03-111-0/+17
|
* tempfile.rst: Fix some typos (GH-610)Jelle Zijlstra2017-03-111-2/+2
|
* bpo-20185: Convert float object implementation to Argument Clinic. (#543)Serhiy Storchaka2017-03-113-157/+499
| | | Based on patch by Vajrasky Kok.
* bpo-20185: Convert list object implementation to Argument Clinic. (#542)Serhiy Storchaka2017-03-113-154/+527
|
* bpo-29770: remove outdated PYO related info (GH-590)Xiang Zhang2017-03-1110-31/+25
|
* bpo-29784: Fix the reference to shutil.copy in the docs (GH-602)Mariatta2017-03-111-2/+2
|
* bpo-28810: Document changes to CALL_FUNCTION opcodes (GH-250)Ivan Levkivskyi2017-03-101-31/+40
|
* bpo-29741: Clean up C implementations of BytesIO and StringIO. (#606)orenmn2017-03-104-120/+68
| | | Some BytesIO methods now accept not just int subclasses but other int-like types.
* bpo-28810: Document BUILD_TUPLE_UNPACK_WITH_CALL bytecode added in 3.6 (GH-239)Ivan Levkivskyi2017-03-101-4/+15
|
* bpo-28739: Document that f-strings cannot be used as docstring (GH-592)Mariatta2017-03-101-0/+11
|
* Ignore Include/pydtrace_probes.h (#597)Łukasz Langa2017-03-101-0/+1
| | | | This is a generated file when --with-dtrace is passed. This entry is present in .hgignore.
* bpo-29773: Add more cases for testing string to float conversion errors. (#580)Serhiy Storchaka2017-03-091-8/+20
|
* bpo-29619: Convert st_ino using unsigned integer (#557)Victor Stinner2017-03-094-9/+15
| | | | bpo-29619: os.stat() and os.DirEntry.inodeo() now convert inode (st_ino) using unsigned integers.
* bpo-29774: Improve error reporting for corrupted extra field in ZIP file. (#583)Serhiy Storchaka2017-03-091-1/+3
|
* bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements (#570)orenmn2017-03-093-61/+89
|
* bpo-29768: Fixed compile-time check for expat version. (#574)Serhiy Storchaka2017-03-091-1/+1
|
* bpo-29749: Update int() docstring (GH-565)svelankar2017-03-091-1/+1
| | | The docstring did not properly represent the fact that the argument to int() was positional-only.