summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* This commit was manufactured by cvs2svn to create tag 'r15b1'.v1.5b1cvs2svn1997-11-261-0/+1
|
* Dumb typo.Guido van Rossum1997-11-261-1/+1
|
* (py-process-filter): py-delete-file-silently is obsolete. Use aBarry Warsaw1997-11-261-1/+1
| | | | py-safe wrapped delete-file call instead.
* (py-compute-indentation): Check for multiline stringness andBarry Warsaw1997-11-261-4/+4
| | | | | commentness so that hitting TAB in the middle of a comment will still indent the line.
* (py-mode-map): Bind py-mark-def-or-class to C-M-h with a differentBarry Warsaw1997-11-261-2/+3
| | | | | spelling so that it doesn't clobber the standard M-BS binding. This should be portable between X/Emacsen.
* Reordered and slightly edited the highlights of changes.Guido van Rossum1997-11-261-47/+53
|
* Revamped README for release of 1.5b1.Guido van Rossum1997-11-261-101/+109
|
* Added list of what's new in 1.5b1. Changed intro and some section titles.Guido van Rossum1997-11-261-11/+216
|
* Four more valuable contributors...Guido van Rossum1997-11-261-0/+4
|
* The usualGuido van Rossum1997-11-2615-135/+793
|
* The dependency of tarhtml on l2h was a bad idea.Guido van Rossum1997-11-261-1/+1
|
* (python-mode): Make imenu-create-index-function buffer local.Barry Warsaw1997-11-261-3/+4
| | | | | | | | | (imenu-example--create-python-index-engine): Use buffer-substring-no-properties. Also, don't use imenu-create-submenu-name. Apparently it is obsolete. These Imenu patches were given by Christian Egli <christian.egli@stest.ch>
* (py-mark-def-or-class): Added an exchange-point-and-mark and aBarry Warsaw1997-11-261-2/+4
| | | | | | | | | py-keep-region-active so that the marked def/class gets the zmacs-region or transient-mark region highlighted. Also point should be left at the end of the marked region. (py-mode-map): Moved py-mark-def-or-class to M-C-h to conform to Emacs major mode standards.
* (python-mode): Patch to fix Imenu support under Emacs, given byBarry Warsaw1997-11-261-1/+3
| | | | Torsten Hilbrich <Torsten.Hilbrich@bln.de>.
* (py-kill-emacs-hook): Simplification.Barry Warsaw1997-11-261-11/+5
|
* Icons for Windows installer.Guido van Rossum1997-11-263-0/+0
|
* Added the HTML files.Guido van Rossum1997-11-261-24/+64
|
* Added CRLF line endings since this is for NOTEPAD.Guido van Rossum1997-11-260-0/+0
|
* Added comment about where to find details on python-mode.el, pointingBarry Warsaw1997-11-261-23/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to the Web site. (py-defun-start-re, py-class-start-re): Changed to defconst. (py-traceback-line-re): Regular expression describing what traceback lines look like. (py-point): New defsubst copied from CC Mode. (py-highlight-line): Function which does the work of making a traceback line mouseable. This only works on XEmacs. Someone familar with Emacs text properties and such will have to do that port. (py-mode-map): Added C-c- bound to py-up-exception and C-c= bound to py-down-exception. Also, more concise form for mapcar. (py-mode-output-map): New keymap for the *Python Output* buffer which only has keybindings for py-mouseto-exception and py-goto-exception. All other self-insert-command's are bound to beep. This is actually bogus because the buffer should really be made read-only and the functions that insert in that buffer should bind inhibit-read-only. Also, this map should be bound to highlighted extents in a *Python* shell buffer, but this stuff hasn't been migrated into there. (py-postprocess-output-buffer): New function which extentifies the *Python Output* buffer. The bogosities are that this only runs when the synchronous process in the buffer is finished (so it doesn't work for async procs), and it should also be merged into py-process-filter so the *Python* shell gets mouseable too. (py-shell): Added C-c- and C-c= to the comint buffer's keymap. The bogosity is that py-goto-exception should also be bound, but it cannot be bound to C-cC-c (since that interferes with comint-interrupt-subjob's typical binding). Also, traceback lines aren't mouseable in this buffer. (py-execute-region): Support for traceback jumping. This really is quite a kludge, but necessary based on the way all this stuff works. There's bound to be broken interactions here. (py-jump-to-exception, py-mouseto-exception, py-goto-exception, py-find-next-exception, py-down-exception, py-up-exception): All new commands and functions to implement traceback jumping. (py-compute-indentation): Hope this change doesn't get lost in all the noise above!!!! This fixes broken non-indentation of a line when TAB is hit inside a string that isn't a multi-line string.
* Documented brand new behavior of sys.ps1 and sys.ps2 (str() is appliedGuido van Rossum1997-11-252-2/+8
| | | | to get the actual prompt).
* Apply str() to sys.ps1 or sys.ps2 before using them as a prompt, soGuido van Rossum1997-11-251-16/+14
| | | | | you can assign an object whose str() evaluates to the current directory (or whatever).
* Added utility target tarhtml to tar and gzip the HTML files plus theirGuido van Rossum1997-11-251-0/+4
| | | | support (GIFS, icons, style sheets).