summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* (py-jump-on-exception): Variable which if t, means that if anBarry Warsaw1997-12-031-7/+19
| | | | | exception occurs in a synchronous Python subprocess, the mode will automatically jump to the innermost exception.
* Removed redundant eval-when-compile.Barry Warsaw1997-12-031-19/+13
| | | | | | | | | | | (python-mode): Conditionalize imenu initializations to when we can safely require imenu. Under Emacs this should prevent python-mode from hosing the global value of imenu-create-index-function and messing things up for all other modes. Problem identified by Christian Egli. (py-describe-mode): py-delete-char => py-electric-backspace. Given by Christian Egli.
* The biggie: changed the funcdesc environments used for opcode descriptionsFred Drake1997-12-032-350/+352
| | | | | | | | | | | | | | to use the opcodedesc environment. Changed a \code{} to a \file{} near the start where a file is referenced. Fixed a typo: "on" --> "one" in ROT_THREE description. Wherever opcodes were referenced by name, use \code{OPCODE_NAME}; usage was inconsistent. Ideally, another macro would be defined since these don't represent code a programmer would type, but that's minor even for me. It'll probably get converted automatically in the SGML conversion project. Whether that matters or not isn't relevant at this point.
* Added environment for defining PyVM instructions. This is only used inFred Drake1997-12-031-0/+6
| | | | | | | | | | | | the libdis.tex file I'm about to check in. I'm not sure this is really an optimal solution yet, but it may be the best alternative. It avoids describing the instructions as either data items or functions. This change was discussed with Guido. (Guido: Take a look at the LaTeX output for this; if this is reasonable I'll go ahead and update the perl code in myformat.perl to match.)
* Change the default repr() and str() of class instance objects to lookGuido van Rossum1997-12-031-1/+9
| | | | | like <modulename.classname instance at ...> (to match the repr() of class objects.
* (python-mode): Patch to make font-lock work automatically for Emacs.Barry Warsaw1997-12-021-0/+1
| | | | Unnecessary for XEmacs, but oh well...
* Test for an up-to-date Custom library when byte-compiling, and issueBarry Warsaw1997-12-021-1/+20
| | | | | an informative message when one cannot be found, as is the case with a vanilla Emacs 19.34 (and NTEmacs 19.34).
* Add the flag RTLD_GLOBAL to the dlopen() options.Guido van Rossum1997-12-021-3/+7
| | | | | | | This exports symbols defined by the loaded extension to other extensions (loaded later). (I'm not quite sure about this but suppose it can't hurt...)
* Make stdin unbuffered too, when PYTHONUNBUFFERED is specified.Guido van Rossum1997-12-021-0/+1
|
* Patches by Fred Lundh to make it compile better with K&R compilers.Guido van Rossum1997-12-021-20/+20
| | | | | (Should really let AMK do this, but don't know when he'll give me a new version.)
* Small bugfixes for broken old style use of the syntax table. AMK, ofGuido van Rossum1997-12-021-6/+6
| | | | course.
* Yes, Virginia, Tix does have a Tix_SafeInit() function.Guido van Rossum1997-12-021-5/+5
|
* Understand -Xlinker option.Guido van Rossum1997-12-021-0/+1
|
* Left-aligned preprocessor directives and changed C++ comments to CGuido van Rossum1997-12-021-9/+9
| | | | comments.
* Patch for QNX, by Chris Herborth. Also left-aligned preprocessorGuido van Rossum1997-12-021-58/+58
| | | | directives and changed C++ comments to C comments.
* Patch for QNX, by Chris Herborth.Guido van Rossum1997-12-023-7/+10
|
* Support for netbsd1 and freebsd3, after suggestions by Anders AndersenGuido van Rossum1997-12-022-4/+9
| | | | and Jacques Vidrine.
* When a port is specified in an ftp:// URL, must convert it to a number!Guido van Rossum1997-12-021-0/+2
|
* Typo in example (missing '=') discovered by Sandy Langbart.Guido van Rossum1997-12-022-2/+2
|
* Support for the "event" command, new in Tk 4.2.Guido van Rossum1997-12-021-0/+24
| | | | By Case Roole.
* Add attributions to Jeffrey Ollie and Tim Peters for re.py.Guido van Rossum1997-12-021-6/+6
|
* Add attributions to Jeffrey Ollie and Tim Peters for re.py; new QNXGuido van Rossum1997-12-021-4/+33
| | | | section from Chris Herborth.
* Changes for FreeBSD and NetBSD: NetBSD does shared libs just like FreeBSDGuido van Rossum1997-12-022-102/+156
| | | | | (big surprise), and FreeBSD has pthread support in -lc_r -- maybe NetBSD has too.
* Skip directories when installing library files; this avoids problemsGuido van Rossum1997-12-021-0/+1
| | | | | when test/output is found (/usr/bin/install chokes on this; no idea why install-sh doesn't).
* Document new behavior of isinstance() when using a type object.Guido van Rossum1997-12-022-6/+10
|
* Support type objects in isinstance().Guido van Rossum1997-12-021-10/+15
| | | | | E.g. isinstance('',types.StringType) will return true now instead of raising a TypeError exception. This is for JPython compatibility.
* Make modes for installed files and directories variables; change theGuido van Rossum1997-12-021-8/+15
| | | | default for directories (not for files!) to be group writable.
* Sjoerd sez: global substitute \240 with \177.Guido van Rossum1997-12-021-4/+4
|
* Changed the occurrence of *shared* in the example so people won'tGuido van Rossum1997-12-021-13/+10
| | | | accidentally uncomment it...
* Added stropts.h to the list of files automatically regenerated.Guido van Rossum1997-12-021-0/+1
|
* Generated from Solaris 2.6's /usr/include/sys/stropts.h viaBarry Warsaw1997-12-021-0/+1450
| | | | | | Tools/scripts/h2py.py. This file contains many useful streamio(7) constants, especially the ones that support passing open file descriptors through a pipe: I_RECVFD and I_SENDFD.
* *** empty log message ***Guido van Rossum1997-12-021-0/+121
|
* Comment out crypt by default; it's not used very much and messes upGuido van Rossum1997-12-021-6/+8
| | | | | | | the default build on Linux (because it requires -lcrypt which isn't availabel everywhere). Some improvements to the _tkinter build line suggested by Case Roole.
* Added Pareto and Weibull distributions, courtesy Jeremy Hylton.Guido van Rossum1997-12-021-0/+18
|
* Added strop.split tests when sep is None.Barry Warsaw1997-12-021-0/+6
|
* split_whitespace(): Make sure delimiter is stripped from the beginningBarry Warsaw1997-12-021-1/+4
| | | | | of the remainder item (last item in list) when maxsplit is < the number of occurrences.
* Require 'cl when compiling so that the push macro gets picked in EmacsBarry Warsaw1997-12-011-0/+2
| | | | 19.34.
* Use $LOGNAME instead of $USER to get the current user -- it seems toGuido van Rossum1997-12-011-1/+1
| | | | be the state of the art.
* Removed Queue.py. It's documented now.Barry Warsaw1997-12-012-4/+0
|
* Initialize __version__ to the correct version string regardless ofGuido van Rossum1997-12-011-3/+14
| | | | | what RCS checkout options are used. Problem first diagnosed by Marc Lemburg.
* In string.split(), honor maxsplit (if > 0).Guido van Rossum1997-12-012-4/+16
| | | | | | | | In string.splitfields(), ignore maxsplit if <= 0, rather than ignoring maxsplit=0 but effectively treating negative numbers the same as maxsplit=1. Also made the test for maxsplit slightly more efficient (set it to the length of the string when <= 0 so the test for its presence can be omitted from the loop).
* _Environ(): Added __getinitargs__() method so os.environ.copy() works,Barry Warsaw1997-12-011-0/+5
| | | | | | as does unpickling, as in: pickle.loads(pickle.dumps(os.environ)). Hope this is right! Don't shoot me Guido. :-)
* Added \indexsubitem definition; functions were previously indexed for theFred Drake1997-11-308-0/+16
| | | | wrong module.
* Added \indexsubitem definition. Non-optimal, but two modules are sharingFred Drake1997-11-302-0/+8
| | | | the documentation here.
* Added \indexsubitem definition; functions were previously indexed for theFred Drake1997-11-302-0/+4
| | | | wrong module.
* Updated \indexsubitem; functions had been indexed for the wrong module.Fred Drake1997-11-302-0/+4
|
* Added tests of strop.replace()Barry Warsaw1997-11-291-0/+9
|
* mymemreplace(), strop_replace(): Add support for optional 4th argumentBarry Warsaw1997-11-291-4/+12
| | | | | | | | maxsplit which is implemented in string.py but wasn't here. The reference manual doesn't define what happens when maxsplit is negative or larger than the number of occurrences, but in either case, I implemented this as all get replaced. Default value is zero which replaces all occurrences.
* (py-traceback-line-re): Relaxation of regexp to catch SyntaxErrors.Barry Warsaw1997-11-271-2/+2
| | | | Harri Pasanen.
* Slip of the keyboard (f__ should be __). Dunno why I had a totallyGuido van Rossum1997-11-272-2/+2
| | | | | | messed up (but not checked in) version in my work files and didn't notice before releasing 1.5 -- at least the distributed latex file doesn't have the bogus warning about changed __init__ semantics.