summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Typo repair.Tim Peters2001-03-021-1/+1
|
* Make names in __future__.py bind to class instances instead of 2-tuples.Tim Peters2001-03-022-10/+34
| | | | Suggested on c.l.py by William Tanksley, and I like it.
* Clean up the handling of getsourcefile/getabsfile.Ka-Ping Yee2001-03-021-23/+37
| | | | | Remove __main__ from the index of built-in modules. Miscellaneous compatibility fixes.
* Clarify the purpose of getsourcefile().Ka-Ping Yee2001-03-021-12/+19
| | | | Add getabsfile() for getting a most-normalized path.
* Clarify synopsis line a bit.Ka-Ping Yee2001-03-021-3/+3
| | | | Remove -no-about-splash option (not understood by all Netscapes).
* test_global was broken by some recent checkin. Repairing.Tim Peters2001-03-022-9/+15
|
* When seeking the module for an object, compare absolute (not relative) paths.Ka-Ping Yee2001-03-021-3/+4
|
* Use imp.get_suffixes to determine a module name in modulename(file).Ka-Ping Yee2001-03-021-7/+25
| | | | When possible, display strings containing backslashes using r'' notation.
* Test interaction of global and nested scopes -- thanks to Samuele Pedroni.Guido van Rossum2001-03-012-0/+66
|
* Also accept .so as an extension for module files.Ka-Ping Yee2001-03-011-8/+4
|
* Better __credits__.Ka-Ping Yee2001-03-011-1/+2
|
* Add __author__ and __credits__ variables.Ka-Ping Yee2001-03-011-1/+2
|
* Add __author__ variable.Ka-Ping Yee2001-03-011-2/+5
| | | | Robustify: don't rely on modules being present in sys.modules.
* Docstring improvements.Ka-Ping Yee2001-03-011-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 Zadka2001-03-011-48/+115
| | | | | (please not that the library reference does *not* include the urllib2 documnetation -- that will wiat for Fred)
* Whitespace normalization.Tim Peters2001-03-011-1/+0
|
* final round of __all__ lists (I hope) - skipped urllib2 because Moshe may beSkip Montanaro2001-03-0117-1/+59
| | | | giving it a slight facelift
* move import into function to avoid having to add an __all__ list...Skip Montanaro2001-03-011-2/+2
|
* Add getlineno() routine to account for LINENO optimization.Ka-Ping Yee2001-03-011-3/+19
|
* Add tests for the .copy() methods of both weak dictionary classes.Fred Drake2001-03-011-1/+15
|
* Change WeakDictionary to WeakValueDictionary in a couple more places.Fred Drake2001-03-011-4/+7
| | | | | WeakValueDictionary.copy(), WeakKeyDictionary.copy(): Actually return the copy!
* Normalize case of paths in sys.path to avoid duplicates on Windows.Ka-Ping Yee2001-03-011-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 Hylton2001-02-283-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 raisedJeremy Hylton2001-02-281-3/+3
|
* Fix filter for SyntaxErrorsJeremy Hylton2001-02-281-4/+4
|
* Move a comment around to where it belongs (the code had alrady beenGuido van Rossum2001-02-281-1/+1
| | | | moved).
* Move some constant initialization from FTP.__init__() and FTP.connect()Fred Drake2001-02-281-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 Rossum2001-02-281-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 aloneAndrew M. Kuchling2001-02-281-2/+4
|