summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - add entry for complex numberSkip Montanaro2004-03-271-22/+42
| | | | | | - fix a couple typos - refine definitions for "interpreted" and "coercion" based upon updates on the python glossary wiki
* Revert 1.51 booleans so that sre will still run on old pythons.Raymond Hettinger2004-03-271-6/+6
|
* Simple Optimizations:Raymond Hettinger2004-03-261-73/+92
| | | | | * Factor constant expressions out of loops. * Presize a list being grown to a known length.
* Remove unnecessary test. (Thanks Skip)Raymond Hettinger2004-03-261-6/+0
|
* remove out-of-date warningFred Drake2004-03-261-5/+0
|
* Fix test failure for test_tcl on OS/X and Windows if aDavid Ascher2004-03-261-7/+1
| | | | | | | | | | | version of Tcl other than ActiveTcl is installed (ActiveTcl included TclX, other Tcl distros didn't). I'm removing the package loading test because it's hard to come up with a package that is guaranteed to be in any Tcl installation. Special-casing darwin and windows is ok since that leaves the only Tk platform (X) which the test was trying to address.
* Marshal clean-up (SF patch #873224)Armin Rigo2004-03-263-70/+66
|
* Simple optimizations:Raymond Hettinger2004-03-261-47/+69
| | | | | | | | | * pre-build a single identity function for the fixup function * pre-build membership tests in dictionaries instead of in-line tuples * assign len() to a local variable * assign append() methods to a local variable * use xrange() instead of range() * replace "x<<1" with "x+x"
* Update timeit example to reflect current performance.Raymond Hettinger2004-03-261-3/+3
|
* make sure the default manifest generation includes files identified asFred Drake2004-03-252-0/+6
| | | | | scripts closes SF bug 796042
* Added more Windows version names (thanks to Thomas Heller).Marc-André Lemburg2004-03-251-29/+23
| | | | | | Fixed bug in platform() cache (thanks to Brett Cannon). (Restored Python 1.5.2 compatibility.)
* Fix last patch to be backwards-compatible with Python 1.5.2 .Brett Cannon2004-03-251-12/+25
| | | | Bumped version micro number.
* Fixed a caching bug in platform.platform() where the argument of 'terse' wasBrett Cannon2004-03-252-9/+12
| | | | not taken into consideration when caching value.
* Note that reading from a socket may not always return all of theFred Drake2004-03-251-0/+4
| | | | | remaining content of a stream when expected to do so. Closes SF bug #725265. Should be backported to Python 2.3.x.
* - make sure the methods minidom adds to the basic DOM are attributedFred Drake2004-03-251-15/+10
| | | | | | | to Node objects in the index (closes SF bug #832251) - fix a variety of markup nits Someone should backport this patch to Python 2.3.x.
* Get rid of gcc warning.Hye-Shik Chang2004-03-251-1/+2
|
* include the right index sourcesFred Drake2004-03-251-2/+2
|
* remove duplicate use of the meta-data labelFred Drake2004-03-251-1/+0
|
* Correct code to advance ptr to be well-formed C.Martin v. Löwis2004-03-251-1/+1
|
* fix typoFred Drake2004-03-251-1/+1
|
* note that distutils API docs are included in "Distributing PythonFred Drake2004-03-251-1/+2
| | | | Modules"
* improve the very-high-level API docs (contributed by Jeff Epler)Fred Drake2004-03-251-34/+180
| | | | Closes SF patch #798638.
* Defer compilation of regular expressions until first use.Martin v. Löwis2004-03-251-3/+7
|
* Remove note that PyErr_SetInterrupt() is obsolete; add comment about theFred Drake2004-03-251-1/+3
| | | | | fact that it was marked obsolete but is still needed. Closes SF bug #919299. Someone else should backport this to Python 2.3.
* Use True/False instead of 0/1 for character classes.Martin v. Löwis2004-03-251-6/+6
|
* SF bug: #921927: Fixed a typo/thinko spelling "parameter" as "paramter"Raymond Hettinger2004-03-252-3/+3
|
* Ensure super() lookup of descriptor from classmethod works (SF #743627)Phillip J. Eby2004-03-252-1/+22
|
* A few more PyThreadState_Get to PyThreadState_GET conversionsNicholas Bastin2004-03-253-3/+3
|
* fix name in setacl method doc stringPiers Lauder2004-03-251-1/+1
|
* Changed random calls to PyThreadState_Get() to use the macroNicholas Bastin2004-03-248-26/+26
|
* Enable the profiling of C functions (builtins and extensions)Nicholas Bastin2004-03-2410-15/+145
|
* Add test case for unicode(somestring, "idna").Martin v. Löwis2004-03-241-1/+6
|
* Replace sequential split/join calls on strings with a single replace call.Brett Cannon2004-03-232-11/+5
| | | | Thanks Andrew Gaul.
* Convert input to a string object. Fixes #909230.Martin v. Löwis2004-03-231-0/+1
| | | | Backported 2.3.
* ...for work done at PyCon 2004 (and beyond...)Nicholas Bastin2004-03-231-0/+1
|
* Make socket.sslerror a subclass of socket.error .Brett Cannon2004-03-234-1/+9
| | | | Added socket.error to the socket module's C API.
* more markup nitsFred Drake2004-03-231-12/+13
|
* Replace code in urllib for basejoin (undocumented) with urlparse.urljoin .Brett Cannon2004-03-231-59/+2
| | | | | | | Test suites for urllib and urlparse run with each other's function to verify correctness of replacement and both test suites pass. Bumped urllib's __version__ attribute up a minor number.
* fix markup nitsFred Drake2004-03-231-4/+4
|
* add the distutils modules to the global modules listFred Drake2004-03-231-1/+3
|
* Add runctx to __all__.Guido van Rossum2004-03-231-1/+1
|
* give the document indexesFred Drake2004-03-231-0/+16
|
* - use recommended Python style in examples (no spaces around "=" forFred Drake2004-03-231-59/+83
| | | | | | | | keyword args) - format multi-line calls to distutils.core.setup() consistently, and in line with general practice (one keyword arg per line, comma/newline after the last - fix a few typos
* Added command line options for profile.py - one for stats output fileNicholas Bastin2004-03-233-13/+39
| | | | and one for sort order when using stdout. Uses optparse.
* merge Anthony Baxter's distutils API reference into the packageFred Drake2004-03-231-1/+1541
| | | | author's documentation
* Intern __name__.Martin v. Löwis2004-03-231-1/+9
|
* Decref all if ensure_fromlist fails. Fixes #876533.Martin v. Löwis2004-03-231-2/+3
| | | | Backported to 2.3.
* Basic dependency checking. setup() has two new optional argumentsAnthony Baxter2004-03-225-3/+144
| | | | | | | | | | | | | | | | | | | | | | | requires and provides. requires is a sequence of strings, of the form 'packagename-version'. The dependency checking so far merely does an '__import__(packagename)' and checks for packagename.__version__ You can also leave off the version, and any version of the package will be installed. There's a special case for the package 'python' - sys.version_info is used, so requires= ( 'python-2.3', ) just works. Provides is of the same format as requires - but if it's not supplied, a provides is generated by adding the version to each entry in packages, or modules if packages isn't there. Provides is currently only used in the PKG-INFO file. Shortly, PyPI will grow the ability to accept these lines, and register will be updated to send them. There's a new command 'checkdep' command that runs these checks. For this version, only greater-than-or-equal checking is done. We'll add the ability to specify an optional operator later.
* Patch #911176: Move test function into __main__Martin v. Löwis2004-03-221-12/+12
|
* convert from a howto to a manualFred Drake2004-03-221-29/+29
|