summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Slight reworking of this test. If nis.maps() gives a nis.error, thenBarry Warsaw1999-01-281-2/+5
| | | | | raise an ImportError if not running verbose. This signals to the regression framework that this test isn't applicable.
* builtin_map(): Nailed memory leak. PyList_Append() borrows aBarry Warsaw1999-01-281-0/+1
| | | | | reference, so you have to DECREF the appended value. This was a fun one!
* builtin_complex(): Nailed memory leak. This one's in the instanceBarry Warsaw1999-01-271-0/+1
| | | | | | test for classes with a __complex__() method. The attribute is pulled out of the instance with PyObject_GetAttr() but this transfers ownership and the function object was never DECREF'd.
* Get rid of do_clear_break / do_clb command -- it is redundant.Guido van Rossum1999-01-271-20/+0
| | | | (It was left in accidentally after a long and arduous 3-way patch session.)
* pcre_exec(): Andrew Kuchling's patch for pcre memory leak.Barry Warsaw1999-01-271-0/+1
|
* Add the info "dir" fragment to the info tarball.Fred Drake1999-01-271-1/+1
|
* Fragment of an info "dir" file for the Python documentation.Fred Drake1999-01-271-0/+8
|
* Simplify slightly.Fred Drake1999-01-271-4/+2
|
* Don't build info for the Macintosh module reference by default; itFred Drake1999-01-271-1/+2
| | | | doesn't do well.
* initerrno(): Nailed a not-so-tiny memory leak. The de dictionary isBarry Warsaw1999-01-271-1/+2
| | | | | put into the module dict, but is never DECREF'd in this function, so it and all its contents leak.
* PyImport_ReloadModule(): Nailed a small memory leak. In theBarry Warsaw1999-01-271-0/+1
| | | | | else-clause of the subname test, the parentname object was never DECREF'd.
* Patches by William Lewis for Nextstep descendants.Guido van Rossum1999-01-2713-328/+689
|
* PyLong_FromString(): Nailed a small memory leak. In the str==startBarry Warsaw1999-01-271-0/+1
| | | | | test, we forgot that z is still pointing to a real live object. DECREF() it before returning.
* \py@linkToName: New macro to consolidate support for most internalFred Drake1999-01-271-18/+18
| | | | | | | | hyperlinking in the PDF version. This also allows many of the macros that do this stuff to be a good bit more readable. Takes the target name and link content as parameters. Use \py@linkToName for all internal links.
* Added the files for the repr and ConfigParser modules.Fred Drake1999-01-271-1/+3
|
* Document the repr module. This removes the entire "Code objects andFred Drake1999-01-273-9/+126
| | | | files, debugger etc." section from "Undocumented Modules"!
* err_input(): Nailed a small memory leak. If the error is E_INTR, theBarry Warsaw1999-01-271-1/+2
| | | | | | | | | v temporary variable was never decref'd. Test this by starting up the interpreter, hitting C-c, then immediately exiting. Same potential leak can occur if error is E_NOMEM, since the return is done in the case block. Added Py_XDECREF(v); to both blocks, just before the return.
* _PySys_Init(): Nailed small memory leak. The stringobject created forBarry Warsaw1999-01-271-0/+1
| | | | sys.version was missing a Py_XDECREF().
* Don't say that the module defines the "following functions" and thenFred Drake1999-01-271-9/+5
| | | | | | | only describe one; say "following function" instead! Merge the two one-sentence paragraphs into a single paragraph, so it doesn't look too stupid.
* cleaned up ugly hack related to activate events and suspend/resume -- jvrJust van Rossum1999-01-271-14/+8
|
* Re-format the module docstring and document the new get() argument.Barry Warsaw1999-01-261-26/+29
|
* Incorporate changes for patched version of ConfigParser.Fred Drake1999-01-261-5/+8
|
* Patch by Chris Petrilli (not really tested since I don't know thisGuido van Rossum1999-01-261-6/+17
| | | | | | | module myself) to accept an option keyword argument (vars) that is substituted on top of the defaults that were setup in __init__. The patch also fixes the problem where you can't have recusive references inside your configuration file.
* \py@modindex: Format the index entry for the module index more likeFred Drake1999-01-261-1/+1
| | | | | that used in the "normal" index. No visual difference, but more easily processed by helper scripts.
* Documentation for the ConfigParser module, by Christopher G. PetrilliFred Drake1999-01-263-3/+117
| | | | (petrilli@amber.org).
* Added Sherlock source for Python documentation, and added icons to them all.Jack Jansen1999-01-263-0/+0
|
* expandtabs__doc__: blank line which was not terminated with \n\ causedBarry Warsaw1999-01-261-1/+0
| | | | the SunPro C compiler to choke. Removed this redundant line.
* Add spawnv and spawnve functions for Win32 platforms.Guido van Rossum1999-01-251-0/+178
|
* A gift from Fredrik Lundh: fast C implementation of expandtabs().Guido van Rossum1999-01-251-0/+75
| | | | | I've reformatted it, added a few comments, a test for tabsize <= 0, and used the AS_STRING macro.
* Document the default for tabsize in expandtabs().Guido van Rossum1999-01-251-2/+2
|
* The usual.Guido van Rossum1999-01-256-4/+143
|
* Allow recognition of attributes even if they don't have space in frontFred Drake1999-01-251-1/+1
| | | | | | | of them. I.e., '<a name="foo"href="bar.html">' will now have two attributes recognized. Based on comments from newgroup.
* Change rare occurrences of #if HAVE_LONG_LONG to #ifdef.Guido van Rossum1999-01-252-3/+3
|
* Make sure not to call realloc() with a NULL pointer -- call malloc()Guido van Rossum1999-01-251-1/+4
| | | | in that case. Tamito Kajiyama.
* Include myselect.h -- needed on some platforms.Guido van Rossum1999-01-251-0/+1
|
* Rearrange the -I flags for compiling _tkinter.c so thatGuido van Rossum1999-01-251-2/+2
| | | | | | /usr/local/include comes before /usr/X11R1/include. On some Linux distributions the latter apparently contains (standard!) a bad tcl.h or tk.h.
* Don't die if CodeType doesn't exist -- ignore the error. This couldGuido van Rossum1999-01-251-1/+4
| | | | happen in restricted mode.
* There's a macro PycString_IMPORT which the documentation listed asGuido van Rossum1999-01-251-1/+1
| | | | | | PycStringIO_IMPORT. While arguably the name used in the documentation is more consistent, I think it's probably safer not to change the macro definition and instead fix the doco.
* Correct typo in new function get_breaks().Guido van Rossum1999-01-251-1/+1
|
* Change clear syntax to support three alternatives:Guido van Rossum1999-01-251-3/+47
| | | | | | | | | clear clear file:line clear bpno bpno ... Also print the breakpoint data after calling set_break(), because the print statement in set_break() has gone.
* Change clear_break() to the old signature clear_break(file, line).Guido van Rossum1999-01-251-26/+40
| | | | | | | | Add new clear_bpbynumber() with single bpno argument. (Adapted from a patch by Richard Wolff.) Also some cleanup in error messages and moved some comments into a docstring.
* Ai! complex_nonzero() has && which should be ||, else decidedlyGuido van Rossum1999-01-251-1/+1
| | | | | non-zero things like 5j and complex(1,0) are considered to be zero/false. Tim Peters.
* Only do ttyname() when HAVE_TTYNAME is defined.Guido van Rossum1999-01-251-0/+18
| | | | Also define F_OK etc. when not already defined, when doing access().
* Adding sherlock search templates for Python and Python FAQ.Jack Jansen1999-01-253-0/+14
|
* Added Icn module to toolboxmodulesJack Jansen1999-01-253-0/+3
|
* Set PythonCore version number to sys.hexversion, and removed versionJack Jansen1999-01-2523-0/+0
| | | | numbers in all other projects/libraries.
* Script to synchronize files with / in their name and their _s_ counterparts.Just van Rossum1999-01-241-0/+89
| | | | Needed to keep CWGUSI under cvs because of filesnames with slashes.
* Test checkin, to see whether I really can do it. --jvr schpeaking.Just van Rossum1999-01-231-2/+0
|
* Test checkin, to see whether I really can do it. --jvr schpeaking.Just van Rossum1999-01-221-0/+2
|
* Add "term" to AUTOCLOSE.Fred Drake1999-01-221-1/+1
|