summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Thomas Wouters: Test script for openpty()Guido van Rossum2000-07-011-0/+23
|
* Thomas Wouters <thomas@xs4all.net>:Fred Drake2000-06-302-0/+97
| | | | Test case for the pty module.
* - fixed code generation error in multiline modeFredrik Lundh2000-06-302-7/+8
| | | | - fixed parser flag propagation (of all stupid bugs...)
* replaced <some suitable mail address> with something slightlyFredrik Lundh2000-06-301-4/+25
| | | | more suitable.
* Ooops! I didn't finish all the renaming needed here, so this wasFred Drake2000-06-301-36/+36
| | | | attempting a recursive import and causing a fatal error.
* Output for test_winreg2.Fred Drake2000-06-301-0/+1
| | | | | Someone who knows what they are doing needs to replace this with something that makes sense -- I'm not running Windows right now.
* Simplify the registry-module-finding code: _winreg or win32api/win32con.Greg Ward2000-06-301-4/+1
| | | | | | This'll work fine with 2.0 or 1.5.2, but is less than ideal for 1.6a1/a2. But the code to accomodate 1.6a1/a2 was released with Distutils 0.9, so it can go away now.
* Paul Prescod <paul@prescod.net>:Fred Drake2000-06-301-0/+341
| | | | | | Regression test for the new winreg.py module. [Could a Windows person someone please review this?]
* Line-wrap and properly indent a couple of docstrings.Fred Drake2000-06-301-3/+6
|
* - reverted to "\x is binary byte"Fredrik Lundh2000-06-303-6/+6
| | | | - removed evil tabs from sre_parse and sre_compile
* * added a randomize flag and corresponding -r command line argument thatSkip Montanaro2000-06-301-8/+13
| | | | | | | | | allows the caller to execute the various tests in pseudo-random order - default is still to execute tests in the order returned by findtests(). * moved initialization of the various flag variables to the main() function definition, making it possible to execute regrtest.main() interactively and still override default behavior.
* Switch to sre for regular expression matching (the new mini-re moduleGuido van Rossum2000-06-303-654/+665
| | | | | is actually by Fredrik Lundh). This will break the re tests -- Fredrik will fix this before the final release.
* the usualGuido van Rossum2000-06-304-572/+713
|
* remove all prints (since the prints where of memory locations)Jeremy Hylton2000-06-302-23/+0
|
* the mad patcher strikes again:Fredrik Lundh2000-06-304-41/+49
| | | | | | | | | | | | | | | -- added pickling support (only works if sre is imported) -- fixed wordsize problems in engine (instead of casting literals down to the character size, cast characters up to the literal size (same as the code word size). this prevents false hits when you're matching a unicode pattern against an 8-bit string. (unfortunately, this broke another test, but I think the test should be changed in this case; more on that on python-dev) -- added sre.purge function (unofficial, clears the cache)
* - fixed lookahead assertions (#10, #11, #12)Fredrik Lundh2000-06-304-61/+93
| | | | - untabified sre_constants.py
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-301-0/+1
| | | | Added test output.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-301-0/+52
| | | | | | | New test for huge formatting strings (these could cause core dumps in previous versions). By Trent Mick.
* New test for the ucnhash module.Marc-André Lemburg2000-06-301-0/+82
|
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-301-3/+0
| | | | Updated test output (the ucn tests are now in test_ucn).
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-301-74/+0
| | | | Moved tests of new Unicode Char Name support to a separate test.
* - added support for (?P=name)Fredrik Lundh2000-06-302-6/+17
| | | | (closes #3 and #7 from the status report)
* - pedantic: make sure "python -t" doesn't complain...Fredrik Lundh2000-06-304-587/+587
|
* - fixed default value handling in group/groupdictFredrik Lundh2000-06-303-1/+400
| | | | - added test suite
* Describe a bit about writing test cases for Python...Skip Montanaro2000-06-301-0/+77
|
* final patches from Neil Schemenauer for garbage collectionJeremy Hylton2000-06-302-0/+111
|
* Bump version to 0.9.Greg Ward2000-06-301-1/+1
|
* - fixed split behaviour on empty matchesFredrik Lundh2000-06-303-39/+52
| | | | | | - fixed compiler problems when using locale/unicode flags - fixed group/octal code parsing in sub/subn templates
* Allow 2.0 on the list of target versions. NB. this isn't enough: the GUI part,Greg Ward2000-06-291-5/+5
| | | | | misc/install.c, still needs to be updated, and it looks like a non-trivial change.
* still trying to figure out how to fix the remainingFredrik Lundh2000-06-291-1/+56
| | | | | | | | | | | | | | | | | | | group reset problem. in the meantime, I added some optimizations: - added "inline" directive to LOCAL (this assumes that AC_C_INLINE does what it's supposed to do). to compile SRE on a non-unix platform that doesn't support inline, you have to add a "#define inline" somewhere... - added code to generate a SRE_OP_INFO primitive - added code to do fast prefix search (enabled by the USE_FAST_SEARCH define; default is on, in this release)
* Don't try to guess the name of a .def file -- if one is supplied, use it,Greg Ward2000-06-291-6/+0
| | | | otherwise just generate an '/export:' option.
* On second thought, first try for _winreg, and then winreg. Only if bothGreg Ward2000-06-291-1/+5
| | | | | fail do we try for win32api/win32con. If *those* both fail, then we don't have registry access. Phew!
* Changed to use _winreg module instead of winreg.Greg Ward2000-06-291-6/+6
|
* Cleaned up and reformatted by Rene Liebscher.Greg Ward2000-06-291-95/+113
| | | | | More reformatting by me. Also added some editorial comments.
* Typo.Fred Drake2000-06-291-1/+1
|
* The low-level interface is now in _winreg; update the import here.Fred Drake2000-06-291-1/+1
|
* Paul Prescod <paul@prescod.net>:Fred Drake2000-06-292-0/+652
| | | | W3C DOM implementation for Python.
* Package docstring.Fred Drake2000-06-291-0/+8
|
* 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
|