summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* give rational filenames to some of the generated HTMLFred Drake2004-04-081-2/+4
|
* switch to PNG navigation icons by defaultFred Drake2004-04-081-2/+2
|
* include both the GIF and PNG icons in the HTML packageFred Drake2004-04-081-1/+1
|
* avoid stripping space after indexing macrosFred Drake2004-04-081-3/+4
|
* note --trackcalls flag in trace moduleSkip Montanaro2004-04-071-0/+3
|
* Added --trackcalls command line arg to display crude caller/calleeSkip Montanaro2004-04-071-18/+88
| | | | | relationships at program exit. Output is a bit prettier than that for --listfuncs but won't parse as easily using downstream postprocessing tools.
* Use continue instead of break whereever possible.Raymond Hettinger2004-04-071-2/+8
|
* * Improve readability and remove data dependencies by convertingRaymond Hettinger2004-04-071-14/+18
| | | | | | | | pre-increment forms to post-increment forms. Post-incrementing also eliminates the need for negative array indices for oparg fetches. * In exception handling code, check for class based exceptions before the older string based exceptions.
* Small code improvements for readability, code size, and/or speed.Raymond Hettinger2004-04-071-58/+54
| | | | | | | | | | | | | | | | | | | | | | | BINARY_SUBSCR: * invert test for normal case fall through * eliminate err handling code by jumping to slow_case LOAD_LOCALS: * invert test for normal case fall through * continue instead of break for the non-error case STORE_NAME and DELETE_NAME: * invert test for normal case fall through LOAD_NAME: * continue instead of break for the non-error case DELETE_FAST: * invert test for normal case fall through LOAD_DEREF: * invert test for normal case fall through * continue instead of break for the non-error case
* Fix comment typoAndrew M. Kuchling2004-04-061-1/+1
|
* Remove specific Python version from #!Andrew M. Kuchling2004-04-061-1/+1
|
* Simplify previous checkin (bitfields for WHY codes).Raymond Hettinger2004-04-061-12/+14
| | | | Restores the self-documenting enum declaration.
* Coded WHY flags as bitfields (taking inspiration from tp_flags).Raymond Hettinger2004-04-061-20/+16
| | | | | This allows multiple flags to be tested in a single compare which eliminates unnecessary compares and saves a few bytes.
* 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.)