summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of exception traceback printing in asyncio tests (GH-14343)Andrew Svetlov2019-06-241-2/+2
|
* bpo-37363: Add audit events for a range of modules (GH-14301)Steve Dower2019-06-2437-18/+165
|
* bpo-37359: Fix regrtest --cleanup (GH-14336)Victor Stinner2019-06-241-1/+1
|
* bpo-36974: inherit tp_vectorcall_offset unconditionally (GH-13858)Jeroen Demeyer2019-06-244-7/+18
|
* bpo-37359: Add --cleanup option to python3 -m test (GH-14332)Victor Stinner2019-06-245-14/+65
| | | | | * regrtest: Add --cleanup option to remove "test_python_*" directories of previous failed test jobs. * Add "make cleantest" to run "python3 -m test --cleanup".
* bpo-37345: Add formal UDPLITE support (GH-14258)Gabe Appleton2019-06-244-0/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the moment you can definitely use UDPLITE sockets on Linux systems, but it would be good if this support were formalized such that you can detect support at runtime easily. At the moment, to make and use a UDPLITE socket requires something like the following code: ``` >>> import socket >>> a = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 136) >>> b = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 136) >>> a.bind(('localhost', 44444)) >>> b.sendto(b'test'*256, ('localhost', 44444)) >>> b.setsockopt(136, 10, 16) >>> b.sendto(b'test'*256, ('localhost', 44444)) >>> b.setsockopt(136, 10, 32) >>> b.sendto(b'test'*256, ('localhost', 44444)) >>> b.setsockopt(136, 10, 64) >>> b.sendto(b'test'*256, ('localhost', 44444)) ``` If you look at this through Wireshark, you can see that the packets are different in that the checksums and checksum coverages change. With the pull request that I am submitting momentarily, you could do the following code instead: ``` >>> import socket >>> a = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDPLITE) >>> b = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDPLITE) >>> a.bind(('localhost', 44444)) >>> b.sendto(b'test'*256, ('localhost', 44444)) >>> b.set_send_checksum_coverage(16) >>> b.sendto(b'test'*256, ('localhost', 44444)) >>> b.set_send_checksum_coverage(32) >>> b.sendto(b'test'*256, ('localhost', 44444)) >>> b.set_send_checksum_coverage(64) >>> b.sendto(b'test'*256, ('localhost', 44444)) ``` One can also detect support for UDPLITE just by checking ``` >>> hasattr(socket, 'IPPROTO_UDPLITE') ``` https://bugs.python.org/issue37345
* bpo-37348: optimize decoding ASCII string (GH-14283)Inada Naoki2019-06-242-34/+53
| | | `_PyUnicode_Writer` is a relatively complex structure. Initializing it is significant overhead when decoding short ASCII string.
* bpo-35224: Bump the pyc magic number by 1 instead of by 10 in last ↵Pablo Galindo2019-06-232-3/+3
| | | | modification (GH-14320)
* bpo-35224: Bump the pyc magic number after the change in MAP_ADD (GH-14313)Pablo Galindo2019-06-222-122/+124
|
* asyncio: Fix docs for default event loop (#14308)Ben Darnell2019-06-221-1/+1
| | | When the Windows default event loop changed, `asyncio-policy.rst` was updated but `asyncio-eventloop.rst` was missed.
* bpo-35224: Reverse evaluation order of key: value in dict comprehensions ↵Jörn Heissler2019-06-228-7/+53
| | | | | | | | | | | (GH-14139) … as proposed in PEP 572; key is now evaluated before value. https://bugs.python.org/issue35224
* Improve threading.daemon docstring (GH-14278)mbarkhau2019-06-221-2/+1
| | | Rephrase and clarify that "the entire Python program exits when only daemon threads are left". This matches the documentation at https://docs.python.org/3/library/threading.html#thread-objects.
* bpo-37323: Suppress DeprecationWarning raised by @asyncio.coroutine (GH-14293)Xtreak2019-06-221-1/+3
| | | | | | When the test is ran with `PYTHONWARNINGS=error` the environment variable is passed to the python interpreter used in `assert_python_ok` where `DeprecationWarning` from `@asyncio.coroutine` is converted into an error. Ignore the `DeprecationWarning` in `assert_python_ok`. https://bugs.python.org/issue37323
* bpo-37364: Use io.open_code() to read .pth files (GH-14299)Steve Dower2019-06-212-1/+3
| | | https://bugs.python.org/issue37364
* bpo-37351: Removes libpython38.a from standard Windows distribution (#14276)Steve Dower2019-06-216-37/+21
|
* bpo-37362: test_gdb now ignores stderr (GH-14287)Victor Stinner2019-06-212-34/+16
| | | | | test_gdb no longer fails if it gets an "unexpected" message on stderr: it now ignores stderr. The purpose of test_gdb is to test that python-gdb.py commands work as expected, not to test gdb.
* Use `python -m pip install` in porting guide and venv docs (GH-13257)Brad2019-06-212-11/+17
| | | This is to help prevent people from accidentally installing into the wrong Python interpreter if they are not aware of which Python interpreter `pip` points to.
* bpo-30202 : Update test.test_importlib.test_abc to test find_spec() (GH-12847)Joannah Nanjekye2019-06-212-4/+18
|
* bpo-36511: Fix -u parameters for ARM32 tests (GH-14280)Paul Monson2019-06-211-1/+1
|
* bpo-37316: mmap.mmap() passes the wrong variable to PySys_Audit() (GH-14152)Zackery Spytz2019-06-215-1/+13
| | | Also, add a missing call to va_end() in PySys_Audit().
* bpo-36210: update optional extension handling for AIX (GH-12202)Michael Felt2019-06-212-8/+26
| | | | | | * Switch to officially supported curses from 3rd-party ASIS supported ncurses * stop saying optional modules osaudiodev and spwd are missing on AIX Patch by M.Felt
* Docs: Improved phrasing (GH-14069)Aeros2019-06-211-4/+6
| | | | | | | | * Docs: Improved phrasing Removed usage of second person pronouns in the section and made the assumption of "uneasiness" in code style transition more neutral. * Removed trailing whitespace on line 34
* Remove redundant if check from optional argument function in argparse. (GH-8766)Shashank Parekh2019-06-211-4/+2
|
* bpo-37289: Add a test for if with ifexpr in the peephole optimiser to detect ↵Pablo Galindo2019-06-201-0/+8
| | | | regressions (GH-14127)
* Update What's New in Python 3.9 (GH-14253)Victor Stinner2019-06-202-1/+2
| | | | * Mention bpo of PyImport_Cleanup removal * Fix bpo number of PyByteArray_Init removal
* bpo-36511: Improve ARM32 buildbot scripts (GH-14251)Paul Monson2019-06-203-23/+29
|
* bpo-37151: remove _PyCFunction_FastCallDict (GH-14269)Jeroen Demeyer2019-06-204-29/+5
|
* Fix typo, 'widger' -> 'widget', in idlelib/tree.py (GH-14263)İsmail Arılık2019-06-201-1/+1
|
* Fix bpo number in News file. (GH-14260)Eric V. Smith2019-06-201-1/+1
|
* bpo-37342: Fix the incorrect nb_index's type in typeobj documentation (GH-14241)Hai Shi2019-06-201-1/+1
| | | It was listed as `binaryfunc`. It should be `unaryfunc`.
* Update What's New in Python 3.8 (GH-14239)Victor Stinner2019-06-191-1/+2
| | | | * Mention issue in which ByByteArray_Init() has been removed. * Fix typo
* bpo-36710: Use tstate in pylifecycle.c (GH-14249)Victor Stinner2019-06-198-108/+120
| | | | In pylifecycle.c: pass tstate argument, rather than interp argument, to functions.
* Add missing single quote in io.TextIOWrapper.reconfigure documentation ↵Harmon2019-06-191-1/+1
| | | | | (GH-14246) Add a missing single quote character in the documentation for `io.TextIOWrapper.reconfigure`.
* bpo-36511: Add buildbot scripts and fix tests for Windows ARM32 buildbot ↵Paul Monson2019-06-198-13/+107
| | | | (GH-13454)
* bpo-37333: Ensure IncludeTkinter has a value (GH-14240)Steve Dower2019-06-191-0/+3
|
* bpo-37331: Clarify format of socket handler messages in the documentation. ↵Vinay Sajip2019-06-191-4/+14
| | | | (GH-14234)
* bpo-37258: Not a bug, but added a unit test and updated documentation. ↵Vinay Sajip2019-06-192-3/+36
| | | | (GH-14229)
* bpo-36710: Remove PyImport_Cleanup() function (GH-14221)Victor Stinner2019-06-196-20/+7
| | | | | | | * Rename PyImport_Cleanup() to _PyImport_Cleanup() and move it to the internal C API. Add 'tstate' parameters. * Remove documentation of _PyImport_Init(), PyImport_Cleanup(), _PyImport_Fini(). All three were documented as "For internal use only.".
* Fix name of '\0'. (GH-14222)Benjamin Peterson2019-06-191-1/+1
| | | '\0' is the NUL byte not NULL.
* bpo-36710: Add tstate parameter in import.c (GH-14218)Victor Stinner2019-06-198-190/+247
| | | | | | | | | | | | | * Add 'tstate' parameter to many internal import.c functions. * _PyImportZip_Init() now gets 'tstate' parameter rather than 'interp'. * Add 'interp' parameter to _PyState_ClearModules() and rename it to _PyInterpreterState_ClearModules(). * Move private _PyImport_FindBuiltin() to the internal C API; add 'tstate' parameter to it. * Remove private _PyImport_AddModuleObject() from the C API: use public PyImport_AddModuleObject() instead. * Remove private _PyImport_FindExtensionObjectEx() from the C API: use private _PyImport_FindExtensionObject() instead.
* Document typing.ForwardRef (GH-14216)Ivan Levkivskyi2019-06-191-0/+7
|
* Document changes in PyNode_AddChild and PyParser_AddToken (GH-14214)Ivan Levkivskyi2019-06-191-0/+2
| | | I didn't find any entries in the docs about these functions, so I just mentioned them, in "What's New".
* bpo-35134: Add Include/cpython/import.h header file (GH-14213)Victor Stinner2019-06-187-52/+86
| | | | | | * Add Include/cpython/import.h and Include/internal/pycore_import.h header files. * Move _PyImport_ReInitLock() to the internal C API. Don't export the symbol anymore.
* bpo-37325: Fix focus traversal for 2 IDLE dialogs (#14209)Terry Jan Reedy2019-06-184-23/+42
| | | Tab now moves focus across and down for Help Source and Custom Run.
* Add pganssle to CODEOWNERS and ACKS (GH-14138)Paul Ganssle2019-06-182-0/+10
| | | Also adds abalkin to CODEOWNERS for date and time related files.
* bpo-34903: Document that some strptime formats only require 1 digit (GH-14149)Mike Gleen2019-06-183-15/+56
| | | | | | | For datetime.datetime.strptime(), the leading zero for some two-digit formats is optional. This adds a footnote to the strftime/strptime documentation to reflect this fact, and adds some tests to ensure that it is true. bpo-34903
* bpo-37151: remove _PyFunction_FastCallDict (GH-13864)Jeroen Demeyer2019-06-183-106/+1
|
* bpo-35360: Update macOS installer to use SQLite 3.28.0 (GH-14180)animalize2019-06-182-3/+4
|
* bpo-37233: use _PY_FASTCALL_SMALL_STACK in method_vectorcall (GH-13974)Jeroen Demeyer2019-06-181-5/+13
|
* bpo-37151: use PyVectorcall_Call for all calls of "method" (GH-13972)Jeroen Demeyer2019-06-181-12/+1
|