summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Unify _Environ processing on riscos with other platforms.Martin v. Löwis2001-03-072-13/+13
|
* fix typo in extending __all__ for riscos platform - closes bug 406296Skip Montanaro2001-03-061-1/+1
|
* Define & use NetrcParseError instead of improperly overloading SyntaxError.Fred Drake2001-03-061-5/+22
| | | | Always has the lineno and filename of the source text.
* Grr, splittag was also missing from __all__.Jack Jansen2001-03-051-1/+1
|
* Added url2pathname and pathname2url to __all__.Jack Jansen2001-03-051-1/+1
|
* Clean up junk files left behind by imp.load_source().Tim Peters2001-03-041-1/+7
|
* Use r""" instead of """ for the docstring so that backslashes are preserved.Ka-Ping Yee2001-03-021-1/+1
|
* Patch by Itamar S.T. (SF#305470): add reset() method.Guido van Rossum2001-03-021-1/+6
|
* When not copying a file because the output is up to date, make the messageFred Drake2001-03-021-2/+2
| | | | | slightly more brief, and more like the message that an extension will not be built because the built copy is up to date.
* Fix by Donn Cave for BeOS (SF #403642):Guido van Rossum2001-03-021-4/+13
| | | | | | | | | | | | | | UNIX style fork/execve/wait are not fully compatible with thread support on BeOS. For Python, that means neither fork() from import nor import from a fork work reliably. os._execvpe() does the latter, importing tempfile to set up a tantalizing target for hackers. This patch replaces both the tempfile name generation and the exec that uses it, in case we're on BeOS. Need this for setup:distutils:execvp(); symptoms are random crashes and internal BeOS error messages about th name, in case we're on BeOS. It's an issue because setup.py + distutils calls os.execvp(); symptoms are random crashes during setup.py, and internal BeOS error messages about thread IDs.
* RISCOS changes by dschwertberger.Guido van Rossum2001-03-026-24/+64
|
* Use != instead of <>. Sorry, Barry.Guido van Rossum2001-03-021-3/+3
|
* Use '127.0.0.1' only on Mac; for other, sane platforms, use 'localhost'.Ka-Ping Yee2001-03-021-2/+3
|
* RISCOS files by dschwertbergerGuido van Rossum2001-03-023-0/+482
|
* The sys.platform identifier for Windows is just 'win32' (for all varieties).Ka-Ping Yee2001-03-021-8/+8
|
* Search /tmp before /var/tmp and /usr/tmp -- this seems preferred.Guido van Rossum2001-03-021-1/+1
| | | | SF patch #404564, Gregor Hoffleit.
* Make getsourcefile() succeed even if the filename doesn't end in '.py' --Ka-Ping Yee2001-03-021-25/+29
| | | | | | | as long as the filename also doesn't end in a suffix that indicates a binary file (according to the flags in imp.get_suffixes()). Shrink try...except clauses and replace some of them with explicit checks.
* Replace literal '@test' with TESTFN.Ka-Ping Yee2001-03-021-6/+6
|
* When catching errors from os.rmdir(), test for os.error, not IOError!Guido van Rossum2001-03-021-3/+3
|
* Believe it or not, but "more" on Windows requires "more <file" ratherGuido van Rossum2001-03-021-1/+1
| | | | | | than "more file". Since tempfilepager() is only used on Windows, it seems, do this unconditionally -- on Unix, it always invokes something else.