Skip to content
Permalink
Branch: master
Commits on Jun 28, 2020
  1. bpo-39151: Simplify DFS in the assembler (GH-17733)

    pablogsal committed Jun 28, 2020
Commits on Jun 27, 2020
  1. bpo-41076: Pre-feed the parser with the f-string expression location (G…

    lysnikolaou committed Jun 27, 2020
    …H-21054)
    
    This commit changes the parsing of f-string expressions with the new parser. The parser gets pre-fed with the location of the expression itself (not the f-string, which was what we were doing before). This allows us to completely skip the shifting of the AST nodes after the parsing is completed.
  2. Add soft keywords to the documentation (GH-21185)

    pablogsal committed Jun 27, 2020
  3. bpo-40769: Allow extra surrounding parentheses for invalid annotated …

    isidentical committed Jun 27, 2020
    …assignment rule (GH-20387)
  4. Remove dead code from tracemalloc (GH-21029)

    tiran committed Jun 27, 2020
    tracemalloc_get_frame() checked filename == NULL two times in a row.
    
    Signed-off-by: Christian Heimes <christian@python.org>
  5. bpo-41123: Remove Py_UNICODE_str* functions (GH-21164)

    methane committed Jun 27, 2020
    They are undocumented and deprecated since Python 3.3.
  6. bpo-41100: clarify NEWS item about macOS 11 support (GH-21174)

    ned-deily committed Jun 27, 2020
Commits on Jun 26, 2020
  1. bpo-41084: Adjust message when an f-string expression causes a Syntax…

    lysnikolaou committed Jun 26, 2020
    …Error (GH-21084)
    
    Prefix the error message with `fstring: `, when parsing an f-string expression throws a `SyntaxError`.
  2. Improve code organization for the random module (GH-21161)

    rhettinger committed Jun 26, 2020
Commits on Jun 25, 2020
  1. bpo-41119: Output correct error message for list/tuple followed by co…

    lysnikolaou committed Jun 25, 2020
    …lon (GH-21160)
  2. bpo-41103: Remove old buffer protocol support (#21117)

    methane committed Jun 25, 2020
    They are deprecated since Python 3.0.
  3. Fix typo in functions.rst (GH-21131)

    cool-RR committed Jun 25, 2020
  4. bpo-40275: Use new test.support helper submodules in tests (GH-21151)

    shihai1991 committed Jun 25, 2020
    Use new test.support helper submodules in tests:
    
    * distutils tests
    * test_buffer
    * test_compile
    * test_filecmp
    * test_fileinput
    * test_readline
    * test_smtpnet
    * test_structmembers
    * test_tools
  5. bpo-41069: Make TESTFN and the CWD for tests containing non-ascii cha…

    serhiy-storchaka committed Jun 25, 2020
    …racters. (GH-21035)
  6. BPO-41100: Support macOS 11 when building (GH-21113)

    ronaldoussoren committed Jun 25, 2020
  7. bpo-40521: Optimize PyBytes_FromStringAndSize(str, 0) (GH-21142)

    vstinner committed Jun 25, 2020
    Always create the empty bytes string singleton.
    
    Optimize PyBytes_FromStringAndSize(str, 0): it no longer has to check
    if the empty string singleton was created or not, it is always
    available.
    
    Add functions:
    
    * _PyBytes_Init()
    * bytes_get_empty(), bytes_new_empty()
    * bytes_create_empty_string_singleton()
    * unicode_create_empty_string_singleton()
    
    _Py_unicode_state: rename empty structure member to empty_string.
  8. bpo-35773: Fix test_bdb on non-UTF-8 locales. (GH-21136)

    serhiy-storchaka committed Jun 25, 2020
  9. bpo-39580: add check for CLI installation on macOS (GH-20271)

    rickheil committed Jun 25, 2020
    Adds a simple check for whether or not the package is being installed in the GUI or using installer on the command line. This addresses an issue where CLI-based software management tools (such as Munki) unexpectedly open Finder windows into a GUI session during installation runs.
  10. Forward port macOS installer updates from 3.7/3.8/3.9 (GH-21132)

    ned-deily committed Jun 25, 2020
  11. bpo-41074: Fix support of non-ASCII names and SQL in msilib. (GH-21126)

    serhiy-storchaka committed Jun 25, 2020
    * Fix support of non-ASCII names in functions OpenDatabase()
      and init_database().
    * Fix support of non-ASCII SQL in method Database.OpenView().
  12. bpo-41002: Optimize HTTPResponse.read with a given amount (GH-20943)

    bmerry committed Jun 25, 2020
    I've done the implementation for both non-chunked and chunked reads. I haven't benchmarked chunked reads because I don't currently have a convenient way to generate a high-bandwidth chunked stream, but I don't see any reason that it shouldn't enjoy the same benefits that the non-chunked case does. I've used the benchmark attached to the bpo bug to verify that performance now matches the unsized read case.
    
    Automerge-Triggered-By: @methane
Commits on Jun 24, 2020
  1. bpo-40773: Fix rendering for 'retval' on the pdb page (GH-21081)

    arisaka97 committed Jun 24, 2020
    Automerge-Triggered-By: @merwok
  2. bpo-41094: Additional fix for PYTHONSTARTUP. (GH-21119)

    serhiy-storchaka committed Jun 24, 2020
  3. bpo-41038: Fix non-ASCII string corruption in Win32 resource files (G…

    nnemkin committed Jun 24, 2020
    …H-20985)
    
    In absence of explicit declaration, resource compiler uses system
    codepage. When this codepage is DBCS or UTF-8, Python's copyright
    string is corrupted, because it contains copyright sign encoded
    as \xA9.
    
    The fix is to explicitly declare codepage 1252.
  4. bpo-40521: Always create the empty tuple singleton (GH-21116)

    vstinner committed Jun 24, 2020
    Py_InitializeFromConfig() now always creates the empty tuple
    singleton as soon as possible.
    
    Optimize PyTuple_New(0): it no longer has to check if the empty tuple
    was created or not, it is always creatd.
    
    * Add tuple_create_empty_tuple_singleton() function.
    * Add tuple_get_empty() function.
    * Remove state parameter of tuple_alloc().
  5. Fix typo in dataclasses module (GH-21109)

    jugmac00 committed Jun 24, 2020
    Automerge-Triggered-By: @matrixise
Older
You can’t perform that action at this time.