Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-39313: Add an option to RefactoringTool for using exec as a function ↵ | Batuhan Taşkaya | 2020-01-12 | 5 | -8/+23 |
| | | | | | | | | (GH-17967) https://bugs.python.org/issue39313 Automerge-Triggered-By: @pablogsal | ||||
* | Fix outdated comment in _strptime.py (GH-17929) | Ram Rachum | 2020-01-12 | 1 | -1/+1 |
| | | | Can I please get the tags for skipping bpo and skipping a news item? | ||||
* | bpo-3530: Add advice on when to correctly use fix_missing_locations in the ↵ | Batuhan Taşkaya | 2020-01-12 | 2 | -1/+11 |
| | | | | | | AST docs (GH-17172) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> | ||||
* | bpo-38293: Allow shallow and deep copying of property objects (GH-16438) | Guðni Natan Gunnarsson | 2020-01-12 | 3 | -3/+5 |
| | | | | | | | | | | | | | | | | | | Copying property objects results in a TypeError. Steps to reproduce: ``` >>> import copy >>> obj = property() >>> copy.copy(obj) ```` This affects both shallow and deep copying. My idea for a fix is to add property objects to the list of "atomic" objects in the copy module. These already include types like functions and type objects. I also added property objects to the unit tests test_copy_atomic and test_deepcopy_atomic. This is my first PR, and it's highly likely I've made some mistake, so please be kind :) https://bugs.python.org/issue38293 | ||||
* | bpo-39288: Add examples to math.nextafter() documentation (GH-17962) | Victor Stinner | 2020-01-12 | 1 | -0/+7 |
| | |||||
* | bpo-38356: Fix ThreadedChildWatcher thread leak in test_asyncio (GH-16552) | Kyle Stanley | 2020-01-12 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Motivation for this PR (comment from @vstinner in bpo issue): ``` Warning seen o AMD64 Ubuntu Shared 3.x buildbot: https://buildbot.python.org/all/#/builders/141/builds/2593 test_devnull_output (test.test_a=syncio.test_subprocess.SubprocessThreadedWatcherTests) ... Warning -- threading_cleanup() failed to cleanup 1 threads (count: 1, dangling: 2) ``` The following implementation details for the new method are TBD: 1) Public vs private 2) Inclusion in `close()` 3) Name 4) Coroutine vs subroutine method 5) *timeout* parameter If it's a private method, 3, 4, and 5 are significantly less important. I started with the most minimal implementation that fixes the dangling threads without modifying the regression tests, which I think is particularly important. I typically try to avoid directly modifying existing tests as much as possible unless it's necessary to do so. However, I am open to changing any part of this. https://bugs.python.org/issue38356 | ||||
* | bpo-12159: Document sys.maxsize limit in len() function reference (GH-17934) | Zac Hatfield-Dodds | 2020-01-12 | 1 | -0/+5 |
| | |||||
* | bpo-16575: Disabled checks for union types being passed by value. (GH-17960) | Vinay Sajip | 2020-01-12 | 2 | -1/+20 |
| | | | | | | | Although the underlying libffi issue remains open, adding these checks have caused problems in third-party projects which are in widespread use. See the issue for examples. The corresponding tests have also been skipped. | ||||
* | bpo-39288: Add math.nextafter(x, y) (GH-17937) | Victor Stinner | 2020-01-12 | 6 | -1/+140 |
| | | | Return the next floating-point value after x towards y. | ||||
* | bpo-39259: nntplib.NNTP/NNTP_SSL now reject timeout = 0 (GH-17936) | Dong-hee Na | 2020-01-11 | 5 | -0/+24 |
| | | | | | nntplib.NNTP and nntplib.NNTP_SSL now raise a ValueError if the given timeout for their constructor is zero to prevent the creation of a non-blocking socket. | ||||
* | bpo-39297: Update for importlib_metadata 1.4. (GH-17947) | Jason R. Coombs | 2020-01-11 | 2 | -36/+73 |
| | | | | | | | | | | * bpo-39297: Update for importlib_metadata 1.4. Includes performance updates. * 📜🤖 Added by blurb_it. * Update blurb Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | ||||
* | bpo-39259: nntplib.NNTP/NNTP_SSL refactoring (GH-17939) | Dong-hee Na | 2020-01-11 | 1 | -24/+18 |
| | |||||
* | Fix host in address of socket.create_server example. (GH-17706) | Karthikeyan Singaravelan | 2020-01-11 | 1 | -1/+1 |
| | | | Host as None in address raises TypeError since it should be string, bytes or bytearray. | ||||
* | bpo-39292: Add missing syslog facility codes. (GH-17945) | Vinay Sajip | 2020-01-10 | 1 | -21/+28 |
| | |||||
* | bpo-39200: Correct the error message for min/max builtin function (GH-17814) | Dong-hee Na | 2020-01-10 | 3 | -4/+21 |
| | | | | Correct the error message when calling the min() or max() with no arguments. | ||||
* | bpo-39259: poplib now rejects timeout = 0 (GH-17912) | Dong-hee Na | 2020-01-10 | 5 | -6/+26 |
| | | | | | 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 | 3 | -5/+87 |
| | |||||
* | bpo-39235: Check end_lineno and end_col_offset of AST nodes. (GH-17926) | Serhiy Storchaka | 2020-01-10 | 1 | -102/+104 |
| | |||||
* | bpo-39235: Fix end location for genexp in call args (GH-17925) | Guido van Rossum | 2020-01-09 | 2 | -8/+10 |
| | | | | | | The fix changes copy_location() to require an extra node from which to extract the end location, and fixing all 5 call sites. https://bugs.python.org/issue39235 | ||||
* | 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-39161: Document multi-phase init modules under Py_NewInterpreter() ↵ | Petr Viktorin | 2020-01-09 | 1 | -17/+35 |
| | | | | | | | | | (GH-17896) \+ this also adds a stronger warning against sharing objects between (sub-)interpreters. https://bugs.python.org/issue39161 | ||||
* | bpo-39270: Remove dead assignment from config_init_module_search_paths ↵ | Alex Henrie | 2020-01-09 | 1 | -2/+1 |
| | | | | (GH-17914) | ||||
* | bpo-39272: Remove dead assignment from ↵ | Alex Henrie | 2020-01-09 | 1 | -1/+0 |
| | | | | _ssl__SSLContext_load_verify_locations_impl (GH-17916) | ||||
* | bpo-39271: Remove dead assignment from pattern_subx (GH-17915) | Alex Henrie | 2020-01-09 | 1 | -1/+0 |
| | |||||
* | closes bpo-39262: Use specific out-of-memory message in ↵ | Alex Henrie | 2020-01-09 | 1 | -2/+4 |
| | | | | _sharedexception_bind. (GH-17908) | ||||
* | closes bpo-39261: Remove dead assignment from pyinit_config. (GH-17907) | Alex Henrie | 2020-01-09 | 1 | -1/+0 |
| | |||||
* | Py_DECREF: only pass filename if Py_REF_DEBUG is defined (GH-17870) | Victor Stinner | 2020-01-08 | 1 | -5/+10 |
| | | | | | | | Filename and line numbers are not needed when Py_REF_DEBUG are not defined. The static inline _Py_DECREF() function was introduced by commit 2aaf0c12041bcaadd7f2cc5a54450eefd7a6ff12. | ||||
* | bpo-35292: Avoid calling mimetypes.init when http.server is imported (GH-17822) | An Long | 2020-01-08 | 3 | -16/+17 |
| | |||||
* | bpo-39242: Updated the Gmane domain into news.gmane.io (GH-17903) | Dong-hee Na | 2020-01-08 | 4 | -7/+10 |
| | |||||
* | bpo-39233: Update positional-only section in the glossary (GH-17874) | Pablo Galindo | 2020-01-08 | 1 | -3/+5 |
| | | | https://bugs.python.org/issue39233 | ||||
* | bpo-39237, datetime: Remove redundant call to round from delta_new (GH-17877) | Alex Henrie | 2020-01-08 | 1 | -1/+0 |
| | |||||
* | bpo-38871: Fix lib2to3 for filter-based statements that contain lambda ↵ | Dong-hee Na | 2020-01-07 | 3 | -3/+14 |
| | | | | | | (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 | 5 | -25/+90 |
| | | | | | | | | 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 | 2 | -6/+10 |
| | | | | isEnabledFor (GH-17689) | ||||
* | bpo-39239: epoll.unregister() no longer ignores EBADF (GH-17882) | Victor Stinner | 2020-01-07 | 5 | -6/+13 |
| | | | | 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-38623: Doc: Add section for site module CLI. (GH-17858) | Inada Naoki | 2020-01-07 | 1 | -2/+7 |
| | |||||
* | Doc: Change Python 2 status to EOL. (GH-17885) | Inada Naoki | 2020-01-07 | 1 | -1/+1 |
| | |||||
* | bpo-39234: `enum.auto()` default initial value as 1 (GH-17878) | YoSTEALTH | 2020-01-06 | 1 | -1/+1 |
| | | | | | | | | | | Updated as Eric mentioned "By default, the initial value starts at 1" https://bugs.python.org/issue39234 Automerge-Triggered-By: @ericvsmith | ||||
* | bpo-39041: Fix coverage upload command for GitHub Actions (GH-17873) | Steve Dower | 2020-01-06 | 1 | -1/+1 |
| | | | | | | | https://bugs.python.org/issue39041 Automerge-Triggered-By: @zooba | ||||
* | bpo-39234: Doc: `enum.auto()` incrementation value not specified. (GH-17872) | YoSTEALTH | 2020-01-06 | 1 | -1/+1 |
| | | | * `enum.auto()` initial value is now specified as being `1`. | ||||
* | bpo-29778: Fix incorrect NULL check in _PyPathConfig_InitDLLPath() (GH-17818) | Anthony Wee | 2020-01-06 | 1 | -1/+1 |
| | |||||
* | bpo-39209: Manage correctly multi-line tokens in interactive mode (GH-17860) | Pablo Galindo | 2020-01-06 | 3 | -0/+40 |
| | |||||
* | Fix link to bpo issue in Changelog (GH-17692) | Chandan Singh | 2020-01-06 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | argument-clinic: Simplify multi-line string handling (GH-17852) | Dong-hee Na | 2020-01-06 | 1 | -2/+2 |
| | |||||
* | bpo-38907: In http.server script, restore binding to IPv4 on Windows. (GH-17851) | Jason R. Coombs | 2020-01-06 | 2 | -1/+14 |
| | |||||
* | Minor formatting improvements and fixes to idle.rst (GH-17165) | Tal Einat | 2020-01-05 | 2 | -14/+16 |
| |