1. 20 Şub, 2004 5 kayıt (commit)
    • Thomas Heller's avatar
      Patch #892660 from Mark Hammond, for distutils bdist_wininst command. · a19cdad6
      Thomas Heller yazdı
      install.c: support for a 'pre-install-script', run before anything has
      been installed. Provides a 'message_box' module function for use by
      either the pre-install or post-install scripts.
      
      bdist_wininst.py: support for pre-install script. Typo (build->built),
      fixes so that --target-version can still work, even when the
      distribution has extension modules - in this case, we insist on
      --skip-build, as we still can't actually build other versions.
      a19cdad6
    • Vinay Sajip's avatar
      Socket handler closed prior to end of test. · bb990588
      Vinay Sajip yazdı
      bb990588
    • Vinay Sajip's avatar
      Copyright year & version number/version date changes. · ed6bb141
      Vinay Sajip yazdı
      Exception traceback text is now cached.
      Closing a handler now removes it from the internal _handlers list.
      Handlers now chain to Handler.close() from their close() methods.
      Exception info can be passed as a tuple in exc_info.
      shutdown() is registered to be called at application exit.
      ed6bb141
    • Vinay Sajip's avatar
      Copyright year change. · 48cfe38e
      Vinay Sajip yazdı
      Corrections to comments.
      Tracebacks can now be sent via SocketHandler.
      SocketHandler now uses exponential backoff strategy.
      Handlers now chain to Handler.close() from their close() methods.
      48cfe38e
    • Vinay Sajip's avatar
      Copyright year change. · 326441e7
      Vinay Sajip yazdı
      Corrections to comments.
      Added RESET_ERROR definition.
      326441e7
  2. 19 Şub, 2004 9 kayıt (commit)
  3. 18 Şub, 2004 1 kayıt (commit)
    • David Ascher's avatar
      Implementation of patch 869468 · e2b4b320
      David Ascher yazdı
      Allow the user to create Tkinter.Tcl objects which are
      just like Tkinter.Tk objects except that they do not
      initialize Tk. This is useful in circumstances where the
      script is being run on machines that do not have an X
      server running -- in those cases, Tk initialization fails,
      even if no window is ever created.
      
      Includes documentation change and tests.
      
      Tested on Linux, Solaris and Windows.
      
      Reviewed by Martin von Loewis.
      e2b4b320
  4. 17 Şub, 2004 5 kayıt (commit)
  5. 16 Şub, 2004 2 kayıt (commit)
  6. 15 Şub, 2004 7 kayıt (commit)
  7. 14 Şub, 2004 4 kayıt (commit)
  8. 13 Şub, 2004 6 kayıt (commit)
    • Raymond Hettinger's avatar
      238b267b
    • Fred Drake's avatar
      further testing indicates that the simplified version of the test · 55cf4347
      Fred Drake yazdı
      (re-using an existing test object class) no longer triggered the
      original segfault when the fix was backed out; restoring the local
      test object class to make the test effective
      
      the assignment of the ref created at the end does not affect the test,
      since the segfault happended before weakref.ref() returned; removing
      the assignment
      55cf4347
    • Raymond Hettinger's avatar
      * Note list optimizations · 7a6d297b
      Raymond Hettinger yazdı
      * Move an example out of a comment.
      7a6d297b
    • Raymond Hettinger's avatar
      Optimize list.pop() for the common special case of popping off the end. · cb3e580e
      Raymond Hettinger yazdı
      More than doubles its speed.
      cb3e580e
    • Raymond Hettinger's avatar
      * Optimized list appends and pops by making fewer calls the underlying system · 4bb9540d
      Raymond Hettinger yazdı
        realloc().  This is achieved by tracking the overallocation size in a new
        field and using that information to skip calls to realloc() whenever
        possible.
      
      * Simplified and tightened the amount of overallocation.  For larger lists,
        this overallocates by 1/8th (compared to the previous scheme which ranged
        between 1/4th to 1/32nd over-allocation).  For smaller lists (n<6), the
        maximum overallocation is one byte (formerly it could be upto eight bytes).
        This saves memory in applications with large numbers of small lists.
      
      * Eliminated the NRESIZE macro in favor of a new, static list_resize function
        that encapsulates the resizing logic.  Coverting this back to macro would
        give a small (under 1%) speed-up.  This was too small to warrant the loss
        of readability, maintainability, and de-coupling.
      
      * Some functions using NRESIZE had grown unnecessarily complex in their
        efforts to bend to the macro's calling pattern.  With the new list_resize
        function in place, those other functions could be simplified.  That is
        being saved for a separate patch.
      
      * The ob_item==NULL check could be eliminated from the new list_resize
        function.  This would entail finding each piece of code that sets ob_item
        to NULL and adding a new line to invalidate the overallocation tracking
        field.  Rather than impose a new requirement on other pieces of list code,
        it was preferred to leave the NULL check in place and retain the benefits
        of decoupling, maintainability and information hiding (only PyList_New()
        and list_sort() need to know about the new field).  This approach also
        reduces the odds of breaking an extension module.
      
      (Collaborative effort by Raymond Hettinger, Hye-Shik Chang, Tim Peters,
       and Armin Rigo.)
      4bb9540d
    • Hye-Shik Chang's avatar
      We have cp932 support in standard distribution now. And there's now · 4a8d42f7
      Hye-Shik Chang yazdı
      no major codepages unsupported by Python, so remove the eg. case.
      4a8d42f7
  9. 12 Şub, 2004 1 kayıt (commit)