1. 25 Ock, 2003 1 kayıt (commit)
  2. 24 Ock, 2003 3 kayıt (commit)
  3. 22 Ock, 2003 1 kayıt (commit)
  4. 21 Ock, 2003 1 kayıt (commit)
  5. 19 Ock, 2003 1 kayıt (commit)
    • Raymond Hettinger's avatar
      SF patch #670367: Micro-optimizations for ceval.c · 4bad9ba2
      Raymond Hettinger yazdı
      Make the code slightly shorter, faster, and easier to
      read.
      
      * Eliminate unused DUP_TOPX code for x==1.
      compile.c always generates DUP_TOP instead.
      
      * Since only two cases remain for DUP_TOPX, replace
      the switch-case with if-elseif.
      
      * The in-lined integer compare does a CheckExact on
      both arguments. Since the second is a little more
      likely to fail, test it first.
      
      * The switch-case for IS/IS_NOT and IN/NOT_IN can
      separate the regular and inverted cases with no
      additional work. For all four paths, saves a test and
      jump.
      4bad9ba2
  6. 17 Ock, 2003 1 kayıt (commit)
  7. 16 Ock, 2003 1 kayıt (commit)
  8. 14 Ock, 2003 1 kayıt (commit)
  9. 10 Ock, 2003 2 kayıt (commit)
  10. 09 Ock, 2003 1 kayıt (commit)
    • Raymond Hettinger's avatar
      SF patch #664320: Replace push/pop clusters in ceval.c · 663004bb
      Raymond Hettinger yazdı
      Replaced groups of pushes and pops with indexed access to the stack and
      a single adjustment (if needed) to the stacklevel.
      
      Avoids scores of unnecessary increments and decrements to the stackpointer.
      Removes unnecessary sequential dependencies so that the compiler has more
      freedom for optimizations.  Frees the processor for more parallel and
      pipelined execution by using mostly read-only access and having few pointer
      adjustments just prior to a read or write.
      663004bb
  11. 08 Ock, 2003 1 kayıt (commit)
  12. 04 Ock, 2003 1 kayıt (commit)
  13. 02 Ock, 2003 1 kayıt (commit)
  14. 31 Ara, 2002 3 kayıt (commit)
    • Jeremy Hylton's avatar
      SF patch [ 597919 ] compiler package and SET_LINENO · accb62b2
      Jeremy Hylton yazdı
      A variety of changes from Michael Hudson to get the compiler working
      with 2.3.  The primary change is the handling of SET_LINENO:
      
      # The set_lineno() function and the explicit emit() calls for
      # SET_LINENO below are only used to generate the line number table.
      # As of Python 2.3, the interpreter does not have a SET_LINENO
      # instruction.  pyassem treats SET_LINENO opcodes as a special case.
      
      A few other small changes:
       - Remove unused code from pycodegen and pyassem.
       - Fix error handling in parsermodule.  When PyParser_SimplerParseString()
         fails, it sets an exception with detailed info.  The parsermodule
         was clobbering that exception and replacing it was a generic
         "could not parse string" exception.  Keep the original exception.
      accb62b2
    • Neal Norwitz's avatar
    • Neal Norwitz's avatar
      Fix SF #639945, 64-bit bug on AIX · 7b8e35ed
      Neal Norwitz yazdı
      I can't test this on the snake farm (no aix box is working).
      This change works for the submitter seems correct.
      Can anybody test this on 32- and 64- bit AIX?
      7b8e35ed
  15. 30 Ara, 2002 2 kayıt (commit)
    • Neal Norwitz's avatar
      SF #561244, Micro optimizations · c91ed400
      Neal Norwitz yazdı
      Initialize the small integers and __builtins__ in startup.
      This removes some if conditions.
      Change XDECREF to DECREF for values which shouldn't be NULL.
      c91ed400
    • Just van Rossum's avatar
      PEP 302 + zipimport: · 52e14d64
      Just van Rossum yazdı
      - new import hooks in import.c, exposed in the sys module
      - new module called 'zipimport'
      - various changes to allow bootstrapping from zip files
      
      I hope I didn't break the Windows build (or anything else for that
      matter), but then again, it's been sitting on sf long enough...
      
      Regarding the latest discussions on python-dev: zipimport sets
      pkg.__path__ as specified in PEP 273, and likewise, sys.path item such as
      /path/to/Archive.zip/subdir/ are supported again.
      52e14d64
  16. 29 Ara, 2002 2 kayıt (commit)
  17. 25 Ara, 2002 1 kayıt (commit)
  18. 23 Ara, 2002 3 kayıt (commit)
  19. 18 Ara, 2002 1 kayıt (commit)
  20. 16 Ara, 2002 2 kayıt (commit)
    • Gustavo Niemeyer's avatar
      Fixing bug · 78429a6a
      Gustavo Niemeyer yazdı
      [#448679] Left to right
      
      * Python/compile.c
        (com_dictmaker): Reordered evaluation of dictionaries to follow strict
        LTR evaluation.
      
      * Lib/compiler/pycodegen.py
        (CodeGenerator.visitDict): Reordered evaluation of dictionaries to
        follow strict LTR evaluation.
      
      * Doc/ref/ref5.tex
        Documented the general LTR evaluation order idea.
      
      * Misc/NEWS
        Documented change in evaluation order of dictionaries.
      78429a6a
    • Jack Jansen's avatar
      Got rid of old (non-carbon-ppc and even cfm68k) file extensions for · c389ec8d
      Jack Jansen yazdı
      extension modules.
      c389ec8d
  21. 15 Ara, 2002 1 kayıt (commit)
  22. 13 Ara, 2002 1 kayıt (commit)
  23. 12 Ara, 2002 1 kayıt (commit)
    • Walter Dörwald's avatar
      Enhance issubclass() and PyObject_IsSubclass() so that a tuple is · d9a6ad3b
      Walter Dörwald yazdı
      supported as the second argument. This has the same meaning as
      for isinstance(), i.e. issubclass(X, (A, B)) is equivalent
      to issubclass(X, A) or issubclass(X, B). Compared to isinstance(),
      this patch does not search the tuple recursively for classes, i.e.
      any entry in the tuple that is not a class, will result in a
      TypeError.
      
      This closes SF patch #649608.
      d9a6ad3b
  24. 11 Ara, 2002 2 kayıt (commit)
  25. 06 Ara, 2002 1 kayıt (commit)
  26. 04 Ara, 2002 2 kayıt (commit)
  27. 02 Ara, 2002 1 kayıt (commit)
  28. 29 Kas, 2002 1 kayıt (commit)