summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* bpo-39259: poplib now rejects timeout = 0 (GH-17912)Dong-hee Na2020-01-102-5/+9
| | | | | poplib.POP3 and poplib.POP3_SSL now raise a ValueError if the given timeout for their constructor is zero to prevent the creation of a non-blocking socket.
* bpo-39166: Fix trace of last iteration of async for loops (#17800)Pablo Galindo2020-01-101-0/+76
|
* bpo-39235: Check end_lineno and end_col_offset of AST nodes. (GH-17926)Serhiy Storchaka2020-01-101-102/+104
|
* Fix typo in test's docstring (GH-17856)Daniel Hahler2020-01-091-1/+1
| | | * Fix typo in test's docstring. contination -> continuation.
* bpo-25172: Reduce scope of crypt import tests (GH-17881)Steve Dower2020-01-091-4/+5
|
* Add test cases for dataclasses. (#17909)Karthikeyan Singaravelan2020-01-091-0/+19
| | | | | | | | * Add test cases for dataclasses. * Add test for repr output of field. * Add test for ValueError to be raised when both default and default_factory are passed.
* bpo-35292: Avoid calling mimetypes.init when http.server is imported (GH-17822)An Long2020-01-081-13/+10
|
* bpo-39242: Updated the Gmane domain into news.gmane.io (GH-17903)Dong-hee Na2020-01-082-3/+3
|
* bpo-38871: Fix lib2to3 for filter-based statements that contain lambda ↵Dong-hee Na2020-01-072-3/+12
| | | | | | (GH-17780) Correctly parenthesize filter-based statements that contain lambda expressions in lib2to3.
* bpo-38615: Add timeout parameter for IMAP4 and IMAP4_SSL constructor (GH-17203)Dong-hee Na2020-01-072-15/+48
| | | | | | | | imaplib.IMAP4 and imaplib.IMAP4_SSL now have an optional *timeout* parameter for their constructors. Also, the imaplib.IMAP4.open() method now has an optional *timeout* parameter with this change. The overridden methods of imaplib.IMAP4_SSL and imaplib.IMAP4_stream were applied to this change.
* bpo-39198: Ensure logging global lock is released on exception in ↵Derek Brown2020-01-071-6/+9
| | | | isEnabledFor (GH-17689)
* bpo-39239: epoll.unregister() no longer ignores EBADF (GH-17882)Victor Stinner2020-01-071-1/+4
| | | | The select.epoll.unregister() method no longer ignores the EBADF error.
* bpo-39191: Fix RuntimeWarning in asyncio test (GH-17863)Andrew Svetlov2020-01-072-5/+9
| | | https://bugs.python.org/issue39191
* bpo-39209: Manage correctly multi-line tokens in interactive mode (GH-17860)Pablo Galindo2020-01-061-0/+36
|
* bpo-38907: Suppress any exception when attempting to set V6ONLY. (GH-17864)Jason R. Coombs2020-01-061-1/+5
| | | Fixes error attempting to bind to IPv4 address.
* bpo-38907: In http.server script, restore binding to IPv4 on Windows. (GH-17851)Jason R. Coombs2020-01-061-1/+13
|
* Minor formatting improvements and fixes to idle.rst (GH-17165)Tal Einat2020-01-051-7/+8
|
* Organise and clean test_positional_only_arg and add more tests (GH-17842)Pablo Galindo2020-01-051-14/+23
|
* bpo-39200: Correct the error message for range() empty constructor (GH-17813)Pablo Galindo2020-01-051-0/+13
| | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Fix constant folding optimization for positional only arguments (GH-17837)Anthony Sottile2020-01-051-0/+12
|
* bpo-39152: add missing ttk.Scale.configure return value (GH-17815)Terry Jan Reedy2020-01-052-11/+7
| | | | tkinter.ttk.Scale().configure([name]) now returns a configuration tuple for name or a list thereof for all options. Based on patch Giovanni Lombardo.
* bpo-39055: Reject a trailing \n in base64.b64decode() with validate=True. ↵Serhiy Storchaka2020-01-052-1/+2
| | | | (GH-17616)
* bpo-39056: Fix handling invalid warning category in the -W option. (GH-17618)Serhiy Storchaka2020-01-052-17/+36
| | | No longer import the re module if it is not needed.
* bpo-39057: Fix urllib.request.proxy_bypass_environment(). (GH-17619)Serhiy Storchaka2020-01-053-13/+37
| | | Ignore leading dots and no longer ignore a trailing newline.
* Fix SystemError when nested function has annotation on positional-only ↵Anthony Sottile2020-01-051-0/+7
| | | | argument (GH-17826)
* Fix #39191: Don't spawn a task before failing (#17796)Andrew Svetlov2020-01-041-3/+7
|
* bpo-39158: ast.literal_eval() doesn't support empty sets (GH-17742)Raymond Hettinger2020-01-032-0/+4
|
* bpo-38870: Throw ValueError on invalid yield from usage (GH-17798)Batuhan Taşkaya2020-01-022-4/+6
|
* bpo-39114: Fix tracing of except handlers with name binding (GH-17769)Pablo Galindo2020-01-021-0/+45
| | | When producing the bytecode of exception handlers with name binding (like `except Exception as e`) we need to produce a try-finally block to make sure that the name is deleted after the handler is executed to prevent cycles in the stack frame objects. The bytecode associated with this try-finally block does not have source lines associated and it was causing problems when the tracing functionality was running over it.
* bpo-13601: always use line-buffering for sys.stderr (GH-17646)Jendrik Seipp2020-01-011-0/+16
|
* bpo-39142: Avoid converting namedtuple instances to ConvertingTuple. (GH-17773)Vinay Sajip2020-01-012-1/+32
| | | | | | | This uses the heuristic of assuming a named tuple is a subclass of tuple with a _fields attribute. This change means that contents of a named tuple wouldn't be converted - if a user wants to have ConvertingTuple functionality from a namedtuple, they will have to implement it themselves.
* bpo-39176: Improve error message for 'named assignment' (GH-17777)Ned Batchelder2020-01-012-3/+3
|
* Fix idlelib README typo. (GH-17770)Terry Jan Reedy2019-12-311-1/+1
|
* bpo-38588: Fix possible crashes in dict and list when calling ↵Dong-hee Na2019-12-312-1/+36
| | | | | | PyObject_RichCompareBool (GH-17734) Take strong references before calling PyObject_RichCompareBool to protect against the case where the object dies during the call.
* bpo-38610: Fix possible crashes in several list methods (GH-17022)Zackery Spytz2019-12-301-0/+26
| | | Hold strong references to list elements while calling PyObject_RichCompareBool().
* bpo-39019: Implement missing __class_getitem__ for SpooledTemporaryFile ↵Batuhan Taşkaya2019-12-302-0/+15
| | | | | | (GH-17560)
* bpo-39019: Implement missing __class_getitem__ for subprocess classes (GH-17558)Batuhan Taşkaya2019-12-302-0/+27
|
* bpo-34790: Implement deprecation of passing coroutines to asyncio.wait() ↵Kyle Stanley2019-12-302-5/+25
| | | | (GH-16977)
* Fix handling of line numbers around finally-blocks. (#17737)Mark Shannon2019-12-301-0/+66
|
* bpo-39157: Skip test_pidfd_send_signal if the system does not have enough ↵Pablo Galindo2019-12-291-0/+2
| | | | privileges to use pidfd (GH-17740)
* Fix error when running with -uall in test_unparse (GH-17739)Pablo Galindo2019-12-291-7/+7
|
* bpo-38870: Run always tests that heavily use grammar features in ↵Pablo Galindo2019-12-291-1/+11
| | | | test_unparse (GH-17738)
* bpo-39136: Fixed typos (GH-17720)Gurupad Hegde2019-12-282-3/+3
| | | | | funtion -> function; configuraton -> configuration; defintitions -> definitions; focusses -> focuses; necesarily -> necessarily; follwing -> following; Excape -> Escape,
* Fix import path for asyncio.TimeoutError (#17691)Andrew Svetlov2019-12-241-2/+2
|
* Revert "bpo-38870: Remove dependency on contextlib to avoid performance ↵Pablo Galindo2019-12-231-13/+6
| | | | | regression on import (GH-17376)" (GH-17687) This reverts commit ded8888fbc33011dd39b7b1c86a5adfacc4943f3.
* bpo-38870: Refactor delimiting with context managers in ast.unparse (GH-17612)Batuhan Taşkaya2019-12-231-147/+137
| | | | | Co-Authored-By: Victor Stinner <vstinner@python.org> Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
* bpo-38914 Do not require email field in setup.py. (GH-17388)Jürgen Gmach2019-12-231-5/+8
| | | | | | | | | | | | | | | | | | When checking `setup.py` and when the `author` field was provided, but the `author_email` field was missing, erroneously a warning message was displayed that the `author_email` field is required. The specs do not require the `author_email`field: https://packaging.python.org/specifications/core-metadata/#author The same is valid for `maintainer` and `maintainer_email`. The warning message has been adjusted. modified: Doc/distutils/examples.rst modified: Lib/distutils/command/check.py https://bugs.python.org/issue38914
* bpo-38878: Fix os.PathLike __subclasshook__ (GH-17336)Bar Harel2019-12-222-1/+13
| | | | Quick subclasshook fix using the same method is being used in collections.abc (up to a certain degree).
* Python 3.9.0a2v3.9.0a2Łukasz Langa2019-12-181-3/+47
|
* bpo-38546: Fix concurrent.futures test_ressources_gced_in_workers() (GH-17652)Victor Stinner2019-12-181-3/+11
| | | | | Fix test_ressources_gced_in_workers() of test_concurrent_futures: explicitly stop the manager to prevent leaking a child process running in the background after the test completes.