summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Andrew Kuchling <akuchlin@mems-exchange.org>:Fred Drake2000-07-031-1/+1
| | | | Typo in string literal: execpt --> except
* 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>.
* get_starttag_text(): Document this method.Fred Drake2000-07-031-0/+8
|
* 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.
* Marc-Andre Lemburg <mal@lemburg.com>:Fred Drake2000-07-031-1/+9
| | | | | Update the API docs for the new macros Py_UNICODE_ISALPHA() and Py_UNICODE_ISALNUM().
* Added new Py_UNICODE_ISALPHA() and Py_UNICODE_ISALNUM() macrosMarc-André Lemburg2000-07-031-0/+11
| | | | | | | | which are true for alphabetic and alphanumeric characters resp. The macros are currently implemented using the existing is* tables but will have to be updated to meet the Unicode standard definitions (add tables for non-cased letters and letter modifiers).
* If auto-conversion fails, the Unicode codecs will return NULL.Marc-André Lemburg2000-07-031-11/+13
| | | | This is now checked and the error passed on to the caller.
* Eric S. Raymond <esr@thyrsus.com>:Fred Drake2000-07-032-45/+70
| | | | | | | | | 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.]
* Moshe Zadka <moshez@math.huji.ac.il>:Fred Drake2000-07-031-8/+106
| | | | | | | Substantial updates to reflect Moshe's Gordon's enhancements to the module. Additional changes from Fred to reflect his changes to the module as well.
* 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.
* Tim-blessed documentation for math.frexp().Fred Drake2000-07-031-6/+6
|
* Checked in a wrong version.Tim Peters2000-07-021-2/+2
|
* The example_nt directory was old enough to vote. Frank StajanoTim Peters2000-07-024-419/+152
| | | | | | | | | | | | | | | | pointed out some of the problems he had following the instructions, and I stumbled into the others: MSVC has changed in several respects, Python has changed the directories into which it builds its own Windows outputs, and we grew the unusual scheme of appending "_d" to the names of debug-mode output files. This should all work with VC6 + CVS Python now. Some other Windows geek please confirm! And the less you know, the better <0.5 wink>. Explanations and examples for versions of MSVC before 6, and versions of Python before 2.0b1, have been removed, because they're too different and so confuse life. This last step I OK'ed with Guido first (indeed, 'twas his idea!).
* - 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-024-13/+38
| | | | | | | | "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.
* Repair docs for math.frexp (they were wrong).Tim Peters2000-07-021-1/+3
| | | | Reported on c.l.py by Kirill Simonov.
* - actually enabled charset anchors in the engine (still notFredrik Lundh2000-07-027-20/+95
| | | | | | | | | | 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-025-63/+182
| | | | | | | | | 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-012-13/+19
| | | | - minor comment touchups in the C module
* test(): Removed; regression test is in test.test_winreg2, not testreg.Fred Drake2000-07-011-2/+0
|
* Typo repair.Tim Peters2000-07-011-1/+1
|
* 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-015-8/+15
| | | | | | | | -- 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.
* others --> other's (possessive)Fred Drake2000-07-011-1/+1
| | | | Usage error noted by Grant Griffin <grant.griffin@iowegian.com>.
* Send a "ARTICLE" --> Send an "ARTICLE"Fred Drake2000-07-011-1/+1
| | | | Usage error noted by Grant Griffin <grant.griffin@iowegian.com>.
* Added more changes from /FAndrew M. Kuchling2000-07-011-2/+11
|
* Added minidom tests.Paul Prescod2000-07-013-0/+500
|
* a minimal test app to show how to build a standalone app with WJust van Rossum2000-07-011-0/+20
|
* changed repr and str to always convert unicode stringsFredrik Lundh2000-07-011-0/+16
| | | | to 8-bit strings, using the default encoding.
* added clearkey = '\033'Just van Rossum2000-07-011-1/+1
|
* fixed bug in comment matchingJust van Rossum2000-07-011-3/+3
|
* Tightened xml.sax.__init__.pyPaul Prescod2000-07-011-5/+5
|
* Changes from Moshe:Andrew M. Kuchling2000-07-011-19/+19
| | | | | | | | | | | | | - distutils: Windows installers are already working - string methods: .join() seems to be the concensus, so it should probably be docommented - filecmp.py supersedes cmp, cmpcache and dircmp - winreg is completely new: _winreg is an adaptation of what used to be in win32api, and winreg is a Python implementation which adds OO syntax. Perhaps you know that, but the text is misleading.
* 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.
* Martin von Loewis <loewis@informatik.hu-berlin.de>:Fred Drake2000-07-011-1/+1
| | | | Correct typo that caused a well-formedness failure.
* Reference cycle fixesPaul Prescod2000-07-014-144/+144
|
* init_exceptions(): Decref `doc' so it doesn't leak.Barry Warsaw2000-07-011-0/+1
|
* the usualGuido van Rossum2000-07-012-12/+14
|
* A bunch of project files were checked in as text files.Guido van Rossum2000-07-014-1991/+1991
| | | | They should all be binary (cvs admin -kv has now been applied).
* Add ucnhash (new subproject).Guido van Rossum2000-07-011-1/+1
|
* The Python include paths were not specified.Mark Hammond2000-07-011-2/+2
|
* Restore strict checking of socket address values; addresses passed toFred Drake2000-07-011-15/+21
| | | | | | | the bind(), connect(), and connect_ex() methods must be a single parameter. Originally part of 1.98, reverted in 1.100.
* output for openpty testGuido van Rossum2000-07-011-0/+2
|
* Define a magical symbol and magic include path so it will compile withoutGuido van Rossum2000-07-011-0/+6
| | | | changes to the bsddb source.