summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-37105: Add deprecated-remove information on stream doc (#13672)Emmanuel Arias2019-05-311-0/+16
| | | | | | | | | | * Add deprecated-remove information on stream doc According to the code on streams.py the functions: ``open_connection()``, ``start_server()``, ``open_unix_connection()``, ``start_unix_server()`` are deprecated. I infor that on documentation.
* bpo-15115: Document deprecation of email.encoders in Python 3 (GH-5354)Cheryl Sabella2019-05-311-0/+5
|
* bpo-33361: Fix bug with seeking in StreamRecoders (GH-8278)Ammar Askar2019-05-313-0/+33
|
* bpo-26826: Expose copy_file_range in the os module (GH-7255)Pablo Galindo2019-05-319-19/+363
|
* Document changes for PyCode_New regarding PEP570 (GH-13706)Pablo Galindo2019-05-312-0/+6
|
* bpo-12639: msilib.Directory.start_component() fails if *keyfile* is not None ↵Zackery Spytz2019-05-313-1/+12
| | | | | (GH-13688) msilib.Directory.start_component() was passing an extra argument to CAB.gen_id().
* bpo-25735: math.factorial doc should mention integer return type (GH-6420)Akshay Sharma2019-05-312-1/+2
|
* bpo-26835: Add file sealing constants to fcntl (GH-13694)Christian Heimes2019-05-313-1/+14
| | | Co-authored-by: nanjekyejoannah <nanjekyejoannah@gmail.com>
* bpo-37094: Add example for TestCase.skipTest in unittest doc (GH-13645)Makdon2019-05-311-4/+12
| | | | | | Also includes other minor test skipping doc improvements. https://bugs.python.org/issue37094
* bpo-37115: Support annotations in positional-only arguments (GH-13698)Pablo Galindo2019-05-313-4/+57
|
* bpo-37112: Allow compile to work on AST with positional only arguments with ↵Pablo Galindo2019-05-312-1/+23
| | | | defaults (GH-13697)
* Update data model docs to include missing attributes for code objects (GH-13696)Pablo Galindo2019-05-311-12/+17
| | | Include and document co_posonlyargcount and co_kwonlyargcount
* bpo-37108: Support super with methods that use positional-only arguments ↵Pablo Galindo2019-05-312-1/+15
| | | | (GH-13695)
* bpo-36379: __ipow__ must be a ternaryfunc, not a binaryfunc (GH-13546)Zackery Spytz2019-05-314-1/+36
| | | | | | | If a type's __ipow__ method was implemented in C, attempting to use the *modulo* parameter would cause crashes. https://bugs.python.org/issue36379
* bpo-34271: Add ssl debugging helpers (GH-10031)Christian Heimes2019-05-317-18/+677
| | | | | | | | | | | The ssl module now can dump key material to a keylog file and trace TLS protocol messages with a tracing callback. The default and stdlib contexts also support SSLKEYLOGFILE env var. The msg_callback and related enums are private members. The feature is designed for internal debugging and not for end users. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-26660, bpo-35144: Fix permission errors in TemporaryDirectory cleanup. ↵Serhiy Storchaka2019-05-314-14/+86
| | | | | | | (GH-10320) TemporaryDirectory.cleanup() failed when non-writeable or non-searchable files or directories were created inside a temporary directory.
* bpo-31829: Make protocol 0 pickles be loadable in text mode in Python 2. ↵Serhiy Storchaka2019-05-314-5/+25
| | | | | | (GH-11859) Escape ``\r``, ``\0`` and ``\x1a`` (end-of-file on Windows) in Unicode strings.
* IDLE - Capitalize search dialogs' 'Close' button label. (#13691)Terry Jan Reedy2019-05-312-2/+3
| | | | It seems to be the only widget label not capitalized.
* bpo-36548: Improve the repr of re flags. (GH-12715)Serhiy Storchaka2019-05-313-16/+45
|
* bpo-339827: Do not swallow exceptions in the _ssl module. (GH-12756)Serhiy Storchaka2019-05-311-37/+52
|
* bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async ↵Jeroen Demeyer2019-05-31109-518/+516
| | | | | | | | | (GH-13464) Automatically replace tp_print -> tp_vectorcall_offset tp_compare -> tp_as_async tp_reserved -> tp_as_async
* bpo-29262: Add get_origin() and get_args() introspection helpers to typing ↵Ivan Levkivskyi2019-05-304-0/+99
| | | | | | | | | | (GH-13685) This is an old feature request that appears from time to time. After a year of experimenting with various introspection capabilities in `typing_inspect` on PyPI, I propose to add these two most commonly used functions: `get_origin()` and `get_args()`. These are essentially thin public wrappers around private APIs: `__origin__` and `__args__`. As discussed in the issue and on the typing tracker, exposing some public helpers instead of `__origin__` and `__args__` directly will give us more flexibility if we will decide to update the internal representation, while still maintaining backwards compatibility. The implementation is very simple an is essentially a copy from `typing_inspect` with one exception: `ClassVar` was special-cased in `typing_inspect`, but I think this special-casing doesn't really help and only makes things more complicated.
* bpo-5028: Fix up rest of documentation for tokenize documenting line (GH-13686)Anthony Sottile2019-05-303-4/+4
| | | https://bugs.python.org/issue5028
* bpo-36953: Delay removal of ABCs from collections. (GH-13409)Matthias Bussonnier2019-05-303-4/+9
| | | | | | | Bump the removal to 3.9, indicate collections.abc available since 3.3, replace version-changed directive to deprecated-removed. https://bugs.python.org/issue36953
* bpo-36342: Fix test_multiprocessing in test_venv (GH-12513)xdegaye2019-05-302-1/+7
| | | | | | | when platform lacks a functioning sem_open implementation https://bugs.python.org/issue36342
* bpo-30969: Fix docs about the comparison in absence of __contains__ (GH-2761)Antti Haapala2019-05-301-5/+6
|
* bpo-5028: fix doc bug for tokenize (GH-11683)Andrew Carr2019-05-303-3/+3
| | | https://bugs.python.org/issue5028
* Fix audit event typo : urllib.request -> urllib.Request (GH-13550)Xtreak2019-05-301-2/+2
| | | | | As per the PEP and the [audit event raised](https://github.com/python/cpython/blob/13d4e6a4a090031f8214e058ed3c8fd47767e05f/Lib/urllib/request.py#L524) in urllib.request this should be `urllib.Request` cc: @zooba
* bpo-36999: Add asyncio.Task.get_coro() (GH-13680)Alex Grönholm2019-05-306-1/+52
| | | https://bugs.python.org/issue36999
* Revert adding @maxking to CODEOWNERS file (GH-13660)Brett Cannon2019-05-301-1/+1
| | | This reverts commit 71dc7c5fbd856df83202f39c1f41ccd07c6eceb7. Turns out you must have write access for CODEOWNERS to work.
* bpo-36974: rename _FastCallKeywords -> _Vectorcall (GH-13653)Jeroen Demeyer2019-05-309-19/+19
|
* bpo-37099: Silence DeprecationWarning in test_inspect (GH-13679)Xtreak2019-05-301-6/+9
| | | | | | Fix DeprecationWarning introduced in aee19f54f6fe45f6b3c906987941e5a8af4468e9 https://bugs.python.org/issue37099
* bpo-20602: Do not clear sys.flags and sys.float_info during shutdown (GH-8096)Zackery Spytz2019-05-303-2/+18
| | | There is no need to clear these immutable objects during shutdown.
* bpo-36974: remove _PyObject_HasFastCall (GH-13460)Jeroen Demeyer2019-05-303-22/+2
|
* bpo-36974: inherit the vectorcall protocol (GH-13498)Jeroen Demeyer2019-05-303-2/+104
|
* bpo-37015: Ensure tasks created by _accept_connection2 due to AsyncMock are ↵Xtreak2019-05-301-6/+8
| | | | | | | | completed (GH-13661) From 3.8 async functions used with mock.patch return an `AsyncMock`. `_accept_connection2` is an async function where create_task is also mocked. Don't mock `create_task` so that tasks are created out of coroutine returned by `AsyncMock` and the tasks are completed. https://bugs.python.org/issue37015
* bpo-37098: Skip memfd_create test before Linux 3.17 (GH-13677)Christian Heimes2019-05-302-0/+2
|
* bpo-36935: Remove usage of the deprecated ↵Zackery Spytz2019-05-301-2/+6
| | | | | | | | PyErr_SetFromWindowsErrWithUnicodeFilename() (GH-13355) In e895de3e7f3cc2f7213b87621cfe9812ea4343f0, the deprecated function PyErr_SetFromWindowsErrWithUnicodeFilename() was added in two functions in Modules/_winapi.c. This function was deprecated in 3.3.
* autoreconf (GH-13651)Inada Naoki2019-05-301-2/+2
|
* bpo-36610: shutil.copyfile(): use sendfile() on Linux only (GH-13675)Giampaolo Rodola2019-05-305-13/+12
| | | | ...and avoid using it on Solaris as it can raise EINVAL if offset is equal or bigger than the size of the file
* bpo-24564: shutil.copystat(): ignore EINVAL on os.setxattr() (GH-13369)Ying Wang2019-05-302-2/+6
|
* Don't crash if there exists an EGG-INFO directory on sys.path (#13667)Anthony Sottile2019-05-302-1/+10
| | | | | | | | * Don't crash if there exists an EGG-INFO directory on sys.path cross-port of https://gitlab.com/python-devs/importlib_metadata/merge_requests/72 * Also catch PermissionError for windows
* Regenerate topics file (GH-13642)Pablo Galindo2019-05-292-53/+67
|
* bpo-37007: Implement socket.if_nametoindex(), if_indextoname() and ↵Zackery Spytz2019-05-296-28/+79
| | | | if_nameindex() on Windows (GH-13522)
* bpo-36974: Fix GDB integration (GH-13665)Petr Viktorin2019-05-292-2/+3
| | | | | | | | | | | As it changes the way functions are called, the PEP 590 implementation skipped the functions that the GDB integration is looking for (by name) to find function calls. Looking for the new helper `cfunction_call_varargs` hopefully fixes the tests, and thus buildbots. The changed frame nuber in test_gdb is due to there being fewer C calls when calling a built-in method.
* bpo-26836: Add ifdefs for all MFD_HUGE* constants (GH-13666)Zackery Spytz2019-05-291-0/+28
| | | https://bugs.python.org/issue26836
* bpo-32388: Remove cross-version binary compatibility requirement in tp_flags ↵Antoine Pitrou2019-05-2918-51/+52
| | | | | | | | (GH-4944) It is now allowed to add new fields at the end of the PyTypeObject struct without having to allocate a dedicated compatibility flag in tp_flags. This will reduce the risk of running out of bits in the 32-bit tp_flags value.
* bpo-26836: Add os.memfd_create() (#13567)Zackery Spytz2019-05-2910-12/+259
| | | | | | | | | | | | | | | | | | | | * bpo-26836: Add os.memfd_create() * Use the glibc wrapper for memfd_create() Co-Authored-By: Christian Heimes <christian@python.org> * Fix deletions caused by autoreconf. * Use MFD_CLOEXEC as the default value for *flags*. * Add memset_s to configure.ac. * Revert memset_s changes. * Apply the requested changes. * Tweak the docs.
* bpo-22385: Support output separators in hex methods. (#13578)Gregory P. Smith2019-05-2916-64/+624
| | | | | | | | | | | | | | | | | | * bpo-22385: Support output separators in hex methods. Also in binascii.hexlify aka b2a_hex. The underlying implementation behind all hex generation in CPython uses the same pystrhex.c implementation. This adds support to bytes, bytearray, and memoryview objects. The binascii module functions exist rather than being slated for deprecation because they return bytes rather than requiring an intermediate step through a str object. This change was inspired by MicroPython which supports sep in its binascii implementation (and does not yet support the .hex methods). https://bugs.python.org/issue22385
* bpo-36974: implement PEP 590 (GH-13185)Jeroen Demeyer2019-05-2922-233/+404
| | | | | Co-authored-by: Jeroen Demeyer <J.Demeyer@UGent.be> Co-authored-by: Mark Shannon <mark@hotpy.org>