Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-29861: release references to multiprocessing Pool tasks (#743) | Antoine Pitrou | 2017-03-24 | 3 | -1/+37 |
| | | | | | | | | | | * bpo-29861: release references to multiprocessing Pool tasks Release references to tasks, their arguments and their results as soon as they are finished, instead of keeping them alive until another task arrives. * Comments in test | ||||
* | bpo-19930: The mode argument of os.makedirs() no longer affects the file (#799) | Serhiy Storchaka | 2017-03-24 | 5 | -3/+32 |
| | | | permission bits of newly-created intermediate-level directories. | ||||
* | doc: Fix small typos in library/multiprocessing (GH-698) | Sylvain Bellemare | 2017-03-24 | 1 | -2/+2 |
| | |||||
* | `make tags` fixes (GH-717) | Alex Dzyoba | 2017-03-24 | 3 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Fix `make tags` warnings `make tags` target tries to find C sources and headers in "Grammar" and "Mac" folders and generates these warnings: ctags: Warning: cannot open source file "Grammar/*.[ch]" : No such file or directory ctags: Warning: cannot open source file "Mac/*.[ch]" : No such file or directory This commit changes $SRCDIRS variable in configure.ac to remote these directories. This variable is used only for tags generation. Also, "configure" was regenerated with `autoreconf`. * Fix `make tags` fail on non-default tag names When ctags overrides default tags filename (e.g. `-f .tags`) `make tags` is failed because it assumes to see default `tags` filename: sort: cannot read: tags: No such file or directory This commit explicitly specifies "tags" filename for tags generation. | ||||
* | faulthandler: Restore the old sigaltstack during teardown (#777) | Christophe Zeitouny | 2017-03-23 | 3 | -1/+20 |
| | |||||
* | Use NULL rather than 0. (#778) | Serhiy Storchaka | 2017-03-23 | 8 | -15/+15 |
| | | | | | There was few cases of using literal 0 instead of NULL in the context of pointers. While this was a legitimate C code, using NULL rather than 0 makes the code clearer. | ||||
* | bpo-6532: Make the thread id an unsigned integer. (#781) | Serhiy Storchaka | 2017-03-23 | 27 | -88/+116 |
| | | | | | | | | | | | * bpo-6532: Make the thread id an unsigned integer. From C API side the type of results of PyThread_start_new_thread() and PyThread_get_thread_ident(), the id parameter of PyThreadState_SetAsyncExc(), and the thread_id field of PyThreadState changed from "long" to "unsigned long". * Restore a check in thread_get_ident(). | ||||
* | bpo-29728: Provide socket.TCP_NOTSENT_LOWAT (#477) | Nathaniel J. Smith | 2017-03-23 | 3 | -0/+9 |
| | | | | | * Provide socket.TCP_NOTSENT_LOWAT * New TCP option available on recent MacOS and Linux. * Document addition of TCP_NOTSENT_LOWAT | ||||
* | Remove an outdated statement in execution model docs (GH-754) | Ivan Levkivskyi | 2017-03-23 | 1 | -6/+0 |
| | |||||
* | doc: minor fix for library/profile (GH-761) | INADA Naoki | 2017-03-22 | 1 | -3/+3 |
| | |||||
* | fix function name in tabnanny documentation (GH-759) | Jelle Zijlstra | 2017-03-22 | 2 | -5/+5 |
| | |||||
* | bpo-29859: Fix error messages from return codes for pthread_* calls (GH-741) | Daniel Birnstiel | 2017-03-21 | 2 | -11/+16 |
| | |||||
* | bpo-29865: Use PyXXX_GET_SIZE macros rather than Py_SIZE for concrete types. ↵ | Serhiy Storchaka | 2017-03-21 | 13 | -32/+35 |
| | | | | (#748) | ||||
* | Don't use Py_SIZE for dict object. (#747) | Serhiy Storchaka | 2017-03-21 | 1 | -1/+1 |
| | |||||
* | bpo-27593: Revise git SCM build info. (#744) | Ned Deily | 2017-03-21 | 3 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | Use --short form of git hash. Use output from "git describe" for tag. Expected outputs: 1. previous hg 2. previous git 3. updated git Release (tagged) build: 1. Python 3.7.0a0 (v3.7.0a0:4def2a2901a5, ... 2. Python 3.7.0a0 (v3.7.0a0^0:05f53735c8912f8df1077e897f052571e13c3496, ... 3. Python 3.7.0a0 (v3.7.0a0:05f53735c8, ... Development build: 1. Python 3.7.0a0 (default:41df79263a11, ... 2. Python 3.7.0a0 (master:05f53735c8912f8df1077e897f052571e13c3496, ... 3. Python 3.7.0a0 (heads/master-dirty:05f53735c8, ... "dirty" means the working tree has uncommitted changes. See "git help describe" for more info. | ||||
* | bpo-29849: fix a memory leak in import_from (GH-712) | Xiang Zhang | 2017-03-21 | 2 | -10/+19 |
| | |||||
* | Fix "NotImplentedError" typo in constants documentation (#692) | zertrin | 2017-03-20 | 1 | -1/+1 |
| | | | `NotImplentedError` --> `NotImplementedError` | ||||
* | bpo-20087: Revert "make the glibc alias table take precedence over the X11 ↵ | Benjamin Peterson | 2017-03-20 | 4 | -112/+43 |
| | | | | | one (#422)" (#713) This reverts commit 02371e0ed1ee82ec73e7d363bcf2ed40cde1397a. | ||||
* | bpo-28876: bool of large range raises OverflowError (#699) | 4kir4 | 2017-03-20 | 3 | -5/+27 |
| | |||||
* | bpo-29856: Fix typo in curses documentation (GH-730) | Mariatta | 2017-03-20 | 1 | -1/+1 |
| | | | From Shifted Dxit -> Shifted Exit in Doc/library/curses.rst | ||||
* | bpo-29845: Mark tests that use _testcapi as CPython-only (#711) | Serhiy Storchaka | 2017-03-19 | 5 | -1/+8 |
| | |||||
* | bpo-29116: Fix error messages for concatenating bytes and bytearray with ↵ | Serhiy Storchaka | 2017-03-19 | 2 | -2/+2 |
| | | | | unsupported type. (#709) | ||||
* | bpo-29116: Improve error message for concatenating str with non-str. (#710) | Serhiy Storchaka | 2017-03-19 | 1 | -1/+10 |
| | |||||
* | bpo-29748: Added the slice index converter in Argument Clinic. (#549) | Serhiy Storchaka | 2017-03-19 | 5 | -3/+25 |
| | |||||
* | bpo-25455: Fixed crashes in repr of recursive buffered file-like objects. (#514) | Serhiy Storchaka | 2017-03-19 | 6 | -9/+74 |
| | |||||
* | Drop C++ header compatibility test (#718) | Brett Cannon | 2017-03-19 | 1 | -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 Storchaka | 2017-03-19 | 14 | -202/+527 |
| | |||||
* | bpo-20186: Convert tuple object implementation to Argument Clinic. (#614) | Serhiy Storchaka | 2017-03-19 | 2 | -46/+176 |
| | |||||
* | bpo-20185: Convert typeobject.c to Argument Clinic. (#544) | Serhiy Storchaka | 2017-03-19 | 2 | -76/+391 |
| | | | Based on patch by Vajrasky Kok. | ||||
* | bpo-29776: Use decorator syntax for properties. (#585) | Serhiy Storchaka | 2017-03-19 | 10 | -33/+52 |
| | |||||
* | bpo-28749: Fixed the documentation of the mapping codec APIs. (#487) | Serhiy Storchaka | 2017-03-19 | 2 | -74/+66 |
| | | | Added the documentation for PyUnicode_Translate(). | ||||
* | bpo-27200: Fix doctests in programming.rst and datetime.rst (#401) | Marco Buttu | 2017-03-18 | 4 | -5/+10 |
| | |||||
* | Combine the C++ header CI build into the main C build (GH-697) | Brett Cannon | 2017-03-17 | 1 | -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-Hilliard | 2017-03-17 | 2 | -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-17 | 1 | -1/+8 |
| | | | | (#663) (#663) | ||||
* | bpo-16355: Clarify when inspect.getcomments() returns None (#428) | Marco Buttu | 2017-03-17 | 2 | -1/+8 |
| | | | Initial patch by Vajrasky Kok. | ||||
* | bpo-29820: othergui.rst: Remove outdated information (GH-685) | Marco Buttu | 2017-03-17 | 1 | -12/+6 |
| | |||||
* | Takes vcruntime140.dll from the correct source. (#679) | Steve Dower | 2017-03-16 | 2 | -11/+6 |
| | |||||
* | bpo-29581: Make ABCMeta.__new__ pass **kwargs to type.__new__ (#527) | Nate | 2017-03-15 | 3 | -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 Himmelstein | 2017-03-15 | 1 | -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 Seifert | 2017-03-15 | 4 | -1/+34 |
| | | | | are not strings (#649) | ||||
* | Use the default number of reviewers (3) for mention-bot (#667) | Donald Stufft | 2017-03-14 | 1 | -1/+0 |
| | |||||
* | bpo-29735: Optimize partial_call(): avoid tuple (#516) | Victor Stinner | 2017-03-14 | 3 | -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-Hilliard | 2017-03-14 | 2 | -1/+24 |
| | |||||
* | bpo-28810: Update lnotab_notes.txt (#665) | Ivan Levkivskyi | 2017-03-14 | 1 | -22/+28 |
| | |||||
* | bpo-29592: site: skip abs_paths() when it's redundant (GH-167) | INADA Naoki | 2017-03-14 | 1 | -1/+6 |
| | | | Call abs_paths() only if removeduppaths() changed sys.path | ||||
* | bpo-29548: Recommend PyObject_Call APIs over PyEval_Call APIs. (GH-75) | INADA Naoki | 2017-03-14 | 2 | -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 Zhang | 2017-03-14 | 3 | -3/+23 |
| | | | | | | protocol (GH-546) | ||||
* | ftplib.FTP.retrbinary callback gets a bytes, not a str (GH-652) | Jelle Zijlstra | 2017-03-13 | 1 | -1/+1 |
| | |||||
* | fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653) | Jelle Zijlstra | 2017-03-13 | 1 | -2/+2 |
| |