summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tag 'r21c1'.v2.1c1cvs2svn2001-04-131-0/+1
|
* Tim convinced me to augment the PSF license with a final clause justGuido van Rossum2001-04-131-0/+4
| | | | | like the one in the BeOpen license (and similar to the one in the CNRI license, but with the "click-to-accept" part elided).
* Clean up the unsightly mess around the readline header files. We nowGuido van Rossum2001-04-131-24/+1
| | | | | | | | | | | | | | | | | | | | | | | always: - #undef HAVE_CONFIG_H (because otherwise chardefs.h tries to include strings.h) - #include readline.h and history.h and we never declare any readline function prototypes ourselves. This makes it compile with readline 4.2, albeit with a few warnings. Some of the remaining warnings are about completion_matches(), which is renamed to rl_completion_matches(). I've tested it with various other versions, from 2.0 up, and they all seem to work (some with warnings) -- but only on Red Hat Linux 6.2. Fixing the warnings for readline 4.2 would break compatibility with 3.0 (and maybe even earlier versions), and readline doesn't seem to have a way to test for its version at compile time, so I'd rather leave the warnings in than break compilation with older versions.
* Add convenience targets that build all archive types for single formattingFred Drake2001-04-131-0/+6
| | | | versions.
* Michael Hudson:Fred Drake2001-04-131-1/+23
| | | | | | | Update docs for PyDict_Next() based on the most recent changes to the dictionary code. This closes SF patch #409864.
* I am TENTATIVELY checking in Martin von Loewis's patch for the SSLGuido van Rossum2001-04-131-0/+7
| | | | | | | | | | | | problem reported by Neil Schemenauer on python-dev on 4/12/01, wth subject "Problem with SSL and socketmodule on Debian Potato?". It's tentative because Moshe objected, but Martin rebutted, and Moshe seems unavailable for comments. (Note that with OpenSSL 0.9.6a, I get a lot of compilation warnings for socketmodule.c -- I'm assuming I can safely ignore these until 2.1 is released.)
* split long lineJeremy Hylton2001-04-131-1/+2
|
* Fixup some platform annotations.Fred Drake2001-04-132-1/+2
|
* Work around the conversion of ">>" and "<<" to guillemets. Reported by Ping.Fred Drake2001-04-131-2/+2
|
* Work around the conversion of ">>" and "<<" to guillemets. Reported by Ping.Fred Drake2001-04-132-2/+2
|
* Added regression test for SF bug #415660 (failure to invalidate allFred Drake2001-04-131-5/+24
| | | | | | references to an object before calling registered callbacks). Change last uses of verify() to self.assert_().
* cleanup_helper(): Make sure we invalidate all reference objectsFred Drake2001-04-131-6/+41
| | | | | | | | | | | before calling any callbacks. This is important since the callback objects only look at themselves to determine that they are invalide. This change avoids a segfault when callbacks use a different reference to an object in the process of being deallocated. This fixes SF bug #415660.
* Slight adaptation of Michael Hudson's patch to test PyDict_Next()Guido van Rossum2001-04-131-0/+62
| | | | | | | | | | | | (with modification of existing dict elements!). This is part of SF patch #409864: lazy fix for Pings bizarre scoping crash. The adaptation I made to Michael's patch was to change the error handling to avoid masking other errors (moving the specific error message to inside test_dict_inner()), and to insert a test for dict==NULL at the start.
* Fix typo in comment (the module is now called _testcapi, not _test).Guido van Rossum2001-04-131-1/+1
|
* Change error message raised when free variable is not yet bound. ItJeremy Hylton2001-04-132-11/+18
| | | | | | | | | now raises NameError instead of UnboundLocalError, because the var in question is definitely not local. (This affects test_scope.py) Also update the recent fix by Ping using get_func_name(). Replace tests of get_func_name() return value with call to get_func_desc() to match all the other uses.
* Work around the conversion of ">>" and "<<" to guillemets. Reported by Ping.Fred Drake2001-04-131-1/+1
|
* Work around the conversion of ">>" and "<<" to guillemets. Reported by Ping.Fred Drake2001-04-131-51/+56
| | | | Wrap some long lines and fix some markup nits.
* Patch by Ping (SF bug 415879, Exception.__init__() causes segfault):Guido van Rossum2001-04-131-3/+2
| | | | | | | | | | | | Calling an unbound method on a C extension class without providing an instance can yield a segfault. Try "Exception.__init__()" or "ValueError.__init__()". This is a simple fix. The error-reporting bits in call_method mistakenly treat the misleadingly-named variable "func" as a function, when in fact it is a method. If we let get_func_name take care of the work, all is fine.
* One-character style change to appease Netscape stylesheets.Ka-Ping Yee2001-04-131-1/+1
|
* Oops. Need an extra blank line after the PSF license.Guido van Rossum2001-04-131-0/+1
|
* - Inserted the (tentative) PSF license.Guido van Rossum2001-04-131-9/+64
| | | | | | | | - Removed the subsection numbering in section B (each time a new license is inserted in the front, the others have to be renumbered). - Changed the words in the intro to avoid implying that 1.6.1 is GPL-compatible.
* Use nturl2path to generate a file: URL to source files in Windows.Ka-Ping Yee2001-04-131-3/+7
|
* Add test for SF bug #405427Jeremy Hylton2001-04-132-0/+36
|
* SF patch #405845 by Martin von LöwisJeremy Hylton2001-04-131-1/+7
| | | | | | Fixes SF bug #405427. If an http response has a bogus return code, e.g. 400.100, raise BadStatusLine.
* Update to reflect new tokenize_test.pyJeremy Hylton2001-04-131-8/+8
|
* Work around the conversion of ">>" and "<<" to guillemets. Reported by Ping.Fred Drake2001-04-131-4/+4
|
* There's no need for the tokenize tests to include a SyntaxError.Jeremy Hylton2001-04-131-1/+1
|
* Minor markup adjustments.Fred Drake2001-04-131-2/+2
| | | | Turn reference to the cmd module into a hyperlink.
* Clean up isroutine().Ka-Ping Yee2001-04-131-2/+1
|
* Use inspect.stack()[1][3] to tell if Helper.__repr__ is called interactively.Ka-Ping Yee2001-04-131-2/+2
|
* Add inode checks to detect circular symbolic links (so that theKa-Ping Yee2001-04-131-3/+7
| | | | Tools/idle/idlelib link doesn't cause an infinite loop -- aack!)
* Small style change to accommodate Netscape.Ka-Ping Yee2001-04-131-1/+1
|
* Robustify getfile() against classes that lie about their __module__sKa-Ping Yee2001-04-131-1/+1
| | | | (such as the exceptions in _weakref and _locale!)
* Word-wrap the list of cross-references.Ka-Ping Yee2001-04-131-1/+5
|
* Another pass through the topic table to fill in cross references.Ka-Ping Yee2001-04-131-20/+27
| | | | Restore Helper.__repr__ for now.
* Make force-loading optional; don't force-load in interactive mode.Ka-Ping Yee2001-04-131-133/+147
| | | | | | | | Make synopsis() load modules as '__temp__' so they don't clobber anything. Change "constants" section to "data" section. Don't show __builtins__ or __doc__ in "data" section. For Bob Weiner: don't boldface text in Emacs shells or dumb terminals. Remove Helper.__repr__ (it really belongs in site.py, and should be guarded by a check for len(inspect.stack) <= 2).
* Remove duplicate type objects from isroutine() and isbuiltin().Ka-Ping Yee2001-04-131-4/+4
| | | | Make getmodule() on a module return the module itself.
* Patch #415777: new grouping strategy.Martin v. Löwis2001-04-133-10/+68
| | | | | | | | | fixes bug #414940, and redoes the fix for #129417 in a different way. It also fixes a number of other problems with locale-specific formatting: If there is leading or trailing spaces, then no grouping should be applied in the spaces, and the total length of the string should not be changed due to grouping. Also added test case which works only if the en_US locale is available.
* Whitespace normalization.Tim Peters2001-04-132-2/+1
|
* Update the helper scripts that push development docs to SourceForge;Fred Drake2001-04-132-5/+5
| | | | | this version avoids having to build a separate authenticated connection to push the update-docs.sh script to SF.
* Add entry for ColorPicker documentation as well.Fred Drake2001-04-131-0/+1
|
* Documentation for Just's ColorPicker module, so the Mac OS guys getFred Drake2001-04-132-0/+23
| | | | something out of this documentation release as well. ;-)
* Note additions to pydoc and pstats.Guido van Rossum2001-04-131-0/+5
|
* Added a test main to the pstats library that can help you browse profile dumps.Eric S. Raymond2001-04-132-0/+131
|
* _synthesize(): Helper function: when the users passes a specificFred Drake2001-04-121-7/+50
| | | | | | | | | | | | | | | | value for the 'using' parameter of the get() function or the BROWSER environment variable, if the thing passed in is a path (as seems to be the case with KDE) instead of a short name, examine the available controllers to see if we can synthesize one based on a pre-registered controller that shares the same base name. get(): If the user specifies a browser we don't know about, use _synthesize() to attempt to create a usable controller. Some small adjustments were needed in some of the browser classes to support this.
* Pop loop off the loop stack before handling the loop's else clause.Jeremy Hylton2001-04-122-8/+8
| | | | | | Otherwise, continue/break will attempt to affect the wrong loop. A few more fiddles to get the SET_LINENOs consistent across compilers.
* Use new _implicitNameOp() to generate name op code for list comprehensions.Jeremy Hylton2001-04-122-8/+34
| | | | | | | | | Always emit a SET_LINENO 0 at the beginning of the module. The builtin compiler does this, and it's much easier to compare bytecode generated by the two compilers if they both do. Move the SET_LINENO inside the FOR_LOOP block for list comprehensions. Also for compat. with builtin compiler.
* Because this code was derived from Python 1.6.1 (amongst others), theGuido van Rossum2001-04-122-2/+2
| | | | CNRI copyright should be updated to include 2001.
* Fix linking to classes (in class tree, and add links on unbound methods).Ka-Ping Yee2001-04-121-24/+23
|
* Fix call to ModuleScanner from GUI search interface.Ka-Ping Yee2001-04-121-8/+10
| | | | Fix handling of unbound top-level methods.