Skip to content
Permalink
Branch: master
Commits on Jan 12, 2020
  1. bpo-38356: Fix ThreadedChildWatcher thread leak in test_asyncio (GH-1…

    aeros authored and miss-islington committed Jan 12, 2020
    …6552)
    
    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
  2. bpo-12159: Document sys.maxsize limit in len() function reference (GH…

    Zac-HD authored and vstinner committed Jan 12, 2020
  3. bpo-16575: Disabled checks for union types being passed by value. (GH…

    vsajip committed Jan 12, 2020
    …-17960)
    
    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.
  4. bpo-39288: Add math.nextafter(x, y) (GH-17937)

    vstinner committed Jan 12, 2020
    Return the next floating-point value after x towards y.
Commits on Jan 11, 2020
  1. bpo-39259: nntplib.NNTP/NNTP_SSL now reject timeout = 0 (GH-17936)

    corona10 authored and vstinner committed Jan 11, 2020
    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.
  2. bpo-39297: Update for importlib_metadata 1.4. (GH-17947)

    jaraco and blurb-it committed Jan 11, 2020
    * 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>
  3. bpo-39259: nntplib.NNTP/NNTP_SSL refactoring (GH-17939)

    corona10 authored and vstinner committed Jan 11, 2020
  4. Fix host in address of socket.create_server example. (GH-17706)

    tirkarthi committed Jan 11, 2020
    Host as None in address raises TypeError since it should be string, bytes or bytearray.
Commits on Jan 10, 2020
  1. bpo-39292: Add missing syslog facility codes. (GH-17945)

    vsajip committed Jan 10, 2020
  2. bpo-39200: Correct the error message for min/max builtin function (GH…

    corona10 authored and vstinner committed Jan 10, 2020
    …-17814)
    
    Correct the error message when calling the min() or max() with
    no arguments.
  3. bpo-39259: poplib now rejects timeout = 0 (GH-17912)

    corona10 authored and vstinner committed Jan 10, 2020
    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.
  4. bpo-39166: Fix trace of last iteration of async for loops (#17800)

    pablogsal authored and markshannon committed Jan 10, 2020
Commits on Jan 9, 2020
  1. bpo-39235: Fix end location for genexp in call args (GH-17925)

    gvanrossum authored and miss-islington committed Jan 9, 2020
    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
  2. Fix typo in test's docstring (GH-17856)

    blueyed authored and tirkarthi committed Jan 9, 2020
    * Fix typo in test's docstring. contination -> continuation.
  3. bpo-25172: Reduce scope of crypt import tests (GH-17881)

    zooba committed Jan 9, 2020
  4. Add test cases for dataclasses. (#17909)

    tirkarthi authored and ericvsmith committed Jan 9, 2020
    * 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.
  5. bpo-39161: Document multi-phase init modules under Py_NewInterpreter() (

    encukou authored and miss-islington committed Jan 9, 2020
    GH-17896)
    
    \+ this also adds a stronger warning against sharing objects between (sub-)interpreters.
    
    
    
    https://bugs.python.org/issue39161
  6. bpo-39270: Remove dead assignment from config_init_module_search_paths (

    alexhenrie authored and vstinner committed Jan 9, 2020
  7. bpo-39272: Remove dead assignment from _ssl__SSLContext_load_verify_l…

    alexhenrie authored and vstinner committed Jan 9, 2020
    …ocations_impl (GH-17916)
  8. bpo-39271: Remove dead assignment from pattern_subx (GH-17915)

    alexhenrie authored and serhiy-storchaka committed Jan 9, 2020
  9. closes bpo-39262: Use specific out-of-memory message in _sharedexcept…

    alexhenrie authored and benjaminp committed Jan 9, 2020
    …ion_bind. (GH-17908)
  10. closes bpo-39261: Remove dead assignment from pyinit_config. (GH-17907)

    alexhenrie authored and benjaminp committed Jan 9, 2020
Commits on Jan 8, 2020
  1. Py_DECREF: only pass filename if Py_REF_DEBUG is defined (GH-17870)

    vstinner committed Jan 8, 2020
    Filename and line numbers are not needed when Py_REF_DEBUG are not
    defined.
    
    The static inline _Py_DECREF() function was introduced by
    commit 2aaf0c1.
  2. bpo-35292: Avoid calling mimetypes.init when http.server is imported (G…

    aisk authored and zooba committed Jan 8, 2020
  3. bpo-39242: Updated the Gmane domain into news.gmane.io (GH-17903)

    corona10 authored and vstinner committed Jan 8, 2020
  4. bpo-39237, datetime: Remove redundant call to round from delta_new (G…

    alexhenrie authored and vstinner committed Jan 8, 2020
Commits on Jan 7, 2020
  1. bpo-38871: Fix lib2to3 for filter-based statements that contain lambda (

    corona10 authored and vstinner committed Jan 7, 2020
    GH-17780)
    
    Correctly parenthesize filter-based statements that contain lambda
    expressions in lib2to3.
  2. bpo-38615: Add timeout parameter for IMAP4 and IMAP4_SSL constructor (G…

    corona10 authored and vstinner committed Jan 7, 2020
    …H-17203)
    
    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.
  3. bpo-39198: Ensure logging global lock is released on exception in isE…

    DerekTBrown authored and vsajip committed Jan 7, 2020
    …nabledFor (GH-17689)
  4. bpo-39239: epoll.unregister() no longer ignores EBADF (GH-17882)

    vstinner committed Jan 7, 2020
    The select.epoll.unregister() method no longer ignores the EBADF
    error.
  5. bpo-38623: Doc: Add section for site module CLI. (GH-17858)

    methane committed Jan 7, 2020
Older
You can’t perform that action at this time.