summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Allow the process of reading back what we wrote to a pty to transformThomas Wouters2001-03-221-24/+36
| | | | | linefeeds into carriagereturn-linefeeds (which is apparently what IRIX does.) Also add some comments, an extra test and reorganize it a bit.
* Updated to latest PyUnit version (1.31 in PyUnit CVS); test_support.pySteve Purcell2001-03-222-256/+244
| | | | changed accordingly.
* Remove redundant importAndrew M. Kuchling2001-03-221-1/+1
|
* Back out conversion to string methods; the Distutils is intended to workAndrew M. Kuchling2001-03-224-13/+13
| | | | with 1.5.2
* Call the write_pkg_info methodAndrew M. Kuchling2001-03-221-2/+2
|
* Add 'platforms' and 'keywords' attributes to the DistributionMetadata class,Andrew M. Kuchling2001-03-221-5/+70
| | | | | | | | along with options to print them. Add a finalize_options() method to Distribution to do final processing on the platform and keyword attributes Add DistributionMetadata.write_pkg_info() method to write a PKG-INFO file into the release tree.
* Patch #407434: add rfc822_escape utility functionAndrew M. Kuchling2001-03-221-0/+10
|
* Check that f.keys() == [] right after creation -- this prevents bugsGuido van Rossum2001-03-223-3/+6
| | | | like the one I just fixed to come back and haunt us.
* Changed doctest to run tests in alphabetic order of name.Tim Peters2001-03-213-98/+108
| | | | | | This makes verbose-mode output easier to dig thru, and removes an accidental dependence on the order of dict.items() (made visible by recent changes to dictobject.c).
* Test that traceback module works with SyntaxErrors with or without carets.Jeremy Hylton2001-03-213-0/+43
|
* Do not print caret when offset is None.Jeremy Hylton2001-03-211-7/+8
|
* Reformat and edit docstrings to follow modern conventions. SingleJeremy Hylton2001-03-211-50/+68
| | | | line summary followed by blank line and description.
* Add test cases for the fnmatch module.Fred Drake2001-03-212-0/+43
|
* Just import sys at the top instead of inside lots of functions.Fred Drake2001-03-211-3/+35
| | | | Add some helpers for supporting PyUNIT-based unit testing.
* The unittest module from PyUNIT, by Steve Purcell.Fred Drake2001-03-211-0/+689
|
* Donovan Baarda <abo@users.sourceforge.net>:Fred Drake2001-03-211-9/+5
| | | | | | Patch to make "\" in a character group work properly. This closes SF bug #409651.
* Fixed a bunch of Tabnanny errorsMoshe Zadka2001-03-211-590/+590
|
* Add tests for recent changes:Jeremy Hylton2001-03-212-0/+32
| | | | | - global stmt in class does not affect free vars in methods - locals() works with free and cell vars
* Patch #410231: Add the Python Tix library.Martin v. Löwis2001-03-211-0/+1266
|
* Addrf simple test that import is case-sensitive.Tim Peters2001-03-211-1/+10
|
* Add a deprecation warning to this module.Guido van Rossum2001-03-201-0/+5
| | | | | Importing it typically fails anyway (no TZ variable defined), so this is no great loss.
* Bug #409419: delete seek() and tell() methods, so callers can use getattr()Andrew M. Kuchling2001-03-201-6/+0
| | | | | to check for them (instead of calling them and then ignoring an IOError)
* * Fixing the password-proxy bugMoshe Zadka2001-03-201-7/+8
| | | | * Not sending content-type and content-length twice
* Add test for a list comprehension that is nested in the left-hand partJeremy Hylton2001-03-192-0/+6
| | | | | | | | | of another list comp. This caused crashes reported as SF bugs 409230 and 407800. Note that the new tests are in a function so that the name lookup code isn't affected by how many *other* list comprehensions are in the same scope.
* Add a whole lot of stuff to __all__.Guido van Rossum2001-03-191-3/+6
| | | | | (Excluding the logging stuff, which doesn't lend itself to use via "from cgi import *" -- it manipulates globals.)
* Repair test_doctest's expected-output file (Guido added some new output).Tim Peters2001-03-181-0/+2
|
* add errorTab to __all__ on win*Skip Montanaro2001-03-181-0/+1
| | | | closes bug #406642
* Make doctest's self-test succeed after the previous change.Guido van Rossum2001-03-181-0/+2
|
* Print a bunch of asterisks before the failure summary, to separate itGuido van Rossum2001-03-181-0/+1
| | | | from the last failure report.
* SF bug [ #409448 ] Complex division is braindeadTim Peters2001-03-182-0/+66
| | | | | | http://sourceforge.net/tracker/?func=detail&aid=409448&group_id=5470&atid=105470 Now less braindead. Also added test_complex.py, which doesn't test much, but fails without this patch.
* Fix bug #233253: the --define and --undef options didn't work, whetherAndrew M. Kuchling2001-03-171-0/+15
| | | | | specified on the command-line or in setup.cfg. The option processing leaves them as strings, but they're supposed to be lists.
* Bug #409403: Signal an error if the distribution's metadata has no versionAndrew M. Kuchling2001-03-171-0/+4
|
* Distutils version number has been changed from 1.0.1 to 1.0.2preThomas Heller2001-03-161-1/+1
| | | | | | | before this get forgotten again. Should probably be set to 1.0.2 before final release of python 2.1 Does someone still release distutils separate from python?
* The bdist_wininst.py command has been recreated after wininst.exeThomas Heller2001-03-161-272/+308
| | | | | | | | | | | | has been changed to include an uninstaller. I forgot to mention in the uninstaller checkin that the logfile name (used for uninstalling) has been changed from <module>.log to <module>-wininst.log. This should prevent conflicts with a distutils logfile serving the same purpose. The short form of the --bdist-dir (-d) option has been removed because it caused conflicts with the short form of the --dist-dir option.
* Change RuntimeError to SGMLParseError, which subclasses RuntimeErrorFred Drake2001-03-161-5/+53
| | | | | | | | | | for backward compatibility. Add support for SGML declaration syntax (<!....>) to some reasonable degree. This does not support everything allowed in SGML, but should work with "real" HTML (internal subset in a DOCTYPE is not handled). The content of the declaration is passed to the .handle_decl() method, which can be overridden by subclasses.
* Whitespace normalization.Tim Peters2001-03-166-14/+9
|
* Remove redundant "__future__:" from module docstring.Ka-Ping Yee2001-03-151-1/+1
|
* Import the exceptions that this module can raise.Fred Drake2001-03-141-0/+3
|
* Add doc string for run from profile.doc. (pydoc motivates me to writeJeremy Hylton2001-03-141-5/+13
| | | | | | | | | | good doc strings.) Fix silly argument handling; was using *args but really wanted 1 optional arg. XXX Should profile.doc be merged into the documentation and removed from the Lib directory?
* Moved clearing of "literal" flag. The flag is set in setliteral whichSjoerd Mullender2001-03-141-1/+1
| | | | | | | can be called from a start tag handler. When the corresponding end tag is read the flag is cleared. However, it didn't get cleared when the start tag was for an empty element of the type <tag .../>. This modification fixes the problem.
* Change "[%s]" % string.whitespace to r"\s" in regular expressions.Fred Drake2001-03-141-4/+3
|
* updated __all__ to include several other namesSkip Montanaro2001-03-131-1/+5
|
* Patch #407965: Improve Level 2 conformance of minidomMartin v. Löwis2001-03-132-21/+103
| | | | | | | | | | | | | | - addition of a DocumentFragment implementation and createDocumentFragment method - proper setting of ownerDocument for all nodes - setting of namespaceURI to None in Element as a class attribute - addition of setAttributeNodeNS and removeAttributeNodeNS as aliases for setAttributeNode and removeAttributeNode - support for inheriting from DOMImplementation to extend it with additional features (to override the Document class) in pulldom: - support for nodes (comment and PI) that occur before he document element; that became necessary as pulldom now delays creation of the document until it has the document element.
* Oops. A RISCOS patch I forgot to check in.Guido van Rossum2001-03-131-1/+7
|
* Add test to verify that nested functions with free variables don'tJeremy Hylton2001-03-132-0/+24
| | | | cause the free variables to leak.
* Multifile.read(): Fix a broken conversion to string methods.Fred Drake2001-03-121-1/+1
| | | | This closes SF bug #407777.
* Make docstrings raw, since they contain literal backslashes.Ka-Ping Yee2001-03-102-2/+2
|
* Fix findsource() to work for derived classes.Ka-Ping Yee2001-03-101-5/+5
|
* Import the nested_scopes feature twice, to exercise the patch introducedFred Drake2001-03-101-1/+3
| | | | | | | to avoid segfaults when more than one feature is named in the future statement. This tests for regression of SF bug #407394.
* Replace setenv with putenv. Reported by Dietmar Schwertberger.Martin v. Löwis2001-03-071-1/+1
|