Skip to content
Permalink
Branch: master
Commits on May 4, 2019
  1. bpo-26978: Implement pathlib.Path.link_to (Using os.link) (GH-12990)

    nanjekyejoannah authored and pitrou committed May 4, 2019
Commits on May 3, 2019
  1. Suppress clang warning (GH-12384)

    remilapeyre authored and methane committed May 3, 2019
  2. bpo-28238: Implement "{*}tag" and "{ns}*" wildcard tag selection supp…

    scoder committed May 3, 2019
    …ort for ElementPath, and extend the surrounding tests and docs. (GH-12997)
  3. bpo-33882: mention breakpoint() in debugger-related FAQ (GH-7759)

    andresdelfino authored and merwok committed May 3, 2019
  4. Fixed typo (GH-11522)

    alvassin authored and miss-islington committed May 3, 2019
    Given example does not run, loop variable is missing.
    
    Secondly, this is bad example how to handle shutdown signal, because it would cause `RuntimeError: Event loop stopped before Future completed.`
    
    Perhaps it would be better to cancel all tasks instead of closing loop directly?
    
    Did not create issue, because question is quite simple.
  5. bpo-36613: call remove_done_callback if exception (GH-12800)

    gescheit authored and miss-islington committed May 3, 2019
    Call remove_done_callback() in finally block.
    
    
    https://bugs.python.org/issue36613
  6. bpo-36341: Fix tests calling bind() on AF_UNIX sockets (GH-12399)

    xdegaye authored and miss-islington committed May 3, 2019
    Those tests may fail with PermissionError.
    
    
    
    https://bugs.python.org/issue36341
  7. Don't use the LHS/RHS acronym in Simple statements (GH-12996)

    andresdelfino authored and miss-islington committed May 3, 2019
    Prefer the full wording instead, as it is more meaningful for someone not familiar with the terms.
    
    Also, LFS/RHS is not used anywhere else in the documentation, while left/right-hand side mentions are common.
Commits on May 2, 2019
  1. bpo-36763: Remove _PyCoreConfig._init_main (GH-13066)

    vstinner committed May 2, 2019
  2. bpo-36763: _PyCoreConfig_SetPyArgv() preinitializes Python (GH-13037)

    vstinner committed May 2, 2019
    _PyCoreConfig_SetPyArgv() and _PyCoreConfig_SetWideString() now
    pre-initialize Python if needed to ensure that the locale encoding is
    properly configured.
    
    * Add _Py_PreInitializeFromPyArgv() internal function.
    * Add 'args' parameter to _Py_PreInitializeFromCoreConfig()
  3. bpo-36775: _PyCoreConfig only uses wchar_t* (GH-13062)

    vstinner committed May 2, 2019
    _PyCoreConfig: Change filesystem_encoding, filesystem_errors,
    stdio_encoding and stdio_errors fields type from char* to wchar_t*.
    
    Changes:
    
    * PyInterpreterState: replace fscodec_initialized (int) with fs_codec
      structure.
    * Add get_error_handler_wide() and unicode_encode_utf8() helper
      functions.
    * Add error_handler parameter to unicode_encode_locale()
      and unicode_decode_locale().
    * Remove _PyCoreConfig_SetString().
    * Rename _PyCoreConfig_SetWideString() to _PyCoreConfig_SetString().
    * Rename _PyCoreConfig_SetWideStringFromString()
      to _PyCoreConfig_DecodeLocale().
  4. bpo-36776: Add @support.skip_unless_symlink to test_lll.py (GH-13058)

    ZackerySpytz authored and vstinner committed May 2, 2019
  5. bpo-36763: Add _PyCoreConfig._config_version (GH-13065)

    vstinner committed May 2, 2019
    Add private _config_version field to _PyPreConfig and _PyCoreConfig
    to prepare future ABI compatibility.
  6. Fix typo: quaatile to quantile (GH=13001)

    tirkarthi authored and rhettinger committed May 2, 2019
  7. bpo-36775: Add _PyUnicode_InitEncodings() (GH-13057)

    vstinner committed May 2, 2019
    Move get_codec_name() and initfsencoding() from pylifecycle.c to
    unicodeobject.c.
    
    Rename also "init" functions in pylifecycle.c.
  8. bpo-36775: Add _Py_FORCE_UTF8_FS_ENCODING macro (GH-13056)

    vstinner committed May 2, 2019
    Add _Py_FORCE_UTF8_LOCALE and _Py_FORCE_UTF8_FS_ENCODING macros to
    avoid factorize "#if defined(__ANDROID__) || defined(__VXWORKS__)"
    and "#if defined(__APPLE__)".
    
    Cleanup also config_init_fs_encoding().
  9. bpo-13611: Include C14N 2.0 test data in installation (GH-13053)

    scoder committed May 2, 2019
    * Include C14N 2.0 test data in installation.
    * Add README file to the C14N test data directory to reference the original source and licensing conditions.
  10. Fix tiny tiny typo in 3.8 what's new (GH-13049)

    banool authored and miss-islington committed May 2, 2019
    I feel silly even making such a tiny typo fix, but I couldn't help but notice it.
  11. regarding to grammar and spell check (#13020)

    hossein-pourbozorg authored and asvetlov committed May 2, 2019
  12. bpo-36763: Make _PyCoreConfig.check_hash_pycs_mode public (GH-13052)

    vstinner committed May 2, 2019
    _PyCoreConfig: Rename _check_hash_pycs_mode field to
    check_hash_pycs_mode (make it public) and change its type from "const
    char*" to "wchar_t*".
  13. Change bisect to bisect_cmd in docstring (#13040)

    tirkarthi authored and vstinner committed May 2, 2019
  14. bpo-36018: Update example to show mean and stdev (GH-13047)

    rhettinger committed May 2, 2019
  15. Move dangling bullet points into named subsections (GH-13046)

    rhettinger committed May 2, 2019
Commits on May 1, 2019
  1. Mock 100% coverage (GH-13045)

    cjw296 committed May 1, 2019
    This was achieved by:
    * moving many pass statements in tests onto their own lines, so they pass line coverage and can match an easy ignore pattern if branch coverage is added later.
    * removing code that cannot be reached.
    * removing long-disabled tests.
    * removing unused code.
    * adding tests for uncovered code
    
    It turned out that removing `if __name__ == '__main__'` blocks that run unittest.main() at the bottom of test files was surprisingly contentious, so they remain and can be filtered out with an appropriate .coveragerc.
  2. bpo-30458: Use InvalidURL instead of ValueError. (GH-13044)

    gpshead committed May 1, 2019
    Use http.client.InvalidURL instead of ValueError as the new error case's exception.
  3. bpo-13611: C14N 2.0 implementation for ElementTree (GH-12966)

    scoder committed May 1, 2019
    * Implement C14N 2.0 as a new canonicalize() function in ElementTree.
    
    Missing features:
    - prefix renaming in XPath expressions (tag and attribute text is supported)
    - preservation of original prefixes given redundant namespace declarations
  4. Namespace packages _bootstrap.ModuleSpec.loader attributes are no lon…

    maggyero authored and warsaw committed May 1, 2019
    …ger None (#10376)
    
    Namespace packages _bootstrap.ModuleSpec.loader attributes are no longer `None` _after_ calling the importlib._bootstrap._init_module_attrs function.
    
    See:
    * https://stackoverflow.com/questions/52869541/namespace-package-spec-loader-and-loader-attributes-not-set-to-none
    * https://bugs.python.org/issue35181
  5. bpo-36676: Namespace prefix aware parsing support for the ET.XMLParse…

    scoder committed May 1, 2019
    …r target (GH-12885)
    
    * bpo-36676: Implement namespace prefix aware parsing support for the XMLParser target in ElementTree.
  6. bpo-36673: Implement comment/PI parsing support for the TreeBuilder i…

    scoder committed May 1, 2019
    …n ElementTree. (#12883)
    
    * bpo-36673: Implement comment/PI parsing support for the TreeBuilder in ElementTree.
    
    * bpo-36673: Rewrite the comment/PI factory handling for the TreeBuilder in "_elementtree" to make it use the same factories as the ElementTree module, and to make it explicit when the comments/PIs are inserted into the tree and when they are not (which is the default).
Older
You can’t perform that action at this time.