summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* replace most calls to emit 'SET_LINENO' will call to method set_linenoJeremy Hylton2000-08-041-31/+42
| | | | based on bug report by Neil Schemenauer
* update my email addressJeremy Hylton2000-08-041-1/+4
| | | | fix com_call_function to cope with trailing comma in "f(a, b,)"
* Oooopsss.....tab and space mismatch corrected.Moshe Zadka2000-08-041-2/+2
|
* 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.
* Add missing 'try:'. Patch by Rob W. W. Hooft, #101071 (closed.)Thomas Wouters2000-08-041-0/+1
|
* 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
|
* 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
|
* 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)
* add a bit more legal junkGreg Stein2000-08-031-8/+16
| | | | (too lazy to paste in the whole BSD license tho; included by ref)
* Checking in empty tests for urlparse, as future place holdersMoshe Zadka2000-08-032-0/+1
|
* -- added recursion limit (currently ~10,000 levels)Fredrik Lundh2000-08-032-0/+11
| | | | | | | -- improved error messages -- factored out SRE_COUNT; the same code is used by SRE_OP_REPEAT_ONE_TEMPLATE -- minor cleanups
* Added a -l/--leakdebug option which turns on DEBUG_LEAK if the gcBarry Warsaw2000-08-031-12/+23
| | | | module is importable.
* Added output for testsuite for new zip() builtin.Barry Warsaw2000-08-031-0/+1
|
* Added testsuite for new zip() builtin.Barry Warsaw2000-08-031-0/+36
|
* Comment out repeated-group test for the momentAndrew M. Kuchling2000-08-031-1/+1
|
* Add nasty test case that overflows the stack with a repeated groupAndrew M. Kuchling2000-08-031-0/+4
|
* Typo fix.Greg Ward2000-08-021-1/+1
|
* Added 'wininst' to the 'format_commands' list, so it's included inGreg Ward2000-08-021-3/+6
| | | | | the --help-formats output. Also moved that list up so it's more obvious when adding formats.
* Added 'execute()' method, a thin wrapper around 'util.execute() (just likeGreg Ward2000-08-021-1/+4
| | | | the one in cmd.py).
* Replaced 'execute()' method with a thin wrapper around 'util.execute()'.Greg Ward2000-08-021-25/+1
|
* Added the 'execute()' function (moved here from cmd.py with minor tweakage).Greg Ward2000-08-021-0/+26
|
* Rene Liebscher: fix 'skipping byte-compilation' message for grammaticalGreg Ward2000-08-021-1/+1
| | | | consistency.
* Latest version from Rene Liebscher; major changes:Greg Ward2000-08-021-107/+230
| | | | | | | | | | | - added big comment describing possible problems - look for and react to versions of gcc, ld, and dlltool; mainly this is done by the 'get_versions()' function and the CygwinCCompiler and Mingw32CCompiler constructors - move 'check_config_h()' to end of file and defer calling it until we need to (ie. in the CygwinCCompiler constructor) - lots of changes in 'link_shared_object()' -- mostly seems to be library and DLL stuff, but I don't follow it entirely
* Rene Liebscher: deleted unneeded hard-coded assignments of CC, RANLIB, etc.Greg Ward2000-08-021-17/+1
| | | | in '_init_nt()' (they were kludges for CygwinCCompiler and no longer needed).
* Rene Liebscher: factor 'find_executable()' out of '_spawn_nt()'.Greg Ward2000-08-021-13/+30
|
* Patch from Rene Liebscher. Some ugly changes, but supposedly this makesGreg Ward2000-08-021-29/+70
| | | | | | | | | | | | | it so BCPPCompiler actually works, so I'm provisionally accepting it -- ugly and working is better than not working! Major changes: - normalize paths (apparently BC++ doesn't like slashes) - overhauled how we search for and specify libraries on the linker command-line - hacked up 'find_library_file()' so it knows about "debug" library naming convention as well as "bcpp_xxx.lib" -- the question is, is this a well-established and sensible convention? Also: - change to use 'util.write_file()' to write the .def file
* Ditched 'abspath()' -- don't need 1.5.1 compatability hacks anymore.Greg Ward2000-08-021-10/+0
|
* Removed 'export_symbol_file'.Greg Ward2000-08-021-8/+1
| | | | | 'export_symbols' can be None (not sure this is a good idea: it's inconsistent with every other instance attribute of Extension).
* Ditched some debugging prints.Greg Ward2000-08-021-3/+0
|
* Patch from Rene Liebscher: generate an /IMPLIB: option to ensure thatGreg Ward2000-08-021-1/+13
| | | | | the linker leaves the (temporary) .lib file in the temporary dir. (Moved from 'msvc_prelink_hack()' method in build_ext.py.)
* Patch from Rene Liebscher, tweaked by me:Greg Ward2000-08-011-44/+41
| | | | | | | | | | | - 'export_symbol_file' (and corresponding 'def_file' in the old "build info" dict) are gone; warn if we see 'def_file' in the dict - the MSVC "pre-link hack" is gone -- all that stuff is now handled elsewhere (eg. by using 'export_symbols', etc.) - add 'get_export_symbols()' and 'get_libraries()' methods -- needed because on Windows, both of those things are a tad more complicated than fetching them from the Extension instance
* final 0.9.8 updates:Fredrik Lundh2000-08-014-28/+33
| | | | | -- added REPEAT_ONE operator -- added ANY_ALL operator (used to represent "(?s).")
* My fix to the URL accidentally also switched back to the "pre" module.Guido van Rossum2000-08-011-2/+2
| | | | Undo that!
* -- fixed width calculations for alternationsFredrik Lundh2000-08-012-7/+8
| | | | | | | -- fixed literal check in branch operator (this broke test_tokenize, as reported by Mark Favas) -- added REPEAT_ONE operator (still not enabled, though) -- added some debugging stuff (maxlevel)
* Replace the jitterbug page with the SF Bug Tracker page.Guido van Rossum2000-08-011-3/+3
|
* SRE 0.9.8: passes the entire test suiteFredrik Lundh2000-08-014-55/+46
| | | | | | | | | -- reverted REPEAT operator to use "repeat context" strategy (from 0.8.X), but done right this time. -- got rid of backtracking stack; use nested SRE_MATCH calls instead (should probably put it back again in 0.9.9 ;-) -- properly reset state in scanner mode -- don't use aggressive inlining by default
* add support for HTTPSJeremy Hylton2000-08-011-16/+27
| | | | | | | Modify HTTP to use delegation instead of inheritance. The _connection_class attribute of the class defines what class to delegate to. The HTTPS class is a subclass of HTTP that redefines _connection_class.
* -- SRE 0.9.8: now that the bug is fixed, I might as well enableFredrik Lundh2000-08-011-4/+2
| | | | the test again...
* -- SRE 0.9.8: updated test scriptsFredrik Lundh2000-08-013-21/+6
|
* Added Python function to emulate the ncurses has_key() function.Andrew M. Kuchling2000-08-012-0/+197
|
* Add magic to replace the xml package with _xmlplus at import time.Fred Drake2000-08-011-1/+11
| | | | Update docstring to reflect change of name for the parsers subpackage.