1. 05 Şub, 2019 1 kayıt (commit)
  2. 07 Tem, 2018 1 kayıt (commit)
    • Benjamin Peterson's avatar
      closes bpo-34056: Always return bytes from _HackedGetData.get_data(). (GH-8130) · b0274f2c
      Benjamin Peterson yazdı
      * Always return bytes from _HackedGetData.get_data().
      
      Ensure the imp.load_source shim always returns bytes by reopening the file in
      binary mode if needed. Hash-based pycs have to receive the source code in bytes.
      
      It's tempting to change imp.get_suffixes() to always return 'rb' as a mode, but
      that breaks some stdlib tests and likely 3rdparty code, too.
      b0274f2c
  3. 09 Ara, 2017 1 kayıt (commit)
    • Benjamin Peterson's avatar
      closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575) · 42aa93b8
      Benjamin Peterson yazdı
      Python now supports checking bytecode cache up-to-dateness with a hash of the
      source contents rather than volatile source metadata. See the PEP for details.
      
      While a fairly straightforward idea, quite a lot of code had to be modified due
      to the pervasiveness of pyc implementation details in the codebase. Changes in
      this commit include:
      
      - The core changes to importlib to understand how to read, validate, and
        regenerate hash-based pycs.
      
      - Support for generating hash-based pycs in py_compile and compileall.
      
      - Modifications to our siphash implementation to support passing a custom
        key. We then expose it to importlib through _imp.
      
      - Updates to all places in the interpreter, standard library, and tests that
        manually generate or parse pyc files to grok the new format.
      
      - Support in the interpreter command line code for long options like
        --check-hash-based-pycs.
      
      - Tests and documentation for all of the above.
      42aa93b8
  4. 05 Kas, 2017 1 kayıt (commit)
  5. 13 Eki, 2017 1 kayıt (commit)
  6. 19 Eyl, 2017 1 kayıt (commit)
  7. 07 Eyl, 2017 1 kayıt (commit)
  8. 28 Haz, 2017 1 kayıt (commit)
  9. 24 Nis, 2016 1 kayıt (commit)
  10. 30 Eki, 2015 1 kayıt (commit)
  11. 05 Eyl, 2015 1 kayıt (commit)
    • Nick Coghlan's avatar
      Close #24748: Restore imp.load_dynamic compatibility · 9d3c61c8
      Nick Coghlan yazdı
      To resolve a compatibility problem found with py2exe and
      pywin32, imp.load_dynamic() once again ignores previously loaded modules
      to support Python modules replacing themselves with extension modules.
      
      Patch by Petr Viktorin.
      9d3c61c8
  12. 13 Nis, 2015 1 kayıt (commit)
    • Brett Cannon's avatar
      Issue #23731: Implement PEP 488. · f299abda
      Brett Cannon yazdı
      The concept of .pyo files no longer exists. Now .pyc files have an
      optional `opt-` tag which specifies if any extra optimizations beyond
      the peepholer were applied.
      f299abda
  13. 05 Eki, 2014 1 kayıt (commit)
  14. 08 Ara, 2013 1 kayıt (commit)
  15. 23 Kas, 2013 1 kayıt (commit)
  16. 23 Agu, 2013 2 kayıt (commit)
  17. 19 Agu, 2013 1 kayıt (commit)
  18. 15 Agu, 2013 1 kayıt (commit)
  19. 11 Agu, 2013 1 kayıt (commit)
  20. 10 Agu, 2013 1 kayıt (commit)
  21. 16 Haz, 2013 1 kayıt (commit)
  22. 07 Haz, 2013 1 kayıt (commit)
  23. 11 May, 2013 1 kayıt (commit)
  24. 04 May, 2013 2 kayıt (commit)
  25. 03 May, 2013 4 kayıt (commit)
  26. 16 Mar, 2013 1 kayıt (commit)
  27. 15 Ara, 2012 1 kayıt (commit)
  28. 14 Ara, 2012 1 kayıt (commit)
  29. 31 Agu, 2012 4 kayıt (commit)
  30. 09 Tem, 2012 1 kayıt (commit)
  31. 23 Haz, 2012 1 kayıt (commit)
  32. 11 May, 2012 1 kayıt (commit)
    • Brett Cannon's avatar
      Issue #13959: Have · c049952d
      Brett Cannon yazdı
      importlib.abc.FileLoader.load_module()/get_filename() and
      importlib.machinery.ExtensionFileLoader.load_module() have their
      single argument be optional as the loader's constructor has all the
      ncessary information.
      
      This allows for the deprecation of
      imp.load_source()/load_compile()/load_package().
      c049952d