summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-29707: Document that os.path.ismount() is not able to reliable detect ↵Serhiy Storchaka2019-01-151-3/+4
| | | | bind mounts. (GH-11238)
* bpo-35619: Improve support of custom data descriptors in help() and pydoc. ↵Serhiy Storchaka2019-01-153-46/+182
| | | | (GH-11366)
* bpo-34756: Silence only ImportError and AttributeError in ↵Serhiy Storchaka2019-01-141-0/+6
| | | | sys.breakpointhook(). (GH-9457)
* bpo-35066: _dateime.datetime.strftime copies trailing '%' (GH-10692)MichaelSaah2019-01-143-5/+24
| | | | | | | Previously, calling the strftime() method on a datetime object with a trailing '%' in the format string would result in an exception. However, this only occured when the datetime C module was being used; the python implementation did not match this behavior. Datetime is now PEP-399 compliant, and will not throw an exception on a trailing '%'.
* bpo-35730: Disable IDLE test_reload assertion. (GH-11543)Terry Jan Reedy2019-01-131-1/+3
| | | | IDLE's test_squeezer.SqueezerTest.test_reload, added for issue 35196, failed on both Gentoo buildbots.
* bpo-35196: Optimize Squeezer's write() interception (GH-10454)Tal Einat2019-01-136-263/+247
| | | | The new functionality of Squeezer.reload() is also tested, along with some general re-working of the tests in test_squeezer.py.
* bpo-16806: Fix `lineno` and `col_offset` for multi-line string tokens (GH-10021)Anthony Sottile2019-01-1313-51/+91
|
* bpo-34512: Document platform-specific strftime() behavior for non-ASCII ↵Alexey Izbyshev2019-01-121-0/+6
| | | | format strings (GH-8948)
* bpo-35552: Fix reading past the end in PyUnicode_FromFormat() and ↵Serhiy Storchaka2019-01-123-6/+21
| | | | | | PyBytes_FromFormat(). (GH-11276) Format characters "%s" and "%V" in PyUnicode_FromFormat() and "%s" in PyBytes_FromFormat() no longer read memory past the limit if precision is specified.
* bpo-35634: Raise an error when first passed kwargs contains duplicated keys. ↵Serhiy Storchaka2019-01-123-48/+94
| | | | (GH-11438)
* bpo-35494: Improve syntax error messages for unbalanced parentheses in ↵Serhiy Storchaka2019-01-123-17/+51
| | | | f-string. (GH-11161)
* bpo-33817: Fix _PyBytes_Resize() for empty bytes object. (GH-11516)Serhiy Storchaka2019-01-124-0/+26
| | | | Add also tests for PyUnicode_FromFormat() and PyBytes_FromFormat() with empty result.
* bpo-35719: Optimize multi-argument math functions. (GH-11527)Serhiy Storchaka2019-01-122-19/+20
| | | | | Use the fast call convention for math functions atan2(), copysign(), hypot() and remainder() and inline unpacking arguments. This sped up them by 1.3--2.5 times.
* bpo-35582: Inline arguments tuple unpacking in handwritten code. (GH-11524)Serhiy Storchaka2019-01-122-24/+28
| | | | | Inline PyArg_UnpackTuple() and _PyArg_UnpackStack() in performance sensitive code in the builtins and operator modules.
* bpo-34838: Use subclass_of for math.dist. (GH-9659)Ammar Askar2019-01-123-9/+14
| | | | | Argument clinic now generates fast inline code for positional parsing, so the manually implemented type check in math.dist can be removed.
* bpo-35423: Stop using the "pending calls" machinery for signals. (gh-10972)Eric Snow2019-01-114-25/+94
| | | | | This change separates the signal handling trigger in the eval loop from the "pending calls" machinery. There is no semantic change and the difference in performance is insignificant. The change makes both components less confusing. It also eliminates the risk of changes to the pending calls affecting signal handling. This is particularly relevant for some upcoming pending calls changes I have in the works.
* bpo-34569: Fix subinterpreter 32-bit ABI, pystate.c/_new_long_object() ↵Michael Felt2019-01-112-1/+3
| | | | | | (gh-9127) This fixes ShareableTypeTests.test_int() in Lib/test/test__xxsubinterpreters.py.
* bpo-35582: Argument Clinic: Optimize the "all boring objects" case. (GH-11520)Serhiy Storchaka2019-01-1130-408/+561
| | | | | Use _PyArg_CheckPositional() and inlined code instead of PyArg_UnpackTuple() and _PyArg_UnpackStack() if all parameters are positional and use the "object" converter.
* bpo-35582: Argument Clinic: inline parsing code for positional parameters. ↵Serhiy Storchaka2019-01-1160-778/+6194
| | | | (GH-11313)
* bpo-32710: Fix _overlapped.Overlapped memory leaks (GH-11489)Victor Stinner2019-01-112-24/+56
| | | | | | | | | | | | Fix memory leaks in asyncio ProactorEventLoop on overlapped operation failures. Changes: * Implement the tp_traverse slot in the _overlapped.Overlapped type to help to break reference cycles and identify referrers in the garbage collector. * Always clear overlapped on failure: not only set type to TYPE_NOT_STARTED, but release also resources.
* bpo-35716: Update time.CLOCK_MONOTONIC_RAW doc (GH-11517)Joannah Nanjekye2019-01-111-2/+2
| | | | | | Document that the time.CLOCK_MONOTONIC_RAW constant is now also available on macOS 10.12. Co-authored-by: Ricardo Fraile <rfraile@rfraile.eu>
* bpo-32146: Add documentation about frozen executables on Unix (GH-5850)Bo Bayles2019-01-102-0/+9
|
* bpo-35702: Add new identifier time.CLOCK_UPTIME_RAW for macOS 10.12 (GH-11503)Joannah Nanjekye2019-01-104-0/+22
|
* bpo-35470: Fix a reference counting bug in ↵Zackery Spytz2019-01-101-1/+0
| | | | _PyImport_FindExtensionObjectEx(). (GH-11128)
* bpo-24746: Fix doctest failures when running the testsuite with -R (#11501)Pablo Galindo2019-01-101-2/+1
|
* asyncio: __del__() keep reference to warnings.warn (GH-11491)Victor Stinner2019-01-107-24/+16
| | | | | | | | | | | | | | | * asyncio: __del__() keep reference to warnings.warn The __del__() methods of asyncio classes now keep a strong reference to the warnings.warn() to be able to display the ResourceWarning warning in more cases. Ensure that the function remains available if instances are destroyed late during Python shutdown (while module symbols are cleared). * Rename warn parameter to _warn "_warn" name is a hint that it's not the regular warnings.warn() function.
* IocpProactor: prevent modification if closed (GH-11494)Victor Stinner2019-01-101-6/+22
| | | | | | * _wait_for_handle(), _register() and _unregister() methods of IocpProactor now raise an exception if closed * Add "closed" to IocpProactor.__repr__() * Simplify IocpProactor.close()
* bpo-34855: Fix EXTERNALS_DIR build variable for Windows (GH-11177)antektek2019-01-103-3/+3
|
* Distutils no longer needs to remain compatible with 2.3 (GH-11423)Miro Hrončok2019-01-091-2/+0
|
* Update bugs.rst (GH-9648)Andre Delfino2019-01-091-1/+1
|
* bpo-35404: Clarify how to import _structure in email.message doc (GH-10886)Charles-Axel Dein2019-01-091-1/+1
|
* Add example to the documentation for calling unittest.mock.patch with ↵Pablo Galindo2019-01-091-7/+28
| | | | create=True (GH-11056)
* bpo-35641: Move IDLE blurb to IDLE directory (#11479)Terry Jan Reedy2019-01-091-0/+0
|
* bpo-24746: Avoid stripping trailing whitespace in doctest fancy diff (#10639)Sanyam Khurana2019-01-093-3/+49
|
* bpo-32710: Fix leak in Overlapped_WSASend() (GH-11469)Victor Stinner2019-01-082-0/+5
| | | | | Fix a memory leak in asyncio in the ProactorEventLoop when ReadFile() or WSASend() overlapped operation fail immediately: release the internal buffer.
* bpo-35596: Use unchecked PYCs for the embeddable distro to avoid zipimport ↵Steve Dower2019-01-084-7/+36
| | | | | restrictions (GH-11465) Also adds extra steps to the CI build for Windows on Azure Pipelines to validate that the various layouts at least execute.
* bpo-35568: add 'raise_signal' function (GH-11335)Vladimir Matveev2019-01-0810-47/+122
| | | | | | As in title, expose C `raise` function as `raise_function` in `signal` module. Also drop existing `raise_signal` in `_testcapi` module and replace all usages with new function. https://bugs.python.org/issue35568
* bpo-35374: Avoid trailing space in hhc file name if found on PATH. (GH-10849)chrullrich2019-01-081-1/+1
|
* Remove spurious quote in Azure Pipelines script (GH-10763)Pierre Glaser2019-01-081-1/+1
|
* bpo-35682: Fix _ProactorBasePipeTransport._force_close() (GH-11462)Victor Stinner2019-01-082-1/+3
| | | | | | | bpo-32622, bpo-35682: Fix asyncio.ProactorEventLoop.sendfile(): don't attempt to set the result of an internal future if it's already done. Fix asyncio _ProactorBasePipeTransport._force_close(): don't set the result of _empty_waiter if it's already done.
* bpo-35642: Remove asynciomodule.c from pythoncore.vcxproj (GH-11410)Gregory Szorc2019-01-083-4/+1
| | | This module is built by _asyncio.vcxproj and does not need to be included in pythoncore.
* bpo-33717: pythoninfo logs information of all clocks (GH-11460)Victor Stinner2019-01-082-3/+14
| | | | test.pythoninfo now logs information of all clocks, not only time.time() and time.perf_counter().
* bpo-32710: test_asyncio: test_sendfile reset policy (GH-11461)Victor Stinner2019-01-072-0/+7
| | | | | test_asyncio/test_sendfile.py now resets the event loop policy using tearDownModule() as done in other tests, to prevent a warning when running tests on Windows.
* bpo-35664: Optimize operator.itemgetter (GH-11435)Raymond Hettinger2019-01-073-5/+54
|
* bpo-35560: Remove assertion from format(float, "n") (GH-11288)Xtreak2019-01-073-1/+23
| | | | | Fix an assertion error in format() in debug build for floating point formatting with "n" format, zero padding and small width. Release build is not impacted. Patch by Karthikeyan Singaravelan.
* test_threading_local: add missing "import sys" (GH-8049)cclauss2019-01-061-0/+1
|
* bpo-35660: Fix imports in idlelib.window (#11434)Cheryl Sabella2019-01-062-1/+3
| | | | | | | | | | * bpo-35660: IDLE: Remove * import from window.py * sys was being imported through the *, so also added an import sys. * Update 2019-01-04-19-14-29.bpo-35660.hMxI7N.rst Anyone who wants details can check the issue, where I added the point about the sys import bug.
* bpo-35488: Add tests for ** glob matching in pathlib (GH-11171)Anthony Shaw2019-01-062-114/+118
|
* remove doc-string declaration no longer used after AC conversion (GH-11444)Tal Einat2019-01-061-4/+0
|
* bpo-23057: Use 'raise' to emulate ctrl-c in proactor tests (#11274)Vladimir Matveev2019-01-053-76/+24
|