summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-29116: Fix error messages for concatenating bytes and bytearray with ↵Serhiy Storchaka2017-03-192-2/+2
| | | | unsupported type. (#709)
* bpo-29116: Improve error message for concatenating str with non-str. (#710)Serhiy Storchaka2017-03-191-1/+10
|
* bpo-29748: Added the slice index converter in Argument Clinic. (#549)Serhiy Storchaka2017-03-195-3/+25
|
* bpo-25455: Fixed crashes in repr of recursive buffered file-like objects. (#514)Serhiy Storchaka2017-03-196-9/+74
|
* Drop C++ header compatibility test (#718)Brett Cannon2017-03-191-2/+0
| | | The $CXX environment variable is not exported under the 'c' language on Travis.
* bpo-29793: Convert some builtin types constructors to Argument Clinic. (#615)Serhiy Storchaka2017-03-1914-202/+527
|
* bpo-20186: Convert tuple object implementation to Argument Clinic. (#614)Serhiy Storchaka2017-03-192-46/+176
|
* bpo-20185: Convert typeobject.c to Argument Clinic. (#544)Serhiy Storchaka2017-03-192-76/+391
| | | Based on patch by Vajrasky Kok.
* bpo-29776: Use decorator syntax for properties. (#585)Serhiy Storchaka2017-03-1910-33/+52
|
* bpo-28749: Fixed the documentation of the mapping codec APIs. (#487)Serhiy Storchaka2017-03-192-74/+66
| | | Added the documentation for PyUnicode_Translate().
* bpo-27200: Fix doctests in programming.rst and datetime.rst (#401)Marco Buttu2017-03-184-5/+10
|
* Combine the C++ header CI build into the main C build (GH-697)Brett Cannon2017-03-171-9/+2
| | | This will eliminate one of the builds in Travis, allowing for CI overall to complete faster.
* bpo-29836: Remove nturl2path from test_sundry and amend the module docstring ↵Jim Fasarakis-Hilliard2017-03-172-3/+7
| | | | | (GH-694) The module is implicitly tested through test_urllib.
* bpo-29808: SysLogHandler: Do not fail if initial connect to syslog failed ↵Коренберг Марк2017-03-171-1/+8
| | | | (#663) (#663)
* bpo-16355: Clarify when inspect.getcomments() returns None (#428)Marco Buttu2017-03-172-1/+8
| | | Initial patch by Vajrasky Kok.
* bpo-29820: othergui.rst: Remove outdated information (GH-685)Marco Buttu2017-03-171-12/+6
|
* Takes vcruntime140.dll from the correct source. (#679)Steve Dower2017-03-162-11/+6
|
* 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.