1. 06 Jul, 2019 2 commits
  2. 05 Jul, 2019 9 commits
  3. 04 Jul, 2019 6 commits
  4. 03 Jul, 2019 8 commits
  5. 02 Jul, 2019 7 commits
    • Christian Heimes's avatar
      bpo-37463: match_hostname requires quad-dotted IPv4 (GH-14499) · 477b1b25
      Christian Heimes authored
      
      
      ssl.match_hostname() no longer accepts IPv4 addresses with additional text
      after the address and only quad-dotted notation without trailing
      whitespaces. Some inet_aton() implementations ignore whitespace and all data
      after whitespace, e.g. '127.0.0.1 whatever'.
      
      Short notations like '127.1' for '127.0.0.1' were already filtered out.
      
      The bug was initially found by Dominik Czarnota and reported by Paul Kehrer.
      Signed-off-by: default avatarChristian Heimes <christian@python.org>
      
      
      
      https://bugs.python.org/issue37463
      477b1b25
    • Victor Stinner's avatar
      bpo-37421: urllib.request tests call urlcleanup() (GH-14529) · 7cb9204e
      Victor Stinner authored
      urllib.request tests now call urlcleanup() to remove temporary files
      created by urlretrieve() tests and to clear the _opener global
      variable set by urlopen() and functions calling indirectly urlopen().
      
      regrtest now checks if urllib.request._url_tempfiles and
      urllib.request._opener are changed by tests.
      7cb9204e
    • Victor Stinner's avatar
      bpo-37421: multiprocessing tests call _run_finalizers() (GH-14527) · 039fb49c
      Victor Stinner authored
      multiprocessing tests now call explicitly _run_finalizers() to remove
      immediately temporary directories created by
      multiprocessing.util.get_temp_dir().
      039fb49c
    • Jakub Kulík's avatar
      bpo-37335, test_c_locale_coercion: Remove unnecessary code (GH-14447) · 61bf97e9
      Jakub Kulík authored
      Python initialization now ensures that sys stream encoding
      names are always normalized by codecs.lookup(encoding).name.
      Simplify test_c_locale_coercion: it doesn't have to normalize
      encoding names anymore.
      61bf97e9
    • Jeroen Demeyer's avatar
      d4efd917
    • Ned Deily's avatar
      bpo-34602: Avoid failures setting macOS stack resource limit (GH-14546) · 5bbbc733
      Ned Deily authored
      Under some conditions the earlier fix for bpo-18075, "Infinite recursion
      tests triggering a segfault on Mac OS X", now causes failures on macOS
      when attempting to change stack limit with resource.setrlimit
      resource.RLIMIT_STACK, like regrtest does when running the test suite.
      The reverted change had specified a non-default stack size when linking
      the python executable on macOS.  As of macOS 10.14.4, the previous
      code causes a hard failure when running tests, although similar
      failures had been seen under some conditions under some earlier
      systems.  Reverting the change to the interpreter stack size at link
      time helped for release builds but caused some tests to fail when
      built --with-pydebug.  Try the opposite approach: continue to build
      the interpreter with an increased stack size on macOS and remove
      the failing setrlimit call in regrtest initialization.  This will
      definitely avoid the resource.RLIMIT_STACK error and should have
      no, or fewer, side effects.
      5bbbc733
    • Benjamin Peterson's avatar
      2cd07920
  6. 01 Jul, 2019 8 commits