1. 10 Haz, 1999 9 kayıt (commit)
  2. 09 Haz, 1999 14 kayıt (commit)
  3. 08 Haz, 1999 11 kayıt (commit)
    • Guido van Rossum's avatar
      Fix (sanctioned by Sjoerd) for a problem reported by Andreas Faerber: · 1f2e09bc
      Guido van Rossum yazdı
      all processing instruction target names containing 'xml' were
      rejected, instead (as the standard rejects) only the name 'xml' itself
      (or case variants thereof).
      1f2e09bc
    • Greg Ward's avatar
      On David Ascher's recommendation: reversed order of 'utime()' and · 5116f90e
      Greg Ward yazdı
      'chmod()' in 'copy_file()'.
      5116f90e
    • Guido van Rossum's avatar
      Sam's latest versions · a8d0f4fd
      Guido van Rossum yazdı
      a8d0f4fd
    • Guido van Rossum's avatar
      Skip Montanaro: · cf09a392
      Guido van Rossum yazdı
      I guess in 1.5.2 a new module, whichdb, was added that attempts to
      divine the nature of a database file.  This module doesn't know anything
      about Berkeley DB v2 files.  In v2, Sleepycat added a 12-byte null pad
      in front of the old magic numbers (at least for hash and btree files).
      I've been using v2 for awhile and upgrading to 1.5.2 broke all my
      anydbm.open calls. I believe the following patch corrects the problem.
      cf09a392
    • Guido van Rossum's avatar
      Hmm... Tim didn't turn "replace all" into a single undo block. · ab6a08a4
      Guido van Rossum yazdı
      I think I like it better if it os, so here.
      ab6a08a4
    • Guido van Rossum's avatar
      9745f5a7
    • Guido van Rossum's avatar
      Tim Peters: · 0fcd635d
      Guido van Rossum yazdı
      + Set usetabs=1.  Editing pyclbr.py was driving me nuts <0.6 wink>.
      usetabs=1 is the Emacs pymode default too, and thanks to indentwidth !=
      tabwidth magical usetabs disabling, new files are still created with tabs
      turned off.  The only implication is that if you open a file whose first
      indent is a single tab, IDLE will now magically use tabs for that file (and
      set indentwidth to 8).  Note that the whole scheme doesn't work right for
      PythonWin, though, since Windows users typically set tabwidth to 4; Mark
      probably has to hide the IDLE algorithm from them (which he already knows).
      
      + Changed comment_region_event to stick "##" in front of every line.  The
      "holes" previously left on blank lines were visually confusing (made it
      needlessly hard to figure out what to uncomment later).
      0fcd635d
    • Guido van Rossum's avatar
      Tim Peters: Taught it more "real Python" rules without slowing it · df9f7a3e
      Guido van Rossum yazdı
      appreciably.  Triple-quoted strings no longer confuse it, nor nested
      classes or defs, nor comments starting in column 1.  Chews thru
      Tkinter.py in < 3 seconds for me; doctest.py no longer confuses it; no
      longer missing methods in PyShell.py; etc.  Also captures defs
      starting in column 1 now, but ignores them; an interface should be
      added so that IDLE's class browser can show the top-level functions
      too.
      df9f7a3e
    • Greg Ward's avatar
      Hacked 'set_final_options()' to set (hopefully) appropriate values for · 9a33707b
      Greg Ward yazdı
      'install_site_lib' and install_site_platlib' on non-POSIX platforms.
      Should at least work for NT, as this is adopted from Amos Latteier's NT
      patches.  Also added extensive comments bitching about the inadequacy of
      the current model, both under POSIX and NT (and probably other) systems.
      9a33707b
    • Greg Ward's avatar
      Added the 'have_run' dictionary to Distribution, and changed · c9973349
      Greg Ward yazdı
        'run_command()' to refer to it before attempting to run a command --
        that way, command classes can freely invoke other commands without fear
        of duplicate execution.
      Beefed up some comments and docstrings.
      c9973349
    • Greg Ward's avatar
      Now handles NT, through '_init_nt()' function (courtesy of · 4d74d73b
      Greg Ward yazdı
      Amos Latteier <amos@aracnet.com>).
      4d74d73b
  4. 07 Haz, 1999 4 kayıt (commit)
    • Guido van Rossum's avatar
    • Guido van Rossum's avatar
      Experimental speedup patch by Tim Peters (please test!): · ad380551
      Guido van Rossum yazdı
      It wasn't hard to speed pyclbr by a factor of 3, and I'll attach an
      experimental patch for that (experimental because barely tested).  Uncomment
      the new "String" stuff and it will deal with strings correctly (pyclbr
      currently ignores the possibility), but that slows it down a lot.  Still
      faster in the end than current pyclbr, but-- frankly --I'd rather have the
      dramatic speedup!
      ad380551
    • Guido van Rossum's avatar
      Fix bug discovered by John W. Shipman -- when the width of a format · 98c9eba9
      Guido van Rossum yazdı
      specifier came from an int expression instead of a constant in the
      format, a negative width was truncated to zero instead of taken to
      mean the same as that negative constant plugged into the format.  E.g.
      "(%*s)" % (-5, "foo") yielded "(foo)" while "(%-5s)" yields "(foo  )".
      Now both yield the latter -- like sprintf() in C.
      98c9eba9
    • Guido van Rossum's avatar
      Tim Peters: · 729afc1d
      Guido van Rossum yazdı
      Smarter logic for finding a parse synch point.
      
      Does a half to a fifth the work in normal cases; don't notice the speedup,
      but makes  more breathing room for other extensions.
      
      Speeds terrible cases by at least a factor of 10. "Terrible" == e.g. you put
      """ at the start of Tkinter.py, undo it, zoom to the bottom, and start
      typing in code.  Used to take about 8 seconds for ENTER to respond, now some
      large fraction of a second.  The new code gets indented correctly, despite
      that it all remains "string colored" until the colorizer catches up (after
      which, ENTER appears instantaneous again).
      729afc1d
  5. 04 Haz, 1999 2 kayıt (commit)