summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* -- reset marks if repeat_one tail doesn't matchFredrik Lundh2000-08-074-213/+296
| | | | | | | (this should fix Sjoerd's xmllib problem) -- added skip field to INFO header -- changed compiler to generate charset INFO header -- changed trace messages to support post-mortem analysis
* -- from Trent Mick: [Patch #101010] replace use of INT_PTRFredrik Lundh2000-08-072-7/+3
| | | | with uintptr_t (fix MSVC 5.0 build)
* When returning an error from jcompile() (which is passed through byGuido van Rossum2000-08-071-0/+8
| | | | | PyNode_Compile()), make sure that an exception is actually set -- otherwise someone stomped on our error. [2.0 checkin of this fix.]
* Avoid dumping core when PyErr_NormalizeException() is called withoutGuido van Rossum2000-08-071-0/+6
| | | | an exception set. This shouldn't happen, but we see it at times...
* + if USE_STACKCHECK is defined, use PyOS_CheckStack to lookFredrik Lundh2000-08-071-0/+7
| | | | for excessive recursion.
* Initialized opcode and oparg to silence a gcc -Wall warning.Moshe Zadka2000-08-071-2/+2
|
* Fix so the 'install_libbase' directory -- where .pth files are installed --Greg Ward2000-08-071-1/+1
| | | | | | participates in the "--root" hack, ie. it also has a new root directory hacked on at the very last minute (essential if the .pth file is to be included in an RPM or other smart installer!).
* Fix so we clear or reinitialize various data structures before populatingGreg Ward2000-08-071-0/+5
| | | | | (allows the same FancyGetopt object to be used multiple times with different option tables).
* Neil Schemenauer: GC enable(), disable(), isenabled() interface.Vladimir Marangozov2000-08-063-23/+107
| | | | | | Small stylistic changes by VM: - is_enabled() -> isenabled() - static ... Py_<func> -> static ... gc_<func>
* Project for pyexpat module.Jack Jansen2000-08-062-0/+1
|
* Rewrite of normpath() by Corran Webster, so trailing :s are removedJack Jansen2000-08-061-32/+23
| | | | (except for : and volume:, where they are needed).
* Wrote the "Describing extension modules" section.Greg Ward2000-08-061-4/+193
|
* Cleanup configure.in. Specifically:Thomas Wouters2000-08-053-266/+242
| | | | | | | | | | | | | | - Don't call both AC_CHECK_FUNCS and AC_REPLACE_FUNC for 'hypot', as the latter already does everything the former does (because it's implemented as a call to the former.) - Don't call AC_CHECK_FUNC() without any 'action' clauses or with an action clause that just defines HAVE_<function>. Instead, call AC_CHECK_FUNCS, which defines 'HAVE_<function>' of itself, possibly with aditional 'action' clauses. No checks are removed by this patch, only moved around, and some duplicates are removed.
* Fix some strange indentation and grammar that have been bugging me forThomas Wouters2000-08-051-6/+5
| | | | weeks.
* Changed H specifier to mean "bitfield", i.e. any value fromJack Jansen2000-08-051-5/+27
| | | | | | -32768..65535 is acceptable. Added B specifier (with values from -128..255). No L added (which would have completed the set) because l already accepts any value (and the letter L is taken for quadwords).
* Fixed imports from '*util' modules to not just import everything from util.Greg Ward2000-08-057-16/+18
|
* Drop the 'extend()' function -- old 1.5.1 compatibility hack thatGreg Ward2000-08-051-20/+0
| | | | | wasn't actually used anywhere. Drop the "from xxx_util import*" backwards compability hacks.
* Pragmas that instruct the linker to link against python20.lib (orGreg Ward2000-08-051-2/+4
| | | | | python20_d.lib) only active on MSVC++; different library formats needed for different compilers, and it's handled by the Distutils anyways.
* A bundle of wording improvements, corrections, clarifications, updates,Greg Ward2000-08-051-68/+77
| | | | and so forth.
* Removed unnecessary local variable -- gave warning on gcc -WallMoshe Zadka2000-08-041-2/+0
|
* Removing warnings by gcc -Wall -- cast ugly || to void.Moshe Zadka2000-08-041-1/+1
|
* add note about compiler directoryJeremy Hylton2000-08-041-0/+4
| | | | (is bgen still "still under development"?)
* replace most calls to emit 'SET_LINENO' will call to method set_linenoJeremy Hylton2000-08-042-62/+84
| | | | based on bug report by Neil Schemenauer
* update my email addressJeremy Hylton2000-08-042-2/+8
| | | | fix com_call_function to cope with trailing comma in "f(a, b,)"
* Removing warnings discovered by gcc -WallMoshe Zadka2000-08-042-5/+5
|
* Removing warnings found by gcc -WallMoshe Zadka2000-08-042-4/+9
|
* Oooopsss.....tab and space mismatch corrected.Moshe Zadka2000-08-041-2/+2
|
* Add a test that Py_IsInitialized() in Py_InitModule4(). SeeGuido van Rossum2000-08-041-0/+2
| | | | | | | python-dev discussion. This should catch future version incompatibilities on Windows. Alas, this doesn't help for 1.5 vs. 1.6; but it will help for 1.6 vs. 2.0.
* Raise 'TestSkipped' (from the test_support) module rather than 'ImportError'Thomas Wouters2000-08-0410-19/+20
| | | | | to signify a test that should be marked as 'skipped' rather than 'failed'. Also 'document' it, in README.
* Raise TestSkipped, not ImportError.Moshe Zadka2000-08-041-2/+2
| | | | Honesty's the best policy.
* Make test_support.TestSkipped errors work the same way as ImportErrors:Thomas Wouters2000-08-041-1/+1
| | | | mark the test as 'skipped', rather than 'failed'.
* In case the user isn't allowed to access /dev/dsp or /dev/dsp isn't thereMoshe Zadka2000-08-041-0/+3
| | | | | | | | | at all (my computer doesn't have a Sound Blaster), this doesn't mean there's a bug in linuxaudiodev. The only error the test suite skips is currently ImportError -- so that's what we raise. If you see a problem with this patch, say so and I'll retract. If you think raising an ImportError sucks, you're right -- but I ain't gonna buy a SB and I sure ain't gonna let the test-suite fail on my machine.
* Mention Include/my*.h cleanupAndrew M. Kuchling2000-08-041-1/+4
|
* Added zip() builtinAndrew M. Kuchling2000-08-041-0/+8
|
* Add missing 'try:'. Patch by Rob W. W. Hooft, #101071 (closed.)Thomas Wouters2000-08-041-0/+1
|
* Documented curses.wrapper and curses.textpad.Eric S. Raymond2000-08-041-2/+131
|
* Corrected a bug in handling of ^N and ^P with stripspaces on.Eric S. Raymond2000-08-041-8/+12
|
* Remove the outer test for __name__; not necessary.Fred Drake2000-08-041-8/+7
|
* Boost buffer sizes in the absence of snprintf on Windows.Tim Peters2000-08-041-14/+19
| | | | Ensure that # of args to sprintf always matches # of format specifiers.
* snprintf() is not portable, so continue to use sprintf() until a portableFred Drake2000-08-041-8/+6
| | | | snprintf() is available.
* Added 'debug_print()'.Greg Ward2000-08-041-0/+5
|
* Rewrote 'find_library_file()' much more cleanly (and consistently withGreg Ward2000-08-041-18/+16
| | | | | MSVCCompiler's version, to aid in factoring common code out of the two classes when the time comes).
* Added 'debug' flag to 'find_library_file()', and changed code to handle it.Greg Ward2000-08-041-6/+11
|
* Added 'debug' flag to 'find_library_file()'.Greg Ward2000-08-042-4/+6
|
* test the non-multipart sections of the cgi moduleJeremy Hylton2000-08-032-0/+196
|
* Break the "Python Services" chapter into two: "Python Runtime Services"Fred Drake2000-08-034-17/+30
| | | | | | (still at the start of the manual), and "Python Language Services" (late in the manual). Moved "Restricted Execution" to just before "Python Language Services."
* Remove very long doc string (it's all in the docs)Jeremy Hylton2000-08-031-399/+3
| | | | | Modify parse_qsl to interpret 'a=b=c' as key 'a' and value 'b=c' (which matches Perl's CGI.pm)
* Added descriptions of the new parser markers for PyArg_ParseTuple().Marc-André Lemburg2000-08-031-16/+77
|
* Python code coverage tool by Skip Montanaro and Andrew DalkeJeremy Hylton2000-08-031-0/+661
|
* This patch finalizes the move from UTF-8 to a default encoding inMarc-André Lemburg2000-08-034-65/+109
| | | | | | | | | | | | | | | | | | the Python Unicode implementation. The internal buffer used for implementing the buffer protocol is renamed to defenc to make this change visible. It now holds the default encoded version of the Unicode object and is calculated on demand (NULL otherwise). Since the default encoding defaults to ASCII, this will mean that Unicode objects which hold non-ASCII characters will no longer work on C APIs using the "s" or "t" parser markers. C APIs must now explicitly provide Unicode support via the "u", "U" or "es"/"es#" parser markers in order to work with non-ASCII Unicode strings. (Note: this patch will also have to be applied to the 1.6 branch of the CVS tree.)