Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | final round of __all__ lists (I hope) - skipped urllib2 because Moshe may be | Skip Montanaro | 2001-03-01 | 17 | -1/+59 |
| | | | | giving it a slight facelift | ||||
* | move import into function to avoid having to add an __all__ list... | Skip Montanaro | 2001-03-01 | 1 | -2/+2 |
| | |||||
* | Add getlineno() routine to account for LINENO optimization. | Ka-Ping Yee | 2001-03-01 | 1 | -3/+19 |
| | |||||
* | Add tests for the .copy() methods of both weak dictionary classes. | Fred Drake | 2001-03-01 | 1 | -1/+15 |
| | |||||
* | Change WeakDictionary to WeakValueDictionary in a couple more places. | Fred Drake | 2001-03-01 | 1 | -4/+7 |
| | | | | | WeakValueDictionary.copy(), WeakKeyDictionary.copy(): Actually return the copy! | ||||
* | Normalize case of paths in sys.path to avoid duplicates on Windows. | Ka-Ping Yee | 2001-03-01 | 1 | -14/+24 |
| | | | | | | Handle <... at 001B6378> like <... at 0x120f80> (%p is platform-dependent). Fix RCS version tag handling. Move __main__ behaviour into a function, pydoc.cli(). | ||||
* | Add test case for global stmt at module level. | Jeremy Hylton | 2001-02-28 | 3 | -0/+10 |
| | | | | | Fix test_grammar so that it ignores warning about global stmt at module level in exec. | ||||
* | update output to reflect exception that is now raised | Jeremy Hylton | 2001-02-28 | 1 | -3/+3 |
| | |||||
* | Fix filter for SyntaxErrors | Jeremy Hylton | 2001-02-28 | 1 | -4/+4 |
| | |||||
* | Move a comment around to where it belongs (the code had alrady been | Guido van Rossum | 2001-02-28 | 1 | -1/+1 |
| | | | | moved). | ||||
* | Move some constant initialization from FTP.__init__() and FTP.connect() | Fred Drake | 2001-02-28 | 1 | -16/+16 |
| | | | | | | | | to the class namespace. Allow FTP.close() to be called more than once without tossing cookies. (This seems to be a fairly common idiom for .close() methods, so let's try to be consistent.) | ||||
* | Add a new API: | Guido van Rossum | 2001-02-28 | 1 | -0/+10 |
| | | | | | | | | | warn_explicit(message, category, filename, lineno, module, registry) The regular warn() call calculates a bunch of values and calls warn_explicit() with these. This will be used to issue better syntax warnings. | ||||
* | Leave #! lines featuring /usr/bin/env alone | Andrew M. Kuchling | 2001-02-28 | 1 | -2/+4 |
| |