Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-39259: poplib now rejects timeout = 0 (GH-17912) | Dong-hee Na | 2020-01-10 | 2 | -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 Galindo | 2020-01-10 | 1 | -0/+76 |
| | |||||
* | bpo-39235: Check end_lineno and end_col_offset of AST nodes. (GH-17926) | Serhiy Storchaka | 2020-01-10 | 1 | -102/+104 |
| | |||||
* | Fix typo in test's docstring (GH-17856) | Daniel Hahler | 2020-01-09 | 1 | -1/+1 |
| | | | * Fix typo in test's docstring. contination -> continuation. | ||||
* | bpo-25172: Reduce scope of crypt import tests (GH-17881) | Steve Dower | 2020-01-09 | 1 | -4/+5 |
| | |||||
* | Add test cases for dataclasses. (#17909) | Karthikeyan Singaravelan | 2020-01-09 | 1 | -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 Long | 2020-01-08 | 1 | -13/+10 |
| | |||||
* | bpo-39242: Updated the Gmane domain into news.gmane.io (GH-17903) | Dong-hee Na | 2020-01-08 | 2 | -3/+3 |
| | |||||
* | bpo-38871: Fix lib2to3 for filter-based statements that contain lambda ↵ | Dong-hee Na | 2020-01-07 | 2 | -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 Na | 2020-01-07 | 2 | -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 Brown | 2020-01-07 | 1 | -6/+9 |
| | | | | isEnabledFor (GH-17689) | ||||
* | bpo-39239: epoll.unregister() no longer ignores EBADF (GH-17882) | Victor Stinner | 2020-01-07 | 1 | -1/+4 |
| | | | | The select.epoll.unregister() method no longer ignores the EBADF error. | ||||
* | bpo-39191: Fix RuntimeWarning in asyncio test (GH-17863) | Andrew Svetlov | 2020-01-07 | 2 | -5/+9 |
| | | | https://bugs.python.org/issue39191 | ||||
* | bpo-39209: Manage correctly multi-line tokens in interactive mode (GH-17860) | Pablo Galindo | 2020-01-06 | 1 | -0/+36 |
| | |||||
* | bpo-38907: Suppress any exception when attempting to set V6ONLY. (GH-17864) | Jason R. Coombs | 2020-01-06 | 1 | -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. Coombs | 2020-01-06 | 1 | -1/+13 |
| | |||||
* | Minor formatting improvements and fixes to idle.rst (GH-17165) | Tal Einat | 2020-01-05 | 1 | -7/+8 |
| | |||||
* | Organise and clean test_positional_only_arg and add more tests (GH-17842) | Pablo Galindo | 2020-01-05 | 1 | -14/+23 |
| | |||||
* | bpo-39200: Correct the error message for range() empty constructor (GH-17813) | Pablo Galindo | 2020-01-05 | 1 | -0/+13 |
| | | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | Fix constant folding optimization for positional only arguments (GH-17837) | Anthony Sottile | 2020-01-05 | 1 | -0/+12 |
| | |||||
* | bpo-39152: add missing ttk.Scale.configure return value (GH-17815) | Terry Jan Reedy | 2020-01-05 | 2 | -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 Storchaka | 2020-01-05 | 2 | -1/+2 |
| | | | | (GH-17616) | ||||
* | bpo-39056: Fix handling invalid warning category in the -W option. (GH-17618) | Serhiy Storchaka | 2020-01-05 | 2 | -17/+36 |
| | | | No longer import the re module if it is not needed. | ||||
* | bpo-39057: Fix urllib.request.proxy_bypass_environment(). (GH-17619) | Serhiy Storchaka | 2020-01-05 | 3 | -13/+37 |
| | | | Ignore leading dots and no longer ignore a trailing newline. | ||||
* | Fix SystemError when nested function has annotation on positional-only ↵ | Anthony Sottile | 2020-01-05 | 1 | -0/+7 |
| | | | | argument (GH-17826) | ||||
* | Fix #39191: Don't spawn a task before failing (#17796) | Andrew Svetlov | 2020-01-04 | 1 | -3/+7 |
| | |||||
* | bpo-39158: ast.literal_eval() doesn't support empty sets (GH-17742) | Raymond Hettinger | 2020-01-03 | 2 | -0/+4 |
| | |||||
* | bpo-38870: Throw ValueError on invalid yield from usage (GH-17798) | Batuhan Taşkaya | 2020-01-02 | 2 | -4/+6 |
| | |||||
* | bpo-39114: Fix tracing of except handlers with name binding (GH-17769) | Pablo Galindo | 2020-01-02 | 1 | -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 Seipp | 2020-01-01 | 1 | -0/+16 |
| | |||||
* | bpo-39142: Avoid converting namedtuple instances to ConvertingTuple. (GH-17773) | Vinay Sajip | 2020-01-01 | 2 | -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 Batchelder | 2020-01-01 | 2 | -3/+3 |
| | |||||
* | Fix idlelib README typo. (GH-17770) | Terry Jan Reedy | 2019-12-31 | 1 | -1/+1 |
| | |||||
* | bpo-38588: Fix possible crashes in dict and list when calling ↵ | Dong-hee Na | 2019-12-31 | 2 | -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 Spytz | 2019-12-30 | 1 | -0/+26 |
| | | | Hold strong references to list elements while calling PyObject_RichCompareBool(). | ||||
* | bpo-39019: Implement missing __class_getitem__ for SpooledTemporaryFile ↵ | Batuhan Taşkaya | 2019-12-30 | 2 | -0/+15 |
| | | | | | | (GH-17560) | ||||
* | bpo-39019: Implement missing __class_getitem__ for subprocess classes (GH-17558) | Batuhan Taşkaya | 2019-12-30 | 2 | -0/+27 |
| | |||||
* | bpo-34790: Implement deprecation of passing coroutines to asyncio.wait() ↵ | Kyle Stanley | 2019-12-30 | 2 | -5/+25 |
| | | | | (GH-16977) | ||||
* | Fix handling of line numbers around finally-blocks. (#17737) | Mark Shannon | 2019-12-30 | 1 | -0/+66 |
| | |||||
* | bpo-39157: Skip test_pidfd_send_signal if the system does not have enough ↵ | Pablo Galindo | 2019-12-29 | 1 | -0/+2 |
| | | | | privileges to use pidfd (GH-17740) | ||||
* | Fix error when running with -uall in test_unparse (GH-17739) | Pablo Galindo | 2019-12-29 | 1 | -7/+7 |
| | |||||
* | bpo-38870: Run always tests that heavily use grammar features in ↵ | Pablo Galindo | 2019-12-29 | 1 | -1/+11 |
| | | | | test_unparse (GH-17738) | ||||
* | bpo-39136: Fixed typos (GH-17720) | Gurupad Hegde | 2019-12-28 | 2 | -3/+3 |
| | | | | | funtion -> function; configuraton -> configuration; defintitions -> definitions; focusses -> focuses; necesarily -> necessarily; follwing -> following; Excape -> Escape, | ||||
* | Fix import path for asyncio.TimeoutError (#17691) | Andrew Svetlov | 2019-12-24 | 1 | -2/+2 |
| | |||||
* | Revert "bpo-38870: Remove dependency on contextlib to avoid performance ↵ | Pablo Galindo | 2019-12-23 | 1 | -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şkaya | 2019-12-23 | 1 | -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 Gmach | 2019-12-23 | 1 | -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 Harel | 2019-12-22 | 2 | -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 Langa | 2019-12-18 | 1 | -3/+47 |
| | |||||
* | bpo-38546: Fix concurrent.futures test_ressources_gced_in_workers() (GH-17652) | Victor Stinner | 2019-12-18 | 1 | -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. |