0
0
mirror of https://github.com/python/cpython.git synced 2024-11-28 08:20:55 +01:00
Commit Graph

483 Commits

Author SHA1 Message Date
Barry Warsaw
c6f8fd925e Last try, think I got it now. 1999-12-01 23:40:01 +00:00
Barry Warsaw
490b15d30b Once more 1999-12-01 23:38:27 +00:00
Barry Warsaw
a20a1e7d4b Once more 1999-12-01 23:38:03 +00:00
Barry Warsaw
6b96ec3625 Urg! 1999-12-01 23:36:42 +00:00
Barry Warsaw
6c3e3a90df more trivial stuff to test CVS -- should be the last? 1999-12-01 23:30:46 +00:00
Barry Warsaw
0afe026108 testing CVS once more 1999-12-01 23:29:10 +00:00
Barry Warsaw
fcd490b290 testing CVS 1999-12-01 23:25:55 +00:00
Barry Warsaw
71d9f0dba1 testing CVS 1999-12-01 23:23:32 +00:00
Barry Warsaw
34790539a9 testing CVS 1999-12-01 23:01:50 +00:00
Barry Warsaw
a8a57a7e03 testing CVS 1999-12-01 22:55:28 +00:00
Barry Warsaw
8896a2bd27 Minor change to test new CVS reporting 1999-12-01 22:53:10 +00:00
Barry Warsaw
de4636c232 Minor change to test new CVS reporting 1999-12-01 22:52:19 +00:00
Barry Warsaw
61c0461c24 Minor change to test new CVS reporting 1999-12-01 22:47:14 +00:00
Barry Warsaw
086bc367ee Minor change to test new CVS reporting 1999-12-01 22:46:09 +00:00
Barry Warsaw
bda81c86af Minor change to test new CVS reporting 1999-12-01 22:43:04 +00:00
Barry Warsaw
0319b370d0 Minor change to test new CVS reporting 1999-12-01 22:38:59 +00:00
Barry Warsaw
554cd94096 Minor change to test new CVS reporting 1999-12-01 22:34:42 +00:00
Guido van Rossum
fd6aabbb35 Checking in text versions of release forms and explanation. 1999-11-05 15:21:08 +00:00
Fred Drake
f2e9e2978e Oops, better update the date on the .TH line. 1999-08-20 13:30:49 +00:00
Fred Drake
4c9be9dffa Various updates, mostly to add information to the SEE ALSO and
INTERNET RESOURCES sections based on c.l.py comments.
1999-08-20 13:10:20 +00:00
Barry Warsaw
50765abb29 (py-shell): Set the default shell if not set yet. It's sometimes
convenient to call py-shell before the first Python file has been
visited.
1999-08-10 21:49:00 +00:00
Barry Warsaw
5ed843fc52 A few minor Customize changes:
(python): Set defgroup :prefix to "py-" to make variable names cleaner.

(py-jpython-command, py-jpython-command-args): Set :tag for proper
capitalization of JPython in variable name display.
1999-07-28 22:06:06 +00:00
Barry Warsaw
11f215607e (python-mode): Set which interpreter (CPython or JPython) to use the
first time a py buffer is visited during the Emacs session.  This
ensures that py-which-shells is initialized and also guarantees that
the mode lines reflect the correct shell.  First bug found by GvR,
second one has long bugged :) me.

(py-toggle-shells): Programmatically, arg can also take the symbols
`cpython' or `jpython', which makes it easy to call with the value of
py-default-interpreter.

(py-shell): Don't need to initialize py-which-* variables since these
will guarantee to be initialized by python-mode when the first py
buffer is visited.

(py-default-interpreter): Update docstring.
1999-07-28 21:59:43 +00:00
Barry Warsaw
ddc469679b (py-beginning-of-def-or-class): Only move to match-beginning if the
regex match actually succeeded!
1999-07-27 21:40:02 +00:00
Barry Warsaw
c0d2d51dd2 (py-statement-closes-block-p): py-goto-initial-line could leave us in
the line's whitespace.  back-to-indentation should /follow/ this call.
1999-06-03 22:18:59 +00:00
Barry Warsaw
fa2def2a61 (py-electric-backspace): I'm not sure this function should be special
casing when py-honor-comment-indentation is nil, but this could be a
religious issue with some.  Seems to me we should still be dedenting
such comment lines one level.
1999-05-24 21:43:37 +00:00
Barry Warsaw
53db859408 (py-parse-state): When running under Emacs -- which doesn't have
buffer-syntactic-context -- just short circuit the TQS test by jumping
to point-min and doing the test from there.  For long files, this will
be faster than looping with a re-search-backwards.
1999-05-24 19:57:32 +00:00
Barry Warsaw
a8f99ba2d2 (py-statement-closes-block-p): Add a py-goto-initial-line which fixes
indentation when the return value is a multiline sexp:

def bug():
    try:
        if 2>1:
            return (11+
                    12)

        else:   #XXX
            return 12
    except:
        return 13
1999-05-24 18:37:57 +00:00
Guido van Rossum
b65a43a970 News for 1.5.2 (final). 1999-04-13 15:52:45 +00:00
Guido van Rossum
8f9fabd360 More (Cameron Laird is honorary; the others are 1.5.2c1 testers). 1999-04-13 14:32:42 +00:00
Guido van Rossum
7cf904736e Bunch of new names who helped iron out the last wrinkles of 1.5.2. 1999-04-13 14:25:52 +00:00
Guido van Rossum
913a32632f Correct missed character in Andrew Dalke's name. 1999-04-10 17:17:51 +00:00
Guido van Rossum
437cfe842f News for the 1.5.2c1 release. 1999-04-08 20:17:57 +00:00
Guido van Rossum
1e7b0acb4d Removing an unused image of a snake.
I don't know what its origins are but I think I've seen it
once in a NeXT dictionary application -- not sure whether
anyone owns copyright but I don't see why we should risk it.
1999-04-07 17:23:09 +00:00
Guido van Rossum
ae14230069 Bunch of new contributors, including 9 who contributed to the Docs,
reported by Fred.
1999-04-05 21:18:12 +00:00
Fred Drake
0df2188d08 Typo: "apparentlt" --> "apparently" 1999-02-22 15:38:58 +00:00
Guido van Rossum
74608e6a05 New in 1.5.2b2. 1999-02-18 16:02:20 +00:00
Guido van Rossum
8a06aea269 Couple of new names. 1999-02-18 16:01:43 +00:00
Barry Warsaw
3b4e2f0b87 (py-shell): Added optional argprompt, which will prompt for additional
switches to pass into the shell process (only on initial startup).
1999-02-16 23:52:46 +00:00
Barry Warsaw
aa384fd616 (py-default-interpreter): New variable which selects whether CPython
or JPython is the default interpreter to use when `C-c !' is entered
for the first time.
1999-02-16 23:36:16 +00:00
Guido van Rossum
71ddcd87e2 Finn Bock. 1999-02-16 21:30:18 +00:00
Guido van Rossum
c54367a2f0 Uwe Zessin. 1999-02-08 22:29:40 +00:00
Guido van Rossum
3e0d319196 The usual. 1999-01-25 21:57:29 +00:00
Barry Warsaw
f19feb8fb5 (py-mode-map): Add back force of RET (aka C-m) to
py-newline-and-indent.
1999-01-21 17:06:11 +00:00
Barry Warsaw
cb5540e72a (py-mode-map): Removed special bindings for C-m and C-j to
py-newline-and-indent.  These ought to get picked up by the mapcar
that follows; any existing binding to newline-and-indent gets shadowed
to py-newline-and-indent.

This will break some people who, e.g. bind C-m or C-j to newline but
still want these bound to py-newline-and-indent in Python mode.  On
the other hand, the forced binding pisses off Emacs diehards.  So
consider this experimental and see if any tall Dutch guys complain :-)
1999-01-19 13:26:56 +00:00
Barry Warsaw
f8ddb6afa0 (py-narrow-to-defun): New command (bound to C-x n d) which mimics the
standard narrow-to-defun but works with Python classes and methods.
With no arg, narrows to most enclosing def/method.  With C-u arg,
narrows to most enclosing class.
1999-01-18 21:49:39 +00:00
Barry Warsaw
1d7b0fa9ca (py-electric-delete): Implement the XEmacs 21 blessed way of checking
for delete forwardness.
1999-01-15 02:12:31 +00:00
Barry Warsaw
1a1c6bbf8c (py-outdent-p): Short circuit infloop for illegal construct
(e.g. except: on first line of buffer).
1999-01-09 17:22:38 +00:00
Guido van Rossum
de8b026148 Added shlex and netrc modules; added warning about urllib change
affecting subclasses (which Jeremy just found out).
1998-12-22 16:41:09 +00:00
Guido van Rossum
e96bd3f60f News for 1.5.2b1. Moved news before 1.5.1 to HISTORY. 1998-12-21 21:45:04 +00:00