summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* The usual :)Guido van Rossum2000-06-2927-1113/+1252
|
* Paul Prescod <paul@prescod.net>:Fred Drake2000-06-295-0/+960
| | | | SAX interfaces for Python.
* Package docstring and initialization.Fred Drake2000-06-291-0/+25
|
* Package docstring.Fred Drake2000-06-292-0/+23
|
* This patch addresses two main issues: (1) There exist some non-fatalFred Drake2000-06-292-0/+27
| | | | | | | | | | | | | | | | | | | | errors in some of the hash algorithms. For exmaple, in float_hash and complex_hash a certain part of the value is not included in the hash calculation. See Tim's, Guido's, and my discussion of this on python-dev in May under the title "fix float_hash and complex_hash for 64-bit *nix" (2) The hash algorithms that use pointers (e.g. func_hash, code_hash) are universally not correct on Win64 (they assume that sizeof(long) == sizeof(void*)) As well, this patch significantly cleans up the hash code. It adds the two function _Py_HashDouble and _PyHash_VoidPtr that the various hashing routine are changed to use. These help maintain the hash function invariant: (a==b) => (hash(a)==hash(b))) I have added Lib/test/test_hash.py and Lib/test/output/test_hash to test this for some cases.
* [Old patch that hadn't been checked in.]Fred Drake2000-06-291-2/+11
| | | | | | | | | | | get_starttag_text(): New method. Return the text of the most recently parsed start tag, from the '<' to the '>' or '/'. Not really useful for structure processing, but requested for Web-related use. May also be useful for being able to re-generate the input from the parse events, but there's no equivalent for end tags. attrfind: Be a little more forgiving of unquoted attribute values.
* - fixed another split problemFredrik Lundh2000-06-294-7/+4
| | | | | | | | | (those semantics are weird...) - got rid of $Id$'s (for the moment, at least). in other words, there should be no more "empty" checkins. - internal: some minor cleanups.
* Skip Montanaro: modify test_socket.py to listen/connect using loopback addrGuido van Rossum2000-06-291-2/+2
|
* - fixed splitFredrik Lundh2000-06-292-101/+78
| | | | | | | | | | | | | | (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.
* 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
|
* 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
* - 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-291-10/+10
| | | | | | | | | | | 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>
* - removed "alpha only" licensing restrictionFredrik Lundh2000-06-293-52/+13
| | | | | - removed some hacks that worked around 1.6 alpha bugs - removed bogus test code from sre_parse
* towards 1.6b1Fredrik Lundh2000-06-294-90/+184
|
* Convert to use class-based exceptions.Fred Drake2000-06-291-2/+3
| | | | Correct exception information in one docstring.
* 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.
* Trent Mick <trentm@activestate.com>:Fred Drake2000-06-281-2/+54
| | | | | | | | Testing: test_array.py was also extended to check that one can set the full range of values for each of the integral signed and unsigned array types. This closes SourceForge patch #100506.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-281-0/+3
| | | | Updated test output.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-281-0/+75
| | | | | Added tests for the new Unicode character name support in the standard unicode-escape codec.
* Thomas Wouters <thomas@xs4all.net>:Fred Drake2000-06-281-16/+57
| | | | | | | | | | | | | This patch adds the openpty() and forkpty() library calls to posixmodule.c, when they are available on the target system. (glibc-2.1-based Linux systems, FreeBSD and BSDI at least, probably the other BSD-based systems as well.) Lib/pty.py is also rewritten to use openpty when available, but falls back to the old SGI method or the "manual" BSD open-a-pty code. Openpty() is necessary to use the Unix98 ptys under Linux 2.2, or when using non-standard tty names under (at least) BSDI, which is why I needed it, myself ;-) forkpty() is included for symmetry.
* Added the atexit module and documentation from Skip MontanaroFred Drake2000-06-283-0/+82
| | | | | | | <skip@mojam.com>. Revisions to the markup to make it pass LaTeX, added an index entry and a reference from the sys.exitfunc documentation. This closes SourceForge patch #100620.
* typos fixed by Rob HooftJeremy Hylton2000-06-2829-38/+38
|
* Lyle Johnson: pass in temp directory as 'build_temp' argument when callingGreg Ward2000-06-281-1/+2
| | | | 'link_shared_object()'.
* Lyle Johnson: added 'build_temp' parameter to 'link_shared_{lib,object}()'Greg Ward2000-06-283-11/+21
| | | | | | | methods (but not 'link_executable()', hmmm). Currently only used by BCPPCompiler; it's a dummy parameter for UnixCCompiler and MSVCCompiler. Also added 'bcpp' to compiler table used by 'new_compiler()'.
* Typo fix.Greg Ward2000-06-281-1/+1
|
* Lyle Johnson's interface to Borland C++, with a few editorial comments by me.Greg Ward2000-06-281-0/+344
| | | | | | | | Two major points: * lots of overlap with MSVCCompiler; the common code really should be factored out into a base class, say WindowsCCompiler * it doesn't work: weird problem spawning the linker (see comment for details)
* Fixed to use 'reinitialize_command()' to fetch "install" and "install_lib"Greg Ward2000-06-281-28/+20
| | | | | command objects. Various formatting tweaks, typo fixes in comments.
* Fixed to use 'reinitialize_command()' to fetch the "install" command object.Greg Ward2000-06-281-6/+1
|
* Fix comment typo noticed by Rob HooftAndrew M. Kuchling2000-06-271-1/+1
|
* Oops, only do that AIX hack on AIX.Greg Ward2000-06-271-1/+1
|
* Fixed LDSHARED for AIX, based on a patch by Rene Liebscher.Greg Ward2000-06-271-15/+12
| | | | | Ditched my old code that fixed relative paths in the Makefile -- didn't work, doomed to failure, etc.
* A-ha! Read Thomas' patch a little more carefully and figured it out:Greg Ward2000-06-271-1/+2
| | | | the 'implib_dir' attribute is back (only on NT, of course).
* Thomas Heller: added --swig-cpp option and fixed silly typos in SWIG support.Greg Ward2000-06-271-9/+21
| | | | | | Also supposedly made some change to where .lib files wind up under MSVC++, but I don't understand how to code is doing what Thomas says it's doing.
* Thomas Heller's "bdist_wininst" command (unreviewed, untested).Greg Ward2000-06-271-0/+448
|
* Infrastructure support for the "bdist_wininst" command.Greg Ward2000-06-272-0/+3
|
* Added 'include_dirs' parameters all over the place.Greg Ward2000-06-271-19/+39
| | | | | Added 'check_lib()', which provides a subset of the functionality of 'check_func()' with a simpler interface and implementation.
* Sync to ESR's current versionAndrew M. Kuchling2000-06-271-22/+28
|
* Drop back to old version of wrapper(); ESR reports that it broke things,Andrew M. Kuchling2000-06-271-4/+16
| | | | and I lack the time to track down the cause.
* Change pyexpat test suite to exercise the .returns_unicode attribute,Andrew M. Kuchling2000-06-272-20/+121
| | | | parsing the sample data once with 8-bit strings and once with Unicode.
* Added two modules for ASCII characters and a simple editing form (ESR)Andrew M. Kuchling2000-06-262-0/+261
|
* Add wrapper for initscr() to copy the ACS_ and LINES,COLS bindingsAndrew M. Kuchling2000-06-261-0/+16
|
* now that imputil is in the main Python repository, clean up the headerGreg Stein2000-06-261-16/+3
|
* initial commit of a new HTTP library, supporting HTTP/1.1 and persistentGreg Stein2000-06-261-228/+734
| | | | connections.
* update output file to reflect new test of exception object str-nessJeremy Hylton2000-06-251-0/+18
|
* Define the 'executables' class attribute so the CCompiler constructorGreg Ward2000-06-251-1/+8
| | | | | doesn't blow up. We don't currently use the 'set_executables()' bureaucracy, although it would be nice to do so for consistency with UnixCCompiler.