1. 04 Feb, 2000 8 commits
    • Jeremy Hylton's avatar
      rapid evolution towards producing real .pyc files (even though I don't · 0fdffcf9
      Jeremy Hylton authored
      handle most of the language syntax yet)
      
      create NestedCodeGenerator used to generator the separate code object
      that needs to be passed as an argument to MAKE_FUNCTION when a def
      stmt is found (probably useful for class too)
      
      change CodeGenerator.visitFunction to use the NestedCG
      
      add CompiledModule class to handle creation of .pyc (pretty minimal
      for now)
      
      add makeCodeObject method to PythonVMCode that replaces symbolic names
      with indexes into slots of the code code.  the design of this
      class will probably need to be revised.
      0fdffcf9
    • Guido van Rossum's avatar
    • Guido van Rossum's avatar
      Actually, the previous batch's comment should have been different; · 4b8c6eaf
      Guido van Rossum authored
      *this* set of patches is Ka-Ping's final sweep:
      
      The attached patches update the standard library so that all modules
      have docstrings beginning with one-line summaries.
      
      A new docstring was added to formatter.  The docstring for os.py
      was updated to mention nt, os2, ce in addition to posix, dos, mac.
      4b8c6eaf
    • Guido van Rossum's avatar
      The third and final doc-string sweep by Ka-Ping Yee. · e7b146fb
      Guido van Rossum authored
      The attached patches update the standard library so that all modules
      have docstrings beginning with one-line summaries.
      
      A new docstring was added to formatter.  The docstring for os.py
      was updated to mention nt, os2, ce in addition to posix, dos, mac.
      e7b146fb
    • Guido van Rossum's avatar
      More trivial comment -> docstring transformations by Ka-Ping Yee, · 54f22ed3
      Guido van Rossum authored
      who writes:
      
      Here is batch 2, as a big collection of CVS context diffs.
      Along with moving comments into docstrings, i've added a
      couple of missing docstrings and attempted to make sure more
      module docstrings begin with a one-line summary.
      
      I did not add docstrings to the methods in profile.py for
      fear of upsetting any careful optimizations there, though
      i did move class documentation into class docstrings.
      
      The convention i'm using is to leave credits/version/copyright
      type of stuff in # comments, and move the rest of the descriptive
      stuff about module usage into module docstrings.  Hope this is
      okay.
      54f22ed3
    • Jeremy Hylton's avatar
      checking in initial weekend's work · 8b6323d3
      Jeremy Hylton authored
      compile.py: ASTVisitor framework plus bits of a code generator that
          should be bug-for-buf compatible with compile.c
      
      misc.py: Set and Stack helpers
      
      test.py: a bit of simple sample code that compile.py will work on
      8b6323d3
    • Jeremy Hylton's avatar
      make p2c a package · 106a02da
      Jeremy Hylton authored
      106a02da
    • Jeremy Hylton's avatar
      three files from the p2c cvs tree. the message here indicates the · f968e854
      Jeremy Hylton authored
      revision number the p2c cvs tree.
      
      COPYRIGHT: 1.1
      ast.py: 1.3
      transformer.py: 1.11
      f968e854
  2. 03 Feb, 2000 8 commits
  3. 02 Feb, 2000 6 commits
  4. 01 Feb, 2000 2 commits
    • Guido van Rossum's avatar
      Sjoerd Mullender writes: · 3c8baeda
      Guido van Rossum authored
      Fixed a TypeError: not enough arguments; expected 4, got 3.
      When authentication is needed, the default http_error_401 method calls
      retry_http_basic_auth.  The default version of that method expected a
      data argument which wasn't provided, so now we provide the argument if
      it was given and we also made the data argument optional.
      
      Also changed other calls where data was optional to not pass data if
      it was not passed to the calling method (in line with other similar
      occurances).
      3c8baeda
    • Fred Drake's avatar
  5. 31 Jan, 2000 1 commit
  6. 30 Jan, 2000 6 commits
  7. 24 Jan, 2000 4 commits
  8. 21 Jan, 2000 1 commit
  9. 20 Jan, 2000 4 commits