summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* The wininst-6.exe template binary for bdist_wininst is now linkedThomas Heller2004-04-161-2/+2
| | | | with zlib-1.2.1.
* The wininst-7.1.exe template binary for bdist_wininst is now linkedThomas Heller2004-04-161-5/+5
| | | | | | with zlib-1.2.1. UPX needs the --force flag to be able to compress it.
* really scream out that people should use the file objects instead ofFred Drake2004-04-161-7/+19
| | | | file descriptor operations for normal applications
* Open file in universal newline mode when passing to compile(). SolutionSkip Montanaro2004-04-161-1/+1
| | | | from Felix Wiemann. Closes patch #934971.
* bring description of optional and keyword args for DictReader and DictWriterSkip Montanaro2004-04-161-6/+8
| | | | | classes into line with the actual code. I didn't see any obvious examples of latex formatting for *args and **kwds so I just guessed.
* delete timing output - it appears after the </html> line.Skip Montanaro2004-04-161-3/+0
|
* Minor reformatting.Thomas Heller2004-04-151-4/+5
|
* remove bogus markup that caused the docs to be wrongFred Drake2004-04-151-1/+1
|
* Bug #934635: Fix a bug where the configure script couldn't detectHye-Shik Chang2004-04-143-1/+6
| | | | | getaddrinfo() properly if the KAME stack had SCTP support. (Submitted by SUZUKI Shinsuke)
* Change two instance of format strings for PyString_FromFormat() to use %ldBrett Cannon2004-04-131-2/+2
| | | | instead of %d .
* * Add unittests for iterators that report their lengthRaymond Hettinger2004-04-125-10/+276
| | | | | | * Document the differences between them * Fix corner cases covered by the unittests * Use Py_RETURN_NONE where possible for dictionaries
* Use Py_RETURN_NONE macro where applicable.Raymond Hettinger2004-04-121-14/+8
|
* Small refactoring saving one function() and eliminating some indirection.Raymond Hettinger2004-04-121-11/+10
| | | | | * Applied app1() to listappend(). * Inlined ins() into its one remaining caller.
* * Specialize ins1() into app1() for appends. Saves several unnecessaryRaymond Hettinger2004-04-121-6/+36
| | | | | | steps and further improves the speed of list append. * Add guards to the list iterator length method to handle corner cases.
* Record test_bsddb3 test results on WinXP.Tim Peters2004-04-111-0/+10
|
* Update the OpenSSL version example from c to d (the current stable one),Tim Peters2004-04-111-2/+7
|
* The native bz2 tests worked fine for me under WinXP Pro + VC7.1, soTim Peters2004-04-112-3/+2
| | | | | | removed the comment saying they don't work, and changed the build step to run them. If they're failing for someone else, please give details about what failed.
* Record Tcl and Tk test results for WinXP Pro.Tim Peters2004-04-111-14/+24
|
* Some (but not all) of the why code bitfield tests ran faster asRaymond Hettinger2004-04-111-3/+4
| | | | separate equality tests. Now, all are set to their best timing.
* add AF_UNIX notesAndrew MacIntyre2004-04-111-1/+9
|
* Fixes for AF_UNIX support on OS/2:Andrew MacIntyre2004-04-112-4/+23
| | | | | | | | | - return the full size of the sockaddr_un structure, without which bind() fails with EINVAL; - set test_socketserver to use a socket name that meets the form required by the underlying implementation; - don't bother exercising the forking AF_UNIX tests on EMX - its fork() can't handle the stress.
* M EditorWindow.pyKurt B. Kaiser2004-04-114-69/+56
| | | | | | | | | M IOBinding.py M NEWS.txt M configDialog.py - If nulls somehow got into the strings in recent-files.lst EditorWindow.update_recent_files_list() was failing. Python Bug 931336.
* Revert 2.393, elimination of pre-decrementing, whichRaymond Hettinger2004-04-101-17/+13
| | | | did not stand-up to additional timings.
* atof: correct parameter nameSkip Montanaro2004-04-101-3/+3
|
* Refactor common code out of globaltrace_trackcallers() andSkip Montanaro2004-04-101-28/+56
| | | | | | | | globaltrace_countfuncs() into file_module_function_of(). In that function use Michael Hudson's suggestion of gc.get_referrers() to back up from the code object to a function, then to a class's dict and finally to a class object if one exists.
* fix up some markupFred Drake2004-04-091-18/+18
|
* Provide more information representations of repeat() and count().Raymond Hettinger2004-04-081-2/+27
|
* 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
|