1. 24 Nis, 2002 1 kayıt (commit)
  2. 23 Nis, 2002 27 kayıt (commit)
  3. 22 Nis, 2002 12 kayıt (commit)
    • Barry Warsaw's avatar
      Merge in Skip's last few updates w.r.t. py-help-at-point: · 0494955b
      Barry Warsaw yazdı
      (py-mode-map): Bind py-help-at-point to f1 as well as C-c C-h
      
      (py-help-at-point): Make sure the symbol is quoted so things like
      pydoc.help('sys.platform') work correctly.  Also, leave the *Python
      Output* buffer in help-mode; this may be a bit more controversial.
      0494955b
    • Barry Warsaw's avatar
      Some contributions and ideas by Alexander Schmolck: add a keybinding · 29a90f0a
      Barry Warsaw yazdı
      to call pychecker on the current file, add a face for pseudo
      keywords self, None, True, False, and Ellipsis.  Specifically,
      
      (py-pychecker-command, py-pychecker-command-args): New variables.
      
      (py-pseudo-keyword-face): New face variable, defaulting to a copy of
      font-lock-keyword-face.
      
      (python-font-lock-keywords): Add an entry for self, None, True, False,
      Ellipsis to be rendered in py-pseudo-keyword-face.
      
      (py-pychecker-history): New variable.
      
      (py-mode-map): Bind C-c C-w to py-pychecker-run.
      
      (py-pychecker-run): New command.
      29a90f0a
    • Tim Peters's avatar
      unicode_memchr(): Squashed gratuitous int-vs-size_t mismatch (which · 030a5ceb
      Tim Peters yazdı
      gives a compiler wng under MSVC because of the resulting signed-vs-
      unsigned comparison).
      030a5ceb
    • Tim Peters's avatar
      SF bug 546078: IDLE calltips cause application error. · 32b069cf
      Tim Peters yazdı
      Assorted crashes on Windows and Linux when trying to display a very
      long calltip, most likely a Tk bug.  Wormed around by clamping the
      calltip display to a maximum of 79 characters (why 79? why not ...).
      
      Bugfix candidate, for all Python releases.
      32b069cf
    • Walter Dörwald's avatar
      Apply patch diff.txt from SF feature request · de02bcb2
      Walter Dörwald yazdı
      http://www.python.org/sf/444708
      
      This adds the optional argument for str.strip
      to unicode.strip too and makes it possible
      to call str.strip with a unicode argument
      and unicode.strip with a str argument.
      de02bcb2
    • Barry Warsaw's avatar
      Skip Montanaro's contribution (slightly mod'd by Barry) to provide a · a7cc43b9
      Barry Warsaw yazdı
      "help-on-symbol-at-point" feature which uses pydoc to provide help on
      the symbol under point, if available.
      
      Mods include some name changes, a port to Emacs, binding the command
      to C-c C-h, and providing a more informative error message if the
      symbol's help can't be found (through use of a nasty bare except).
      
      Note also that py-describe-mode has been moved off of C-c C-h m; it's
      now just available on C-c ?
      
      Closes SF patch #545439.
      a7cc43b9
    • Barry Warsaw's avatar
      (py-execute-region): If the line at the beginning of the region is a · a0113cd5
      Barry Warsaw yazdı
      #! line, use the command on that line as the shell command to use to
      execute the region.  I.e. if the region looks like
      
      ----------------
      #! /usr/bin/env python1.5
      
      print 'hello world'.startswith('hello')
      ----------------
      
      you'll get an exception! :)
      
      This closes SF bug #232398.
      a0113cd5
    • Barry Warsaw's avatar
      (py-execute-region): If you ran this without having visited a · b2d5e62d
      Barry Warsaw yazdı
      python-mode file, py-which-shell would have been nil and the command
      to use would not get set correctly.  This changes things so that 1)
      the temporary file has a .py extension, 2) the temporary file is put
      into python-mode, and 3) the temporary file's py-which-shell is
      captured in a local `shell' variable, which is used to calculate the
      command to use.  Closes SF bug #545436.
      
      (py-parse-state): Rip out the XEmacs-specific calls to
      buffer-syntactic-context, which can get quite confused if there's an
      open paren in column zero say, embedded in a triple quoted string.
      This was always a performance hack anyway, and computers are fast
      enough now that we should be able to get away with the slower, more
      portable, full-parse branch.  Closes SF bug #451841.
      
      Update the comments at the top of the file.
      b2d5e62d
    • Jack Jansen's avatar
      Added Christopher Smith. · ca800026
      Jack Jansen yazdı
      ca800026
    • Jack Jansen's avatar
      Fixes based on ideas from Christopher Smith: · 992d58b7
      Jack Jansen yazdı
      - islink() now returns true for alias files
      - walk() no longer follows aliases while traversing
      - realpath() implemented, returning an alias-free pathname.
      
      As this could conceivably break existing code I think it isn't a bugfix candidate.
      992d58b7
    • Jack Jansen's avatar
      Removed note on test_time failing. · c6d2a20b
      Jack Jansen yazdı
      Bugfix candidate.
      c6d2a20b
    • Jack Jansen's avatar
      Regenerated to include Internet Config error strings. · 7aace7a2
      Jack Jansen yazdı
      Bugfix candidate.
      7aace7a2