1. 01 Aug, 2002 6 commits
    • Guido van Rossum's avatar
      SF patch 588728 (Nathan Srebro). · 0dbab4c5
      Guido van Rossum authored
      The __delete__ method wrapper for descriptors was not supported
      
      (I added a test, too.)
      
      2.2 bugfix candidate.
      0dbab4c5
    • Tim Peters's avatar
      Added new footnote about list.sort() stability. Repaired footnote about · 74824584
      Tim Peters authored
      using sort() with comparison functions (it made reference to the non-
      existent "builtin-in function sort()").
      
      BTW, I changed list.sort's docstring to contain the word "stable" -- the
      easiest way to tell whether a particular Python version's sort *is* stable
      is to look for "stable" in the docstring.  I'm not sure whether to
      advertise this <wink>.
      74824584
    • Tim Peters's avatar
      A blurb about the sort implementation. · f47630ff
      Tim Peters authored
      f47630ff
    • Tim Peters's avatar
      New test for sorting sanity. Note that this will fail in earlier Pythons, · 2d8b765c
      Tim Peters authored
      in the stability tests.
      
      Bizarre:  this takes 11x longer to run if and only if test_longexp is
      run before it, on my box.  The bigger REPS is in test_longexp, the
      slower this gets.  What happens on your box?  It's not gc on my box
      (which is good, because gc isn't a plausible candidate here).
      
      The slowdown is massive in the parts of test_sort that implicitly
      invoke a new-style class's __lt__ or __cmp__ methods.  If I boost
      REPS large enough in test_longexp, even the test_sort tests on an array
      of size 64 visibly c-r-a-w-l.  The relative slowdown is even worse in
      a debug build.  And if I reduce REPS in test_longexp, the slowdown in
      test_sort goes away.
      
      test_longexp does do horrid things to Win98's management of user
      address space, but I thought I had made that a whole lot better a month
      or so ago (by overallocating aggressively in the parser).
      2d8b765c
    • Tim Peters's avatar
      a64dc245
    • Tim Peters's avatar
      Checking in the doc file for "timsort". There's way too much here to · 92f81f2e
      Tim Peters authored
      stuff into code comments, and lots of it is going to be useful again (but
      hard to predict exactly which parts of it ...).
      92f81f2e
  2. 31 Jul, 2002 11 commits
  3. 30 Jul, 2002 13 commits
  4. 29 Jul, 2002 7 commits
    • Jack Jansen's avatar
      First stab at the launcher application. This will be run when the user · 3bbb617c
      Jack Jansen authored
      doubleclicks a .py, .pyw or .pyc file. It runs the file by invoking the
      relevant interpreter (either the command line Python in a terminal window
      or a Python.app for GUI-based scripts). Interpreter to use and the options
      to pass are settable through preferences.
      
      If PythonLauncher wasn't running it does its thing for one script and exits.
      If it was manually started before a dialog is presented where the user
      can set the options to use, etc.
      
      To be done:
      - option-drag/doubleclick should always open the interactive dialog
      - Terminal-window isn't done yet
      - Should be reimplemented in Python, but pyobjc isn't part of the core.
      - Various menu entries should be disabled.
      3bbb617c
    • Jason Tishler's avatar
      Patch #553702: Cygwin make install patch · c0f1e774
      Jason Tishler authored
      This patch fixes make install for Cygwin. Specifically,
      it reverts to the previous behavior:
      
      o install libpython$(VERSION)$(SO) in $(BINDIR)
      o install $(LDLIBRARY) in $(LIBPL)
      
      It also begins to remove Cygwin's dependency on
      $(DLLLIBRARY) which I hope to take advantage of
      when I attempt to make Cygwin as similar as possible
      to the other Unix platforms (in other patches).
      
      I tested this patch under Red Hat Linux 7.1 without
      any ill effects.
      
      BTW, I'm not the happiest using the following
      test for Cygwin:
      
      test "$(SO)" = .dll
      
      I'm willing to update the patch to use:
      
      case "$(MACHDEP)" in cygwin*
      
      instead, but IMO that will look uglier.
      c0f1e774
    • Michael W. Hudson's avatar
      Fix for · 56796f67
      Michael W. Hudson authored
      [ 587875 ] crash on deleting extended slice
      
      The array code got simpler, always a good thing!
      56796f67
    • Thomas Heller's avatar
      New functions for extension writers on Windows: · 085358a3
      Thomas Heller authored
       PyErr_SetExcFromWindowsErr(), PyErr_SetExcFromWindowsErrWithFilename().
      
      Similar to PyErr_SetFromWindowsErrWithFilename() and
      PyErr_SetFromWindowsErr(), but they allow to specify
      the exception type to raise. Available on Windows.
      
      See SF patch #576458.
      085358a3
    • Martin v. Löwis's avatar
      Revert #571603 since it is ok to import codecs that are not subdirectories · b9e0764d
      Martin v. Löwis authored
      of encodings. Skip modules that don't have a getregentry function.
      b9e0764d
    • Mark Hammond's avatar
      Excise DL_IMPORT/EXPORT from object.h, and related files. This patch · a2905273
      Mark Hammond authored
      also adds 'extern' to PyAPI_DATA rather than at each declaration, as
      discussed with Tim and Guido.
      a2905273
    • Thomas Heller's avatar
      f4ad4ce5
  5. 28 Jul, 2002 3 commits