summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - fixed splitFredrik Lundh2000-06-294-130/+116
| | | | | | | | | | | | | | (test_sre still complains about split, but that's caused by the group reset bug, not split itself) - added more mark slots (should be dynamically allocated, but 100 is better than 32. and checking for the upper limit is better than overwriting the memory ;-) - internal: renamed the cursor helper class - internal: removed some bloat from sre_compile
* Paul Prescod <paul@prescod.net>:Fred Drake2000-06-291-0/+318
| | | | OO wrapper for _winreg; blessed by Mark Hammond.
* Finish converting the winreg extension to _winreg.Fred Drake2000-06-292-1477/+3
|
* Nils Fischbeck: added doc strings to everything. Martin von LoewisGuido van Rossum2000-06-291-9/+1087
| | | | has reviewed this, too.
* Change string exceptions to class exceptions.Guido van Rossum2000-06-291-2/+3
|
* Update the module name to _winreg, pending checkin of Paul Prescod'sFred Drake2000-06-291-3/+3
| | | | OO wrapper for this module.
* Thread support is turned on my default now. To disable buildingBarry Warsaw2000-06-293-543/+543
| | | | | | | | | | | threads use --without-threads. No extra tests of thread/compiler combinations have been added. --with(out)-thread and --with(out)-threads are completely interchangeable. --with-threads still supports the =DIRECTORY option for specifying where to find thread libraries.
* Updated the comment in this file to reflect the new defaults. ThreadsBarry Warsaw2000-06-291-3/+4
| | | | | are enabled by default now unless --without-threads is given to configure.
* Change the loop index in normalizestring() to size_t too, to avoid aGuido van Rossum2000-06-291-1/+1
| | | | warning on Windows.
* pyexpat notes: add the name of the archive to the ar commandJeremy Hylton2000-06-291-1/+1
|
* Whoops! We just discovered that Gordon's revamp of this module wasGuido van Rossum2000-06-291-49/+310
| | | | | | | | accidentally wiped out by Ping's patch (which shouldn't have affected this file at all, had Ping done a cvs update). This checkin restores Gordon's version, with Fredrik's change merged back in.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-291-0/+4
| | | | New test output
* - renamed "tolower" hook (it happened to work withFredrik Lundh2000-06-292-20/+20
| | | | my compiler, but not on guido's box...)
* Typo fix.Greg Ward2000-06-291-1/+1
|
* - make sure group names are valid identifiersFredrik Lundh2000-06-291-5/+25
| | | | (closes the "SRE: symbolic reference" bug)
* - last patch broke parse_template; fixed by changing someFredrik Lundh2000-06-292-97/+151
| | | | | | | | | | | tests in sre_patch back to previous version - fixed return value from findall - renamed a bunch of functions inside _sre (way too many leading underscores...) </F>
* demonstration importersGreg Stein2000-06-291-0/+248
|
* - removed "alpha only" licensing restrictionFredrik Lundh2000-06-294-62/+14
| | | | | - removed some hacks that worked around 1.6 alpha bugs - removed bogus test code from sre_parse
* towards 1.6b1Fredrik Lundh2000-06-295-338/+570
|
* towards 1.6b1Fredrik Lundh2000-06-292-22/+44
|
* Improve explanation of how to build the pyexpat module.Fred Drake2000-06-291-3/+9
|
* Convert to use class-based exceptions.Fred Drake2000-06-291-2/+3
| | | | Correct exception information in one docstring.
* Make it clear that id() can return either a long integer or a plain integer.Fred Drake2000-06-291-5/+5
|
* Add update of httplib docs to reflect Greg Stein's recent updates.Fred Drake2000-06-291-0/+3
| | | | Greg, this is yours!
* Fixed so 'get_source_files()' calls 'check_extension_list()' -- that way,Greg Ward2000-06-291-1/+1
| | | | | we can run "sdist" on a distribution with old-style extension structures even if we haven't built it yet. Bug spotted by Harry Gebel.
* Fixed 'findall()' so it only returns regular files -- no directories.Greg Ward2000-06-291-18/+54
| | | | | | | | | | | | | Changed 'prune_file_list()' so it also prunes out RCS and CVS directories. Added 'is_regex' parameter to 'select_pattern()', 'exclude_pattern()', and 'translate_pattern()', so that you don't have to be constrained by the simple shell-glob-like pattern language, and can escape into full-blown regexes when needed. Currently this is only available in code -- it's not exposed in the manifest template mini-language. Added 'prune' option (controlled by --prune and --no-prune) to determine whether we call 'prune_file_list()' or not -- it's true by default. Fixed 'negative_opt' -- it was misnamed and not being seen by dist.py. Added --no-defaults to the option table, so it's seen by FancyGetopt.
* Jack Jansen: Use include "" instead of <>; and staticforward declarationsGuido van Rossum2000-06-293-5/+5
|
* Some new names (some contributors of patches that haven't even beenGuido van Rossum2000-06-291-0/+3
| | | | accepted yet!)
* Vladimir Marangozov:Guido van Rossum2000-06-281-8/+8
| | | | | | | | | | | | This patch fixes a problem on AIX with the signed int case code in getargs.c, after Trent Mick's intervention about MIN/MAX overflow checks. The AIX compiler/optimizer generates bogus code with the default flags "-g -O" causing test_builtin to fail: int("10", 16) <> 16L. Swapping the two checks in the signed int code makes the problem go away. Also, make the error messages fit in 80 char lines in the source.
* Vladimir Marangozov:Guido van Rossum2000-06-281-3/+3
| | | | | | Avoid calling the dealloc function, previously triggered with DECREF(inst). This caused a segfault in PyDict_GetItem, called with a NULL dict, whenever inst->in_dict fails under low-memory conditions.
* Urmpf. Quality control on this patch lapsed a bit. :-(Guido van Rossum2000-06-281-2/+6
| | | | | | | | | | | The depth field was never decremented inside w_object(), and it was never initialized in PyMarshal_WriteObjectToFile(). This caused imports from .pyc files to fil mysteriously when the .pyc file was written by the broken code -- w_object() would bail out early, but PyMarshal_WriteObjectToFile() doesn't check the error or return an error code, and apparently the marshalling code doesn't call PyErr_Check() either. (That's a separate patch if I feel like it.)
* Running the program through itself reveals that one end tag wasGuido van Rossum2000-06-281-1/+1
| | | | | | | | | | mislabeled. (Using -c and then -e rearranges some comments, so I won't check that in -- but it's a good test anyway. Note that pindent is not perfect -- e.g. it doesn't know about triple-quoted strings!)
* Peter Schneider-Kamp:Guido van Rossum2000-06-281-10/+75
| | | | | | | | | | | | | Problem: A Python program can be completed and reformatted using Tools/scripts/pindent.py. Unfortunately there is no option for removal of the generated "# end"-tags. Although a few Python commands or a "grep -v '# end '" can do wonders here, there are two drawbacks: - not everyone has grep/time to write a Python script - it is not checked whether the "# end"-tags were used validly Solution: add extra option "-e" (eliminate) to pindent.py
* Trent Mick:Guido van Rossum2000-06-281-2/+2
| | | | | | | | | Fix warnings on 64-bit build build of signalmodule.c - Though I know that SIG_DFL and SIG_IGN are just small constants, there are cast to function pointers so the appropriate Python call is PyLong_FromVoidPtr so that the pointer value cannot overflow on Win64 where sizeof(long) < sizeof(void*).
* Trent Mick:Guido van Rossum2000-06-281-8/+7
| | | | | | | | | | | | This patch fixes cPickle.c for 64-bit platforms. - The false assumption sizeof(long) == size(void*) exists where PyInt_FromLong is used to represent a pointer. The safe Python call for this is PyLong_FromVoidPtr. (On platforms where the above assumption *is* true a PyInt is returned as before so there is no effective change.) - use size_t instead of int for some variables
* Trent Mick: familiar simple Win64 patchesGuido van Rossum2000-06-282-9/+8
|
* Give Moshe some work to do.Fred Drake2000-06-281-0/+2
|
* Add a "See also:" link to the curses.ascii module.Fred Drake2000-06-281-0/+3
|
* Made the title of the Examples subsection plural!Fred Drake2000-06-281-2/+2
|
* Added note that the atexit module was added for Python 1.6.Fred Drake2000-06-281-0/+2
|
* Trent Mick's Win64 changes: size_t vs. int or long; also some overflowGuido van Rossum2000-06-289-21/+40
| | | | tests.
* Added entry for the curses.ascii module.Fred Drake2000-06-281-0/+1
|
* Added entries for the curses.ascii module.Fred Drake2000-06-282-50/+93
|
* Trent Mick: familiar simple Win64 patchesGuido van Rossum2000-06-284-11/+14
|
* added ucnhash (optional on USE_UCNHASH) and the mysteriously disappeared math.Jack Jansen2000-06-281-1/+7
|
* ucnhash and various other modules added.Jack Jansen2000-06-282-0/+0
|
* Added USE_UCNHASH (experimental, I hope it can go), USE_TOOLBOX and USE_QT.Jack Jansen2000-06-281-3/+4
|
* Trent Mick: change a few casts for Win64 compatibility.Guido van Rossum2000-06-282-2/+2
|
* Added USE_UCNHASH (experimental, I hope it can go)Jack Jansen2000-06-281-0/+1
|
* Skip Montanaro <skip@mojam.com>:Fred Drake2000-06-281-1/+18
| | | | Added an example of using an HTTP POST request.