Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove redundant "__future__:" from module docstring. | Ka-Ping Yee | 2001-03-15 | 1 | -1/+1 |
| | |||||
* | Import the exceptions that this module can raise. | Fred Drake | 2001-03-14 | 1 | -0/+3 |
| | |||||
* | Add doc string for run from profile.doc. (pydoc motivates me to write | Jeremy Hylton | 2001-03-14 | 1 | -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 which | Sjoerd Mullender | 2001-03-14 | 1 | -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 Drake | 2001-03-14 | 1 | -4/+3 |
| | |||||
* | updated __all__ to include several other names | Skip Montanaro | 2001-03-13 | 1 | -1/+5 |
| | |||||
* | Patch #407965: Improve Level 2 conformance of minidom | Martin v. Löwis | 2001-03-13 | 2 | -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 Rossum | 2001-03-13 | 1 | -1/+7 |
| | |||||
* | Add test to verify that nested functions with free variables don't | Jeremy Hylton | 2001-03-13 | 2 | -0/+24 |
| | | | | cause the free variables to leak. | ||||
* | Multifile.read(): Fix a broken conversion to string methods. | Fred Drake | 2001-03-12 | 1 | -1/+1 |
| | | | | This closes SF bug #407777. | ||||
* | Make docstrings raw, since they contain literal backslashes. | Ka-Ping Yee | 2001-03-10 | 2 | -2/+2 |
| | |||||
* | Fix findsource() to work for derived classes. | Ka-Ping Yee | 2001-03-10 | 1 | -5/+5 |
| | |||||
* | Import the nested_scopes feature twice, to exercise the patch introduced | Fred Drake | 2001-03-10 | 1 | -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öwis | 2001-03-07 | 1 | -1/+1 |
| | |||||
* | Unify _Environ processing on riscos with other platforms. | Martin v. Löwis | 2001-03-07 | 2 | -13/+13 |
| | |||||
* | fix typo in extending __all__ for riscos platform - closes bug 406296 | Skip Montanaro | 2001-03-06 | 1 | -1/+1 |
| | |||||
* | Define & use NetrcParseError instead of improperly overloading SyntaxError. | Fred Drake | 2001-03-06 | 1 | -5/+22 |
| | | | | Always has the lineno and filename of the source text. | ||||
* | Grr, splittag was also missing from __all__. | Jack Jansen | 2001-03-05 | 1 | -1/+1 |
| | |||||
* | Added url2pathname and pathname2url to __all__. | Jack Jansen | 2001-03-05 | 1 | -1/+1 |
| | |||||
* | Clean up junk files left behind by imp.load_source(). | Tim Peters | 2001-03-04 | 1 | -1/+7 |
| | |||||
* | Use r""" instead of """ for the docstring so that backslashes are preserved. | Ka-Ping Yee | 2001-03-02 | 1 | -1/+1 |
| | |||||
* | Patch by Itamar S.T. (SF#305470): add reset() method. | Guido van Rossum | 2001-03-02 | 1 | -1/+6 |
| | |||||
* | When not copying a file because the output is up to date, make the message | Fred Drake | 2001-03-02 | 1 | -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 Rossum | 2001-03-02 | 1 | -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 Rossum | 2001-03-02 | 6 | -24/+64 |
| | |||||
* | Use != instead of <>. Sorry, Barry. | Guido van Rossum | 2001-03-02 | 1 | -3/+3 |
| | |||||
* | Use '127.0.0.1' only on Mac; for other, sane platforms, use 'localhost'. | Ka-Ping Yee | 2001-03-02 | 1 | -2/+3 |
| | |||||
* | RISCOS files by dschwertberger | Guido van Rossum | 2001-03-02 | 3 | -0/+482 |
| | |||||
* | The sys.platform identifier for Windows is just 'win32' (for all varieties). | Ka-Ping Yee | 2001-03-02 | 1 | -8/+8 |
| | |||||
* | Search /tmp before /var/tmp and /usr/tmp -- this seems preferred. | Guido van Rossum | 2001-03-02 | 1 | -1/+1 |
| | | | | SF patch #404564, Gregor Hoffleit. | ||||
* | Make getsourcefile() succeed even if the filename doesn't end in '.py' -- | Ka-Ping Yee | 2001-03-02 | 1 | -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 Yee | 2001-03-02 | 1 | -6/+6 |
| | |||||
* | When catching errors from os.rmdir(), test for os.error, not IOError! | Guido van Rossum | 2001-03-02 | 1 | -3/+3 |
| | |||||
* | Believe it or not, but "more" on Windows requires "more <file" rather | Guido van Rossum | 2001-03-02 | 1 | -1/+1 |
| | | | | | | than "more file". Since tempfilepager() is only used on Windows, it seems, do this unconditionally -- on Unix, it always invokes something else. | ||||
* | Typo repair. | Tim Peters | 2001-03-02 | 1 | -1/+1 |
| | |||||
* | Make names in __future__.py bind to class instances instead of 2-tuples. | Tim Peters | 2001-03-02 | 2 | -10/+34 |
| | | | | Suggested on c.l.py by William Tanksley, and I like it. | ||||
* | Clean up the handling of getsourcefile/getabsfile. | Ka-Ping Yee | 2001-03-02 | 1 | -23/+37 |
| | | | | | Remove __main__ from the index of built-in modules. Miscellaneous compatibility fixes. | ||||
* | Clarify the purpose of getsourcefile(). | Ka-Ping Yee | 2001-03-02 | 1 | -12/+19 |
| | | | | Add getabsfile() for getting a most-normalized path. | ||||
* | Clarify synopsis line a bit. | Ka-Ping Yee | 2001-03-02 | 1 | -3/+3 |
| | | | | Remove -no-about-splash option (not understood by all Netscapes). | ||||
* | test_global was broken by some recent checkin. Repairing. | Tim Peters | 2001-03-02 | 2 | -9/+15 |
| | |||||
* | When seeking the module for an object, compare absolute (not relative) paths. | Ka-Ping Yee | 2001-03-02 | 1 | -3/+4 |
| | |||||
* | Use imp.get_suffixes to determine a module name in modulename(file). | Ka-Ping Yee | 2001-03-02 | 1 | -7/+25 |
| | | | | When possible, display strings containing backslashes using r'' notation. | ||||
* | Test interaction of global and nested scopes -- thanks to Samuele Pedroni. | Guido van Rossum | 2001-03-01 | 2 | -0/+66 |
| | |||||
* | Also accept .so as an extension for module files. | Ka-Ping Yee | 2001-03-01 | 1 | -8/+4 |
| | |||||
* | Better __credits__. | Ka-Ping Yee | 2001-03-01 | 1 | -1/+2 |
| | |||||
* | Add __author__ and __credits__ variables. | Ka-Ping Yee | 2001-03-01 | 1 | -1/+2 |
| | |||||
* | Add __author__ variable. | Ka-Ping Yee | 2001-03-01 | 1 | -2/+5 |
| | | | | Robustify: don't rely on modules being present in sys.modules. | ||||
* | Docstring improvements. | Ka-Ping Yee | 2001-03-01 | 1 | -196/+395 |
| | | | | | | | | | | | | | Add checks for .pyo and .pyd. Collapse docfunction, docmethod, docbuiltin into the one method docroutine. Small formatting fixes. Link the segments of a package path in the title. Link to the source file only if it exists. Allow modules (e.g. repr.py) to take precedence over built-ins (e.g. repr()). Add interruptible synopsis scanner (so we can do searches in the background). Make HTTP server quit. Add small GUI for controlling the server and launching searches (like -k). (Tested on Win2k, Win98, and Linux.) | ||||
* | Checking in patch 404826 -- urllib2 enhancements and documentations. | Moshe Zadka | 2001-03-01 | 1 | -48/+115 |
| | | | | | (please not that the library reference does *not* include the urllib2 documnetation -- that will wiat for Fred) | ||||
* | Whitespace normalization. | Tim Peters | 2001-03-01 | 1 | -1/+0 |
| |