summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* delete bogus fileGuido van Rossum2000-07-071-246/+0
|
* Deleted bogus file.Guido van Rossum2000-07-071-946/+0
|
* fix inconsistent use of tabs and spacesJeremy Hylton2000-07-071-8/+11
| | | | convert semicolons to newlines
* fix inconsistent use of tabs and spacesJeremy Hylton2000-07-072-20/+20
|
* fix inconsistent use of tabs and spacesJeremy Hylton2000-07-074-24/+24
|
* Tests for new surrogate support in the UTF-8 codec. By Bill Tutt.Marc-André Lemburg2000-07-071-0/+72
|
* Tests for new instance support in unicode().Marc-André Lemburg2000-07-071-0/+15
|
* Change whitespace in two places to silence tabnanny.Guido van Rossum2000-07-061-4/+4
| | | | Also fix spelling tupel -> tuple.
* fixed indentation in several placesSkip Montanaro2000-07-061-19/+19
|
* fix indentation in one docstringSkip Montanaro2000-07-061-1/+1
|
* fix indentation in three docstringsSkip Montanaro2000-07-061-3/+3
|
* maintenance release:Fredrik Lundh2000-07-051-1/+3
| | | | | | | | - reorganized some code to get rid of -Wall and -W4 warnings - fixed default argument handling for sub/subn/split methods (reported by Peter Schneider-Kamp).
* Added tests for the new .isalpha() and .isalnum() methods.Marc-André Lemburg2000-07-052-0/+31
|
* Fixed so the ZIP file (which is bundled into an executable) goes in theGreg Ward2000-07-051-4/+13
| | | | | temporary directory ('bdist_base'). Added --dist-dir option to control where the executable is put.
* Added --dist-dir option to control where output archive(s) go.Greg Ward2000-07-051-1/+7
|
* Added the --dist-dir option that the "bdist_*" will use to control whereGreg Ward2000-07-051-0/+7
| | | | they place their output files.
* Added the --dist-dir option to control where the archive(s) are put;Greg Ward2000-07-051-1/+11
| | | | defaults to 'dist' (ie. no longer in the distribution root).
* 2 fixes plus one extension:Sjoerd Mullender2000-07-041-6/+6
| | | | | | | | | | - Actually count the linefeeds in a the CDATA content. - Don't call the endtag handler for an unmatched endtag (this makes the base class simpler since it doesn't have to deal with unopened endtags). - If the __init__ method is called with keyword argument translate_attribute_references=0, don't attempt to translate character and entity references in attribute values.
* Used original SAX handling form.Paul Prescod2000-07-043-15/+14
|
* Removed some tabs.Paul Prescod2000-07-041-6/+6
|
* - fixed grouping error bugFredrik Lundh2000-07-034-15/+19
| | | | - changed "group" operator to "groupref"
* - added lookbehind support (?<=pattern), (?<!pattern).Fredrik Lundh2000-07-033-40/+51
| | | | | | | | | | | | | | | | | the pattern must have a fixed width. - got rid of array-module dependencies; the match pro- gram is now stored inside the pattern object, rather than in an extra string buffer. - cleaned up a various of potential leaks, api abuses, and other minors in the engine module. - use mal's new isalnum macro, rather than my own work- around. - untabified test_sre.py. seems like I removed a couple of trailing spaces in the process...
* Compute the name of the test file so that it can be found both when thisFred Drake2000-07-031-2/+12
| | | | | | | test is run as a script and when imported via the regression test framework. Problem reported by Phillip Porch <root@theporch.com>.
* Fix bug #379, reported by Phillip Porch <root@theproch.com>:Fred Drake2000-07-031-1/+1
| | | | | | | | openpty(): Fallback code when os.openpty() does not exist attempted to call _slave_open(), which should have been slave_open(). This bug only showed on platforms which do not provide a working openpty() in the C library.
* Eric S. Raymond <esr@thyrsus.com>:Fred Drake2000-07-031-9/+21
| | | | | | | | | This patch implements relative-path semantics for the "source" facility resembling those of cpp(1), documents the change, and improves the shlex test main to make it easier to test this feature. Along the way, it fixes a name error in the existing docs. [Additional documentation markup changes for consistency by FLD.]
* cmpfiles(): Added shallow and use_statcache parameters, with same meaningsFred Drake2000-07-031-14/+13
| | | | | | and defaults as for filecmp.cmp(). Updated docstring accordingly, and formatted it more like others in the standard library.
* Martin von Löwis <martin@loewis.home.cs.tu-berlin.de>:Fred Drake2000-07-031-40/+9
| | | | | | | This patch delegates more string functions to string object methods, uses the varargs delegation syntax, and stops using stringold. Closes SourceForge patch #100712.
* - changed sre.Scanner to use lastindex instead of index.Fredrik Lundh2000-07-021-2/+2
|
* - experimental: added two new attributes to the match object:Fredrik Lundh2000-07-022-1/+9
| | | | | | | | "lastgroup" is the name of the last matched capturing group, "lastindex" is the index of the same group. if no group was matched, both attributes are set to None. the (?P#) feature will be removed in the next relase.
* - actually enabled charset anchors in the engine (still notFredrik Lundh2000-07-024-1/+51
| | | | | | | | | | used by the code generator) - changed max repeat value in engine (to match earlier array fix) - added experimental "which part matched?" mechanism to sre; see http://hem.passagen.se/eff/2000_07_01_bot-archive.htm#416954 or python-dev for details.
* Typo (mine): Garsholm --> GarsholFred Drake2000-07-021-1/+1
| | | | Noted by Rob Hooft <rob@hooft.net>.
* -- use charset bitmaps where appropriate. this gives a 5-10%Fredrik Lundh2000-07-023-28/+116
| | | | | | | | | speedup for some tests, including the python tokenizer. -- added support for an optional charset anchor to the engine (currently unused by the code generator). -- removed workaround for array module bug.
* - fixed "{ in any other context" bugFredrik Lundh2000-07-011-12/+15
| | | | - minor comment touchups in the C module
* test(): Removed; regression test is in test.test_winreg2, not testreg.Fred Drake2000-07-011-2/+0
|
* Misc fixes and improvements.Paul Prescod2000-07-011-4/+16
|
* Removed unncessary dependency.Paul Prescod2000-07-011-1/+1
|
* Fixed test outputPaul Prescod2000-07-011-0/+1
|
* today's SRE update:Fredrik Lundh2000-07-014-4/+4
| | | | | | | | -- changed 1.6 to 2.0 in the file headers -- fixed ISALNUM macro for the unicode locale. this solution isn't perfect, but the best I can do with Python's current unicode database.
* Added minidom tests.Paul Prescod2000-07-013-0/+500
|
* Tightened xml.sax.__init__.pyPaul Prescod2000-07-011-5/+5
|
* getatime() returned the mtime instead of the atime.Guido van Rossum2000-07-012-2/+2
| | | | Similar to an old bug in ntpath.py.
* Fix bug #314, reported by Craig Allen <cba@mediaone.net>:Fred Drake2000-07-011-1/+1
| | | | | splittype(): Always lower-case the URL scheme; these are supposed to be normalized according to RFC 1738 anyway.
* Fix bug #345 reported by David Bolen <db3l@fitlinxx.com>:Fred Drake2000-07-011-1/+1
| | | | | getatime() returned the mtime instead of the atime. Similar to an old bug in posixpath.py.
* Reference cycle fixesPaul Prescod2000-07-014-144/+144
|
* the usualGuido van Rossum2000-07-012-12/+14
|
* output for openpty testGuido van Rossum2000-07-011-0/+2
|
* 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.