1. 16 Oct, 2018 4 commits
  2. 15 Oct, 2018 6 commits
  3. 14 Oct, 2018 6 commits
  4. 13 Oct, 2018 7 commits
  5. 12 Oct, 2018 10 commits
  6. 11 Oct, 2018 4 commits
  7. 10 Oct, 2018 3 commits
    • Elvis Pranskevichus's avatar
      bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607) · a6b3ec5b
      Elvis Pranskevichus authored
      Unconditional forcing of ``CHECKED_HASH`` invalidation was introduced in
      3.7.0 in bpo-29708.  The change is bad, as it unconditionally overrides
      *invalidation_mode*, even if it was passed as an explicit argument to
      ``py_compile.compile()`` or ``compileall``.  An environment variable
      should *never* override an explicit argument to a library function.
      That change leads to multiple test failures if the ``SOURCE_DATE_EPOCH``
      environment variable is set.
      
      This changes ``py_compile.compile()`` to only look at
      ``SOURCE_DATE_EPOCH`` if no explicit *invalidation_mode* was specified.
      I also made various relevant tests run with explicit control over the
      value of ``SOURCE_DATE_EPOCH``.
      
      While looking at this, I noticed that ``zipimport`` does not work
      with hash-based .pycs _at all_, though I left the fixes for
      subsequent commits.
      a6b3ec5b
    • Mayank Asthana's avatar
      bpo-34926: Make mimetypes.guess_type accept os.PathLike objects (GH-9777) · 7e18deef
      Mayank Asthana authored
      :meth:`mimetypes.MimeTypes.guess_type` now accepts :term:`path-like object` in addition to url strings.
      7e18deef
    • Pablo Galindo's avatar
      bpo-33613: Fix test_semaphore_tracker signal tests when using -Werror (GH-9778) · 3058b7d8
      Pablo Galindo authored
      Tests involving sending signals to the semaphore_tracker will not fail anymore due to
      the fact that running the test suite with -Werror propagates warnings as errors.
      
      Fix a missing assertion when the semaphore_tracker is expected to die.
      3058b7d8