1. 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
  2. 16 Ara, 2016 1 kayıt (commit)
  3. 11 May, 2016 1 kayıt (commit)
  4. 08 May, 2016 1 kayıt (commit)
  5. 12 Nis, 2016 1 kayıt (commit)
  6. 30 Eki, 2015 1 kayıt (commit)
  7. 03 May, 2015 1 kayıt (commit)
  8. 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
  9. 07 Tem, 2014 1 kayıt (commit)
  10. 28 Şub, 2014 1 kayıt (commit)
  11. 20 Ock, 2014 1 kayıt (commit)
  12. 17 Agu, 2013 1 kayıt (commit)
  13. 16 Haz, 2013 1 kayıt (commit)
  14. 23 Ara, 2012 1 kayıt (commit)
  15. 18 Ara, 2012 1 kayıt (commit)
  16. 11 May, 2012 1 kayıt (commit)
    • Brett Cannon's avatar
      Issue #13959: Deprecate imp.get_suffixes() for new attributes on · cb66eb0d
      Brett Cannon yazdı
      importlib.machinery that provide the suffix details for import.
      The attributes were not put on imp so as to compartmentalize
      everything importlib needs for setting up imports in
      importlib.machinery.
      
      This also led to an indirect deprecation of inspect.getmoduleinfo() as
      it directly returned imp.get_suffix's returned tuple which no longer
      makes sense.
      cb66eb0d
  17. 01 Agu, 2011 1 kayıt (commit)
  18. 28 Tem, 2011 1 kayıt (commit)
  19. 09 May, 2011 1 kayıt (commit)
  20. 30 Eki, 2010 1 kayıt (commit)
  21. 16 Şub, 2009 1 kayıt (commit)
  22. 03 Kas, 2008 1 kayıt (commit)
    • Benjamin Peterson's avatar
      Merged revisions 67028,67040,67044,67046,67052,67065,67070,67077,67082 via svnmerge from · c0747cf5
      Benjamin Peterson yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r67028 | benjamin.peterson | 2008-10-25 18:27:07 -0500 (Sat, 25 Oct 2008) | 1 line
      
        don't use a catch-all
      ........
        r67040 | armin.rigo | 2008-10-28 12:01:21 -0500 (Tue, 28 Oct 2008) | 5 lines
      
        Fix one of the tests: it relied on being present in an "output test" in
        order to actually test what it was supposed to test, i.e. that the code
        in the __del__ method did not crash.  Use instead the new helper
        test_support.captured_output().
      ........
        r67044 | amaury.forgeotdarc | 2008-10-29 18:15:57 -0500 (Wed, 29 Oct 2008) | 3 lines
      
        Correct error message in io.open():
        closefd=True is the only accepted value with a file name.
      ........
        r67046 | thomas.heller | 2008-10-30 15:18:13 -0500 (Thu, 30 Oct 2008) | 2 lines
      
        Fixed a modulefinder crash on certain relative imports.
      ........
        r67052 | christian.heimes | 2008-10-30 16:26:15 -0500 (Thu, 30 Oct 2008) | 1 line
      
        Issue #4237: io.FileIO() was raising invalid warnings caused by insufficient initialization of PyFileIOObject struct members.
      ........
        r67065 | benjamin.peterson | 2008-10-30 18:59:18 -0500 (Thu, 30 Oct 2008) | 1 line
      
        move unprefixed error into .c file
      ........
        r67070 | benjamin.peterson | 2008-10-31 15:41:44 -0500 (Fri, 31 Oct 2008) | 1 line
      
        rephrase has_key doc
      ........
        r67077 | benjamin.peterson | 2008-11-03 09:14:51 -0600 (Mon, 03 Nov 2008) | 1 line
      
        #4048 make the parser module accept relative imports as valid
      ........
        r67082 | hirokazu.yamamoto | 2008-11-03 12:03:06 -0600 (Mon, 03 Nov 2008) | 2 lines
      
        Issue #3774: Fixed an error when create a Tkinter menu item without command
        and then remove it. Written by Guilherme Polo (gpolo).
      ........
      c0747cf5
  23. 30 Eki, 2008 2 kayıt (commit)
  24. 04 Agu, 2008 1 kayıt (commit)
  25. 27 Kas, 2007 2 kayıt (commit)
    • Christian Heimes's avatar
      Merged revisions 59193-59201 via svnmerge from · 45f9af34
      Christian Heimes yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r59195 | facundo.batista | 2007-11-27 19:50:12 +0100 (Tue, 27 Nov 2007) | 4 lines
      
      
        Moved the errno import from inside the functions to the
        module level.  Fixes issue 1755179.
      ........
        r59199 | christian.heimes | 2007-11-27 22:28:40 +0100 (Tue, 27 Nov 2007) | 1 line
      
        Backport of changes to PCbuild9 from the py3k branch
      ........
        r59200 | christian.heimes | 2007-11-27 22:34:01 +0100 (Tue, 27 Nov 2007) | 1 line
      
        Replaced import of the 'new' module with 'types' module and added a deprecation warning to the 'new' module.
      ........
        r59201 | christian.heimes | 2007-11-27 22:35:44 +0100 (Tue, 27 Nov 2007) | 1 line
      
        Added a deprecation warning to the 'new' module.
      ........
      45f9af34
    • Christian Heimes's avatar
      Replaced import of the 'new' module with 'types' module and added a deprecation… · c756d00c
      Christian Heimes yazdı
      Replaced import of the 'new' module with 'types' module and added a deprecation warning to the 'new' module.
      c756d00c
  26. 06 Kas, 2007 1 kayıt (commit)
    • Guido van Rossum's avatar
      Merging the py3k-pep3137 branch back into the py3k branch. · 98297ee7
      Guido van Rossum yazdı
      No detailed change log; just check out the change log for the py3k-pep3137
      branch.  The most obvious changes:
      
        - str8 renamed to bytes (PyString at the C level);
        - bytes renamed to buffer (PyBytes at the C level);
        - PyString and PyUnicode are no longer compatible.
      
      I.e. we now have an immutable bytes type and a mutable bytes type.
      
      The behavior of PyString was modified quite a bit, to make it more
      bytes-like.  Some changes are still on the to-do list.
      98297ee7
  27. 24 Eki, 2007 1 kayıt (commit)
  28. 22 Eki, 2007 1 kayıt (commit)
    • Brett Cannon's avatar
      Make str/str8 comparisons return True/False for !=/==. · 4043001f
      Brett Cannon yazdı
      Code that has been returning str8 becomes much more apparent thanks to this
      (e.g., struct module returning str8 for all string-related formats or sqlite3
      passing in str8 instances when converting objects that had a __conform__
      method).  One also has to watch out in C code when making a key from char *
      using PyString in the C code but a str instance in Python code as that will not
      longer compare equal.
      
      Once str8 gains a constructor like the current bytes type then
      test_modulefinder needs a cleanup as the fix is a little messy in that file.
      
      Thanks goes to Thomas Lee for writing the patch for the change giving an
      initial run-down of why most of the tests were failing.
      4043001f
  29. 19 Eki, 2007 1 kayıt (commit)
  30. 30 Agu, 2007 1 kayıt (commit)
  31. 12 Haz, 2007 1 kayıt (commit)
  32. 15 May, 2007 1 kayıt (commit)
    • Guido van Rossum's avatar
      Merged revisions 55328-55341 via svnmerge from · 1bc535dc
      Guido van Rossum yazdı
      svn+ssh://pythondev@svn.python.org/python/branches/p3yk
      
      ........
        r55329 | brett.cannon | 2007-05-14 16:36:56 -0700 (Mon, 14 May 2007) | 3 lines
      
        Implement the removal of tuple parameter unpacking (PEP 3113).
        Thanks, Tony Lownds for the patch.
      ........
        r55331 | neal.norwitz | 2007-05-14 16:40:30 -0700 (Mon, 14 May 2007) | 1 line
      
        Update to use Python 3.0
      ........
        r55332 | brett.cannon | 2007-05-14 16:47:18 -0700 (Mon, 14 May 2007) | 2 lines
      
        Mention PEP 3113.  And thanks to Tony Lownds for the PEP 3113 patch.
      ........
        r55333 | neal.norwitz | 2007-05-14 16:57:06 -0700 (Mon, 14 May 2007) | 1 line
      
        Fix exception printing (no more exceptions module)
      ........
        r55334 | neal.norwitz | 2007-05-14 17:11:10 -0700 (Mon, 14 May 2007) | 1 line
      
        Remove popen* functions from os
      ........
        r55335 | neal.norwitz | 2007-05-14 18:03:38 -0700 (Mon, 14 May 2007) | 1 line
      
        Get rid of most of popen.  There are still some uses I need to cleanup.
      ........
        r55336 | neal.norwitz | 2007-05-14 21:11:34 -0700 (Mon, 14 May 2007) | 1 line
      
        Remove a few more remnants of the compiler package
      ........
        r55337 | neal.norwitz | 2007-05-14 22:28:27 -0700 (Mon, 14 May 2007) | 1 line
      
        Get test_[cx]pickle working on 64-bit platforms (avoid overflow int/long)
      ........
      1bc535dc
  33. 09 Şub, 2007 1 kayıt (commit)
    • Guido van Rossum's avatar
      Fix most trivially-findable print statements. · be19ed77
      Guido van Rossum yazdı
      There's one major and one minor category still unfixed:
      doctests are the major category (and I hope to be able to augment the
      refactoring tool to refactor bona fide doctests soon);
      other code generating print statements in strings is the minor category.
      
      (Oh, and I don't know if the compiler package works.)
      be19ed77
  34. 10 Ock, 2007 1 kayıt (commit)
  35. 27 Eki, 2006 2 kayıt (commit)
  36. 18 Agu, 2006 1 kayıt (commit)
  37. 11 May, 2004 1 kayıt (commit)