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. 30 Eyl, 2016 1 kayıt (commit)
  3. 11 Haz, 2016 1 kayıt (commit)
  4. 27 Ara, 2015 1 kayıt (commit)
  5. 13 Eyl, 2015 1 kayıt (commit)
  6. 09 Eyl, 2015 2 kayıt (commit)
  7. 22 Nis, 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. 15 Eki, 2014 1 kayıt (commit)
  10. 02 Eki, 2014 1 kayıt (commit)
  11. 12 Eyl, 2014 1 kayıt (commit)
  12. 19 Agu, 2014 1 kayıt (commit)
  13. 18 Mar, 2014 1 kayıt (commit)
  14. 14 Nis, 2013 1 kayıt (commit)
  15. 26 Mar, 2011 1 kayıt (commit)
  16. 11 Şub, 2011 4 kayıt (commit)
    • R. David Murray's avatar
      Merged revisions 88402 via svnmerge from · 46c4e470
      R. David Murray yazdı
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r88402 | r.david.murray | 2011-02-11 17:37:16 -0500 (Fri, 11 Feb 2011) | 2 lines
      
        Fix argument name typo in compileall docs.
      ........
      46c4e470
    • R. David Murray's avatar
      8b24aac9
    • R. David Murray's avatar
      Merged revisions… · 561b96f9
      R. David Murray yazdı
      Merged revisions 86542,87136,87216,87221,87228,87256,87337-87338,87372,87516,87571,88164 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r86542 | r.david.murray | 2010-11-19 22:48:58 -0500 (Fri, 19 Nov 2010) | 2 lines
      
        Make test class name unique so that both test classes run.
      ........
        r87136 | r.david.murray | 2010-12-08 17:53:00 -0500 (Wed, 08 Dec 2010) | 6 lines
      
        Have script_helper._assert_python strip refcount strings from stderr.
      
        This makes the output of the function and those that depend on it
        independent of whether or not they are being run under a debug
        build.
      ........
        r87216 | r.david.murray | 2010-12-13 17:50:30 -0500 (Mon, 13 Dec 2010) | 2 lines
      
        #10698: fix typo in example.
      ........
        r87221 | r.david.murray | 2010-12-13 19:55:46 -0500 (Mon, 13 Dec 2010) | 4 lines
      
        #10699: fix docstring for tzset: it does not take a parameter
      
        Thanks to Garrett Cooper for the fix.
      ........
        r87228 | r.david.murray | 2010-12-13 21:25:43 -0500 (Mon, 13 Dec 2010) | 2 lines
      
        Turn on regrtest -W (rerun immediately) option for Windows, too.
      ........
        r87256 | r.david.murray | 2010-12-14 21:19:14 -0500 (Tue, 14 Dec 2010) | 2 lines
      
        #10705: document what the values of debuglevel are and mean.
      ........
        r87337 | r.david.murray | 2010-12-17 11:11:40 -0500 (Fri, 17 Dec 2010) | 2 lines
      
        #10559: provide instructions for accessing sys.argv when first mentioned.
      ........
        r87338 | r.david.murray | 2010-12-17 11:29:07 -0500 (Fri, 17 Dec 2010) | 2 lines
      
        #10454: clarify the compileall docs and help messages.
        [changes to compileall.py were not backported, only the doc changes]
      ........
        r87372 | r.david.murray | 2010-12-18 11:39:06 -0500 (Sat, 18 Dec 2010) | 2 lines
      
        #10728: the default for printing help is sys.stdout, not stderr.
      ........
        r87516 | r.david.murray | 2010-12-27 15:09:32 -0500 (Mon, 27 Dec 2010) | 5 lines
      
        #7056: runtest and runtest_inner don't use testdir, so drop it from their sigs
      
        I've only tested regular runs and -j runs.  If I've broken anything
        else I'm sure I'll hear about it sooner or later.
      ........
        r87571 | r.david.murray | 2010-12-29 14:06:48 -0500 (Wed, 29 Dec 2010) | 2 lines
      
        Fix same typo in docs.
      ........
        r88164 | r.david.murray | 2011-01-24 14:34:58 -0500 (Mon, 24 Jan 2011) | 12 lines
      
        #10960: fix 'stat' links, link to lstat from stat, general tidy of stat doc.
      
        Original patch by Michal Nowikowski, with some additions and wording
        fixes by me.
      
        I changed the wording from 'Performs a stat system call' to 'Performs
        the equivalent of a stat system call', since on Windows there are no
        stat/lstat system calls involved.  I also extended Michal's breakout
        of the attributes into a list to the other paragraphs, and rearranged
        the order of the paragraphs in the 'stat' docs to make it flow
        better and put it in what I think is a more logical/useful order.
      ........
      561b96f9
    • R. David Murray's avatar
      Merged revisions 87136,87221,87256,87337-87338,87571,87839,88164 via svnmerge from · 43b2f457
      R. David Murray yazdı
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      
      ........
        r87136 | r.david.murray | 2010-12-08 17:53:00 -0500 (Wed, 08 Dec 2010) | 6 lines
      
        Have script_helper._assert_python strip refcount strings from stderr.
      
        This makes the output of the function and those that depend on it
        independent of whether or not they are being run under a debug
        build.
      ........
        r87221 | r.david.murray | 2010-12-13 19:55:46 -0500 (Mon, 13 Dec 2010) | 4 lines
      
        #10699: fix docstring for tzset: it does not take a parameter
      
        Thanks to Garrett Cooper for the fix.
      ........
        r87256 | r.david.murray | 2010-12-14 21:19:14 -0500 (Tue, 14 Dec 2010) | 2 lines
      
        #10705: document what the values of debuglevel are and mean.
      ........
        r87337 | r.david.murray | 2010-12-17 11:11:40 -0500 (Fri, 17 Dec 2010) | 2 lines
      
        #10559: provide instructions for accessing sys.argv when first mentioned.
      ........
        r87338 | r.david.murray | 2010-12-17 11:29:07 -0500 (Fri, 17 Dec 2010) | 2 lines
      
        #10454: clarify the compileall docs and help messages.
          [compileall.py changes not backported.]
      ........
        r87571 | r.david.murray | 2010-12-29 14:06:48 -0500 (Wed, 29 Dec 2010) | 2 lines
      
        Fix same typo in docs.
      ........
        r87839 | r.david.murray | 2011-01-07 16:57:25 -0500 (Fri, 07 Jan 2011) | 9 lines
      
        Fix formatting of values with embedded newlines when rfc2047 encoding
      
        Before this patch if a value being encoded had an embedded newline,
        the line following the newline would have no leading whitespace,
        and the whitespace it did have was encoded into the word.  Now
        the existing whitespace gets turned into a blank, the way it does
        in other header reformatting, and the _continuation_ws gets added
        at the beginning of the encoded line.
      ........
        r88164 | r.david.murray | 2011-01-24 14:34:58 -0500 (Mon, 24 Jan 2011) | 12 lines
      
        #10960: fix 'stat' links, link to lstat from stat, general tidy of stat doc.
      
        Original patch by Michal Nowikowski, with some additions and wording
        fixes by me.
      
        I changed the wording from 'Performs a stat system call' to 'Performs
        the equivalent of a stat system call', since on Windows there are no
        stat/lstat system calls involved.  I also extended Michal's breakout
        of the attributes into a list to the other paragraphs, and rearranged
        the order of the paragraphs in the 'stat' docs to make it flow
        better and put it in what I think is a more logical/useful order.
      ........
      43b2f457
  17. 17 Ara, 2010 1 kayıt (commit)
  18. 16 Ara, 2010 5 kayıt (commit)
    • Éric Araujo's avatar
    • Éric Araujo's avatar
      Add doc for compileall.compile_file · c11ba768
      Éric Araujo yazdı
      c11ba768
    • Éric Araujo's avatar
      Merged revisions 86521,86632,86823-86824,87294,87296,87300,87302 via svnmerge from · a8132ec2
      Éric Araujo yazdı
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r86521 | eric.araujo | 2010-11-18 17:38:46 +0100 (jeu., 18 nov. 2010) | 17 lines
      
        Fix usage of :option: in the docs (#9312).
      
        :option: is used to create a link to an option of python, not to mark
        up any instance of any arbitrary command-line option.  These were
        changed to ````.
      
        For modules which do have a command-line interface, lists of options
        have been properly marked up with the program/cmdoption directives
        combo.  Options defined in such blocks can be linked to with :option:
        later in the same file, they won’t link to an option of python.
      
        Finally, the markup of command-line fragments in optparse.rst has
        been cleaned to use ``x`` instead of ``"x"``, keeping that latter
        form for actual Python strings.
      
        Patch by Eli Bendersky and Éric Araujo.
      ........
        r86632 | eric.araujo | 2010-11-21 04:09:17 +0100 (dim., 21 nov. 2010) | 2 lines
      
        Style edits in followup to r86521 (#9312)
      ........
        r86823 | eric.araujo | 2010-11-27 00:31:07 +0100 (sam., 27 nov. 2010) | 2 lines
      
        Use link-generating markup (see #9312)
      ........
        r86824 | eric.araujo | 2010-11-27 00:46:18 +0100 (sam., 27 nov. 2010) | 2 lines
      
        Rewrap long lines + minor edits
      ........
        r87294 | eric.araujo | 2010-12-16 01:07:01 +0100 (jeu., 16 déc. 2010) | 2 lines
      
        No need to generate a link for something that’s just above.
      ........
        r87296 | eric.araujo | 2010-12-16 01:23:30 +0100 (jeu., 16 déc. 2010) | 2 lines
      
        Advertise “python -m” instead of direct filename.
      ........
        r87300 | eric.araujo | 2010-12-16 02:40:26 +0100 (jeu., 16 déc. 2010) | 2 lines
      
        Advertise “python -m test” over test.regrtest (r87296 followup)
      ........
        r87302 | eric.araujo | 2010-12-16 03:10:11 +0100 (jeu., 16 déc. 2010) | 2 lines
      
        Add versionadded directive missing from r78983.
      ........
      a8132ec2
    • Éric Araujo's avatar
      Merged revisions 86521,86632,86823-86824,87294,87296,87300,87302 via svnmerge from · 3efdf063
      Éric Araujo yazdı
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r86521 | eric.araujo | 2010-11-18 17:38:46 +0100 (jeu., 18 nov. 2010) | 17 lines
      
        Fix usage of :option: in the docs (#9312).
      
        :option: is used to create a link to an option of python, not to mark
        up any instance of any arbitrary command-line option.  These were
        changed to ````.
      
        For modules which do have a command-line interface, lists of options
        have been properly marked up with the program/cmdoption directives
        combo.  Options defined in such blocks can be linked to with :option:
        later in the same file, they won’t link to an option of python.
      
        Finally, the markup of command-line fragments in optparse.rst has
        been cleaned to use ``x`` instead of ``"x"``, keeping that latter
        form for actual Python strings.
      
        Patch by Eli Bendersky and Éric Araujo.
      ........
        r86632 | eric.araujo | 2010-11-21 04:09:17 +0100 (dim., 21 nov. 2010) | 2 lines
      
        Style edits in followup to r86521 (#9312)
      ........
        r86823 | eric.araujo | 2010-11-27 00:31:07 +0100 (sam., 27 nov. 2010) | 2 lines
      
        Use link-generating markup (see #9312)
      ........
        r86824 | eric.araujo | 2010-11-27 00:46:18 +0100 (sam., 27 nov. 2010) | 2 lines
      
        Rewrap long lines + minor edits
      ........
        r87294 | eric.araujo | 2010-12-16 01:07:01 +0100 (jeu., 16 déc. 2010) | 2 lines
      
        No need to generate a link for something that’s just above.
      ........
        r87296 | eric.araujo | 2010-12-16 01:23:30 +0100 (jeu., 16 déc. 2010) | 2 lines
      
        Advertise “python -m” instead of direct filename.
      ........
        r87300 | eric.araujo | 2010-12-16 02:40:26 +0100 (jeu., 16 déc. 2010) | 2 lines
      
        Advertise “python -m test” over test.regrtest (r87296 followup)
      ........
        r87302 | eric.araujo | 2010-12-16 03:10:11 +0100 (jeu., 16 déc. 2010) | 2 lines
      
        Add versionadded directive missing from r78983.
      ........
      3efdf063
    • Éric Araujo's avatar
      f68fa05f
  19. 04 Ara, 2010 1 kayıt (commit)
  20. 18 Kas, 2010 1 kayıt (commit)
    • Éric Araujo's avatar
      Fix usage of :option: in the docs (#9312). · 713d3039
      Éric Araujo yazdı
      :option: is used to create a link to an option of python, not to mark
      up any instance of any arbitrary command-line option.  These were
      changed to ````.
      
      For modules which do have a command-line interface, lists of options
      have been properly marked up with the program/cmdoption directives
      combo.  Options defined in such blocks can be linked to with :option:
      later in the same file, they won’t link to an option of python.
      
      Finally, the markup of command-line fragments in optparse.rst has
      been cleaned to use ``x`` instead of ``"x"``, keeping that latter
      form for actual Python strings.
      
      Patch by Eli Bendersky and Éric Araujo.
      713d3039
  21. 17 Nis, 2010 1 kayıt (commit)
  22. 17 May, 2009 1 kayıt (commit)
  23. 10 Nis, 2009 1 kayıt (commit)
  24. 17 Eyl, 2008 2 kayıt (commit)
    • Benjamin Peterson's avatar
      Merged revisions 66457-66459,66465-66468,66483-66485,66487-66491 via svnmerge from · 5478b473
      Benjamin Peterson yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r66457 | antoine.pitrou | 2008-09-13 15:30:30 -0500 (Sat, 13 Sep 2008) | 5 lines
      
        Issue #3850: Misc/find_recursionlimit.py was broken.
      
        Reviewed by A.M. Kuchling.
      ........
        r66458 | benjamin.peterson | 2008-09-13 17:54:43 -0500 (Sat, 13 Sep 2008) | 1 line
      
        fix a name issue; note all doc files should be encoded in utf8
      ........
        r66459 | benjamin.peterson | 2008-09-14 11:02:22 -0500 (Sun, 14 Sep 2008) | 1 line
      
        clarify that radix for int is not 'guessed'
      ........
        r66465 | skip.montanaro | 2008-09-14 21:03:05 -0500 (Sun, 14 Sep 2008) | 3 lines
      
        Review usage.  Fix a mistake in the new-style class definition.  Add a
        couple new definitions (CPython and virtual machine).
      ........
        r66466 | skip.montanaro | 2008-09-14 21:19:53 -0500 (Sun, 14 Sep 2008) | 2 lines
      
        Pick up a few more definitions from the glossary on the wiki.
      ........
        r66467 | benjamin.peterson | 2008-09-14 21:53:23 -0500 (Sun, 14 Sep 2008) | 1 line
      
        mention that object.__init__ no longer takes arbitrary args and kwargs
      ........
        r66468 | andrew.kuchling | 2008-09-15 08:08:32 -0500 (Mon, 15 Sep 2008) | 1 line
      
        Rewrite item a bit
      ........
        r66483 | georg.brandl | 2008-09-16 05:17:45 -0500 (Tue, 16 Sep 2008) | 2 lines
      
        Fix typo.
      ........
        r66484 | benjamin.peterson | 2008-09-16 16:20:28 -0500 (Tue, 16 Sep 2008) | 2 lines
      
        be less wordy
      ........
        r66485 | georg.brandl | 2008-09-17 03:45:54 -0500 (Wed, 17 Sep 2008) | 2 lines
      
        #3888: add some deprecated modules in whatsnew.
      ........
        r66487 | skip.montanaro | 2008-09-17 06:50:36 -0500 (Wed, 17 Sep 2008) | 2 lines
      
        usage
      ........
        r66488 | andrew.kuchling | 2008-09-17 07:57:04 -0500 (Wed, 17 Sep 2008) | 1 line
      
        Markup fixes
      ........
        r66489 | andrew.kuchling | 2008-09-17 07:58:22 -0500 (Wed, 17 Sep 2008) | 2 lines
      
        Remove comment about improvement: pystone is about the same, and
        the improvements seem to be difficult to quantify
      ........
        r66490 | andrew.kuchling | 2008-09-17 08:04:53 -0500 (Wed, 17 Sep 2008) | 1 line
      
        Note sqlite3 version; move item
      ........
        r66491 | benjamin.peterson | 2008-09-17 16:54:56 -0500 (Wed, 17 Sep 2008) | 1 line
      
        document compileall command flags
      ........
      5478b473
    • Benjamin Peterson's avatar
      document compileall command flags · b8966ab7
      Benjamin Peterson yazdı
      b8966ab7
  25. 15 Agu, 2007 2 kayıt (commit)