Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-37977: Warn more strongly and clearly about pickle security (GH-15595) | Daniel Pope | 2019-08-31 | 2 | -4/+19 |
| | |||||
* | bpo-37990: fix gc stats (GH-15626) | Inada Naoki | 2019-08-31 | 1 | -2/+3 |
| | |||||
* | bpo-37781: use "z" for PY_FORMAT_SIZE_T (GH-15156) | Inada Naoki | 2019-08-30 | 1 | -13/+6 |
| | | | MSVC 2015 supports %zd / %zu. "z" is portable enough nowadays. | ||||
* | Fix typos mostly in comments, docs and test names (GH-15209) | Min ho Kim | 2019-08-30 | 46 | -60/+60 |
| | |||||
* | IDLE: Fix 2 typos found by Min ho Kim. (GH-15617) | Terry Jan Reedy | 2019-08-30 | 2 | -2/+2 |
| | |||||
* | bpo-37140: Fix StructUnionType_paramfunc() (GH-15612) | Victor Stinner | 2019-08-30 | 3 | -20/+109 |
| | | | | | | | | | | | | Fix a ctypes regression of Python 3.8. When a ctypes.Structure is passed by copy to a function, ctypes internals created a temporary object which had the side effect of calling the structure finalizer (__del__) twice. The Python semantics requires a finalizer to be called exactly once. Fix ctypes internals to no longer call the finalizer twice. Create a new internal StructParam_Type which is only used by _ctypes_callproc() to call PyMem_Free(ptr) on Py_DECREF(argument). StructUnionType_paramfunc() creates such object. | ||||
* | bpo-37976: Prevent shadowing of TypeError in zip() (GH-15592) | Sergey Fedoseev | 2019-08-30 | 4 | -8/+24 |
| | |||||
* | Steven Bethard designated a new maintainer for argparse (GH-15605) | Raymond Hettinger | 2019-08-30 | 1 | -0/+1 |
| | |||||
* | bpo-37834: Prevent shutil.rmtree exception (GH-15602) | Ned Deily | 2019-08-29 | 2 | -1/+3 |
| | | | | when built on non-Windows system without fd system call support, like older versions of macOS. | ||||
* | bpo-37933: Fix faulthandler.cancel_dump_traceback_later() (GH-15440) | Thomas A Caswell | 2019-08-29 | 2 | -0/+16 |
| | | | | Fix faulthandler.cancel_dump_traceback_later() call if cancel_dump_traceback_later() was not called previously. | ||||
* | bpo-8425: Fast path for set inplace difference when the second set is large ↵ | Raymond Hettinger | 2019-08-29 | 2 | -1/+20 |
| | | | | (GH-15590) | ||||
* | bpo-37034: Display argument name on errors with keyword arguments with ↵ | Rémi Lapeyre | 2019-08-29 | 62 | -553/+623 |
| | | | | Argument Clinic. (GH-13593) | ||||
* | bpo-37979: Add alternative to fromisoformat in documentation (GH-15596) | Paul Ganssle | 2019-08-29 | 2 | -1/+5 |
| | | | | | | | | | | | | | | | | Adds a link to `dateutil.parser.isoparse` in the documentation. It would be nice to set up intersphinx for things like this, but I think we can leave that for a separate PR. CC: @pitrou [bpo-37979](https://bugs.python.org/issue37979) https://bugs.python.org/issue37979 Automerge-Triggered-By: @pitrou | ||||
* | bpo-37947: Avoid double-decrement in symtable recursion counting (GH-15593) | Nick Coghlan | 2019-08-29 | 1 | -4/+14 |
| | | | | | | | | | With `symtable_visit_expr` now correctly adjusting the recursion depth for named expressions, `symtable_handle_namedexpr` should be leaving it alone. Also adds a new check to `PySymtable_BuildObject` that raises `SystemError` if a successful first symbol analysis pass fails to keep the stack depth accounting clean. | ||||
* | bpo-36833: Add tests for Datetime C API Macros (GH-14842) | Joannah Nanjekye | 2019-08-29 | 3 | -0/+114 |
| | | | | Added tests for PyDateTime_xxx_GET_xxx() macros of the C API of the datetime module. | ||||
* | bpo-10978: Semaphores can release multiple threads at a time (GH-15588) | Raymond Hettinger | 2019-08-29 | 4 | -13/+56 |
| | |||||
* | bpo-36743: __get__ is sometimes called without the owner argument (#12992) | Raymond Hettinger | 2019-08-29 | 5 | -13/+24 |
| | |||||
* | bpo-16468: Clarify which objects can be passed to "choices" in argparse ↵ | Raymond Hettinger | 2019-08-29 | 1 | -3/+2 |
| | | | | (GH-15566) | ||||
* | bpo-23674: Clarify ambiguities in super() docs (#15564) | Raymond Hettinger | 2019-08-29 | 1 | -3/+10 |
| | |||||
* | bpo-37372: Fix error unpickling datetime.time objects from Python 2 with ↵ | Justin Blanchard | 2019-08-29 | 4 | -10/+22 |
| | | | | seconds>=24. (GH-14307) | ||||
* | bpo-37950: Fix ast.dump() when call with incompletely initialized node. ↵ | Serhiy Storchaka | 2019-08-29 | 4 | -19/+59 |
| | | | | (GH-15510) | ||||
* | bpo-37960: Silence only necessary errors in repr() of buffered and text ↵ | Serhiy Storchaka | 2019-08-29 | 4 | -22/+22 |
| | | | | streams. (GH-15543) | ||||
* | bpo-35946: Improve assert_called_with documentation (GH-11796) | Rémi Lapeyre | 2019-08-29 | 2 | -3/+3 |
| | |||||
* | bpo-36871: Ensure method signature is used when asserting mock calls to a ↵ | Xtreak | 2019-08-29 | 3 | -1/+86 |
| | | | | | | | | | | | | | | | | method (GH13261) * Fix call_matcher for mock when using methods * Add NEWS entry * Use None check and convert doctest to unittest * Use better name for mock in tests. Handle _SpecState when the attribute was not accessed and add tests. * Use reset_mock instead of reinitialization. Change inner class constructor signature for check * Reword comment regarding call object lookup logic | ||||
* | bpo-25777: Wording describes a lookup, not a call (GH-15573) | Raymond Hettinger | 2019-08-29 | 1 | -1/+1 |
| | |||||
* | bpo-36167: fix an incorrect capitalization (GH-14482) | avinassh | 2019-08-29 | 1 | -1/+1 |
| | |||||
* | bpo-37964: Make sure test works if TESTFN is in a non-ASCII directory. ↵ | Benjamin Peterson | 2019-08-29 | 1 | -3/+3 |
| | | | | (GH-15568) | ||||
* | bpo-18378: Recognize "UTF-8" as a valid name in locale._parse_localename ↵ | Ronald Oussoren | 2019-08-29 | 3 | -0/+41 |
| | | | | (GH-14736) | ||||
* | Raise a RuntimeError when tee iterator is consumed from different threads ↵ | HongWeipeng | 2019-08-29 | 3 | -1/+12 |
| | | | | (GH-15567) | ||||
* | closes bpo-37964: add F_GETPATH command to fcntl (GH-15550) | Vinay Sharma | 2019-08-29 | 4 | -0/+14 |
| | | | | | | | https://bugs.python.org/issue37964 Automerge-Triggered-By: @benjaminp | ||||
* | bpo-23878: Remove an unneeded fseek() call in _Py_FindEnvConfigValue() ↵ | Zackery Spytz | 2019-08-28 | 1 | -1/+0 |
| | | | | (GH-15424) | ||||
* | closes bpo-37965: Fix compiler warning of distutils CCompiler.test_function. ↵ | Anonymous Maarten | 2019-08-28 | 2 | -1/+3 |
| | | | | | | | | | | | | (GH-15560) https://bugs.python.org/issue37965 https://bugs.python.org/issue37965 Automerge-Triggered-By: @benjaminp | ||||
* | bpo-36582: Make collections.UserString.encode() return bytes, not str (GH-13138) | Daniel Fortunov | 2019-08-28 | 4 | -6/+20 |
| | |||||
* | bpo-37951: Lift subprocess's fork() restriction (GH-15544) | Christian Heimes | 2019-08-27 | 4 | -2/+19 |
| | |||||
* | Add Florian Ernst to ACKS (GH-15524) | Ethan Furman | 2019-08-27 | 1 | -0/+1 |
| | |||||
* | bpo-37936: Remove some .gitignore rules that were intended locally. (GH-15542) | Greg Price | 2019-08-27 | 1 | -7/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | These appeared in commit c5ae169e1. The comment on them, as well as the presence among them of a rule for the .gitignore file itself, indicate that the author intended these lines to remain only in their own local working tree -- not to get committed even to their own repo, let alone merged upstream. They did nevertheless get committed, because it turns out that Git takes no notice of what .gitignore says about files that it's already tracking... for example, this .gitignore file itself. Give effect to these lines' original intention, by deleting them. :-) Git tip, for reference: the `.git/info/exclude` file is a handy way to do exactly what these lines were originally intended to do. A related handy file is `~/.config/git/ignore`. See gitignore(5), aka `git help ignore`, for details. https://bugs.python.org/issue37936 Automerge-Triggered-By: @zware | ||||
* | Fix unused variable and signed/unsigned warnings (GH-15537) | Raymond Hettinger | 2019-08-27 | 3 | -3/+9 |
| | |||||
* | bpo-36205: Fix the rusage implementation of time.process_time() (GH-15538) | vrajivk | 2019-08-27 | 2 | -1/+2 |
| | |||||
* | bpo-37328: remove deprecated HTMLParser.unescape (GH-14186) | Inada Naoki | 2019-08-27 | 3 | -15/+2 |
| | | | It is deprecated since Python 3.4. | ||||
* | bpo-36763: Make Py_BytesMain() public (GH-15532) | Victor Stinner | 2019-08-26 | 2 | -2/+2 |
| | | | | Declare Py_BytesMain() in Include/pylifecycle.h, rather in Include/internal/pycore_pylifecycle.h. | ||||
* | Fix an invalid assertEqual() call in test_descr.py (GH-15318) | Zackery Spytz | 2019-08-26 | 1 | -5/+1 |
| | |||||
* | Make PyXXX_Fini() functions private (GH-15531) | Victor Stinner | 2019-08-26 | 14 | -36/+38 |
| | | | | | For example, rename PyTuple_Fini() to _PyTuple_Fini(). These functions are only declared in the internal C API. | ||||
* | bpo-37925: Mention --embed in python-config usage (GH-15458) | Batuhan Taşkaya | 2019-08-26 | 1 | -1/+1 |
| | |||||
* | bpo-37798: Minor code formatting and comment clean-ups. (GH-15526) | Raymond Hettinger | 2019-08-26 | 1 | -13/+22 |
| | |||||
* | bpo-37664: Update ensurepip bundled wheels, again (GH-15483) | Pradyun Gedam | 2019-08-26 | 4 | -3/+3 |
| | | | | | | | | | | | | /cc @ambv since this needs to be included in 3.8 -- see https://github.com/pypa/pip/issues/6885. Sorry about the last minute PR! https://bugs.python.org/issue37664 Automerge-Triggered-By: @zooba | ||||
* | bpo-37055: fix warnings in _blake2 module (GH-14646) | Inada Naoki | 2019-08-26 | 3 | -19/+0 |
| | | | | | | | https://bugs.python.org/issue37055 Automerge-Triggered-By: @tiran | ||||
* | correct roman numeral VII description (GH-15523) | Ethan Furman | 2019-08-26 | 1 | -1/+1 |
| | |||||
* | Fix typo: Pyssize_t => Py_ssize_t (GH-15411) | Sergey Fedoseev | 2019-08-26 | 1 | -1/+1 |
| | |||||
* | bpo-37954: Fix reference leak in the symtable (GH-15514) | Pablo Galindo | 2019-08-26 | 1 | -1/+3 |
| | |||||
* | Remove leftovers from the times when long long wasn't required (GH-15501) | Sergey Fedoseev | 2019-08-26 | 2 | -4/+4 |
| | | | | In a38e9d139929a227e3899fbb638bc46c6cc6d8ba pyconfig.h.in was manually edited and that edit was overwritten when running autoreconf. |