summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SF Patch #926375: Remove a useless UTF-16 support code that is neverHye-Shik Chang2004-04-061-18/+3
| | | | been used. (Suggested by Martin v. Loewis)
* Since the fast_yield branch target was introduced, it appears that mostTim Peters2004-04-051-41/+41
| | | | | | | tests of "why" against WHY_YIELD became useless. This patch removes them, but assert()s that why != WHY_YIELD everywhere such a test was removed. The test suite ran fine under a debug build (i.e., the asserts never triggered).
* Improve previous checkin to use a slot check instead of equivalentRaymond Hettinger2004-04-051-1/+2
| | | | attribute name lookup.
* Improve accuracy of sequence and mapping checks.Raymond Hettinger2004-04-042-2/+11
|
* OS/2's TCP/IP stack supports AF_UNIX sockets, with the limitation thatAndrew MacIntyre2004-04-041-4/+4
| | | | | the socket name must start with /socket32/. Unlike Unix systems, this file never exists in the file system.
* OS/2 has support for spawnvp() and spawnvpe() in the C libraries suppliedAndrew MacIntyre2004-04-042-2/+234
| | | | | | | with major C compilers (VACPP, EMX+gcc and [Open]Watcom). Also tidy up the export of spawn*() symbols in the os module to match what is found/implemented.
* If a file is opened with an explicit buffer size >= 1, repeatedAndrew MacIntyre2004-04-043-0/+23
| | | | | | | | close() calls would attempt to free() the buffer already free()ed on the first close(). [bug introduced with patch #788249] Making sure that the buffer is free()ed in file object deallocation is a belt-n-braces bit of insurance against a memory leak.
* #928751, fix typos in socket docNeal Norwitz2004-04-031-3/+3
|
* It would help if I deleted the old pystack!Skip Montanaro2004-04-021-23/+11
| | | | Also, move pystack comment down next to it
* include local variables when dumping Python stack traceSkip Montanaro2004-04-021-9/+36
|
* Fix support for the "prog" keyword to the OptionParser constructor, as wellFred Drake2004-04-012-3/+24
| | | | | | as directly setting the .prog attribute (which should be supported based on the class docstring). Closes SF bug #850964.
* fix typo that wasn't properly fixed in revision 1.144Fred Drake2004-04-011-1/+1
|
* Bump the magic number to avoid sharing bytecode between 2.3 and 2.4.Jeremy Hylton2004-04-011-32/+14
| | | | | Revise the long comment that explained details of the magic number in gory detail.
* [Bugfix candidate] Escape traceback type and value. There are probably ↵Andrew M. Kuchling2004-03-311-1/+2
| | | | additional cases where cgitb.py doesn't escape as paranoidly as it should (e.g. attribute names)
* Patch #924497: find(1) all files with /usr/local/bin/python in them.Martin v. Löwis2004-03-311-5/+7
| | | | Backported to 2.3.
* When /tmp has certain sticky bits set, newly created subdirectoriesGuido van Rossum2004-03-311-0/+1
| | | | | inherit those bits, causing the test_mkdtemp.test_mode() test to fail. Remove those before comparing the actual mode to the expected mode.
* add a heavy box around warning notices to make them really stand out in theFred Drake2004-03-313-1/+31
| | | | PDF and PostScript versions of the docs (the CSS already does this for HTML)
* add missing and forthcoming releasesFred Drake2004-03-311-0/+2
|
* Emphasize the requirement that Python.h be included first more strongly.Fred Drake2004-03-312-6/+12
| | | | Closes SF bug #837228; backporting for Python 2.3.4.
* added scripts to the list of files automatically included in theFred Drake2004-03-311-0/+1
| | | | distribution (see SF bug #796042)
* OS/2 VACPP build updates/fixesAndrew MacIntyre2004-03-295-5/+6
|
* Added a comment about the unreferenced PyThreadState.tick_counterTim Peters2004-03-291-11/+18
| | | | member.
* fix typoAndrew M. Kuchling2004-03-291-1/+1
|
* Insert missing pronounRaymond Hettinger2004-03-281-2/+2
|
* SF bug 924242: socket._fileobject._getclosed() returns wrong valueTim Peters2004-03-282-1/+9
| | | | | | The .closed property always returned the wrong result. Bugfix candidate!
* add usage() function, -h(elp) flag and long versions of short flagsSkip Montanaro2004-03-271-8/+18
|
* - 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.