Skip to content
Permalink
Branch: master
Commits on Jan 12, 2020
  1. bpo-32021: Support brotli .br encoding in mimetypes (#12200)

    philmcmahon authored and maxking committed Jan 12, 2020
    Add support for brotli encoding in the encoding_map.
  2. bpo-39313: Add an option to RefactoringTool for using exec as a funct…

    isidentical authored and miss-islington committed Jan 12, 2020
    …ion (GH-17967)
    
    https://bugs.python.org/issue39313
    
    
    Automerge-Triggered-By: @pablogsal
  3. Fix outdated comment in _strptime.py (GH-17929)

    cool-RR authored and miss-islington committed Jan 12, 2020
    Can I please get the tags for skipping bpo and skipping a news item?
  4. bpo-3530: Add advice on when to correctly use fix_missing_locations i…

    isidentical and pablogsal committed Jan 12, 2020
    …n the AST docs (GH-17172)
    
    Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
  5. bpo-38293: Allow shallow and deep copying of property objects (GH-16438)

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

    Zac-HD authored and vstinner committed Jan 12, 2020
  8. 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.
  9. 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.
Older
You can’t perform that action at this time.