summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Extra fix from bbum (SF #402357) for his previous patch:Guido van Rossum2001-03-021-1/+1
| | | | | It should use the normal CC referenced compiler as ObjC is integrated directly into gcc and enabled through the use of the -ObjC flag.
* 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.
* Fix typo in RISCOS patch inside MS #ifdef. (Probably my own fingers.)Guido van Rossum2001-03-021-1/+1
|
* Add more protection around the VSWTC/VSWTCH, CRTSCTS, and XTABS symbols;Fred Drake2001-03-021-1/+9
| | | | | | | | | these can be missing on some (all?) Irix and Tru64 versions. Protect the CRTSCTS value with a cast; this can be a larger value on Solaris/SPARC. This should fix SF tracker items #405092, #405350, and #405355.
* ROSCOS change.Guido van Rossum2001-03-021-0/+8
|
* Dietmar Schwertberger; shuffled a bunch of Sch* names in alphabeticalGuido van Rossum2001-03-021-2/+3
| | | | order.
* RISCOS changes by dschwertberger.Guido van Rossum2001-03-026-24/+64
|
* Use != instead of <>. Sorry, Barry.Guido van Rossum2001-03-021-3/+3
|
* RISCOS changes by dschwertberger.Guido van Rossum2001-03-025-107/+257
|
* RISCOS changes by dschwertbergerGuido van Rossum2001-03-022-0/+13
|
* Disable the dl moduleAndrew M. Kuchling2001-03-021-1/+1
|
* RISCOS changes by dschwertberger.Guido van Rossum2001-03-021-0/+23
|
* RISCOS patch by dschwertbergerGuido van Rossum2001-03-021-0/+7
|
* 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-0216-0/+3089
|
* 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
|
* Add a new item to the Python 2.1 start menu: "Module Docs".Guido van Rossum2001-03-021-0/+14
| | | | | | This brings up Ping's pydoc server. (XXX The icons for this and for IDLE seem screwed. Oh well.)
* 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.
* Refactored the warning-issuing code more.Guido van Rossum2001-03-021-11/+17
| | | | | | Made sure that the warnings issued by symtable_check_unoptimized() (about import * and exec) contain the proper filename and line number, and are transformed into SyntaxError exceptions with -Werror.
* Thanks to Steven Majewski, finally putting MacOS X imports to bed for 2.1b1.Tim Peters2001-03-021-9/+3
|
* Typo repair.Tim Peters2001-03-021-1/+1
|
* Added William Tanksley.Tim Peters2001-03-021-0/+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.
* - Numeric now lives in Lib:site-python.Jack Jansen2001-03-011-1/+1
| | | | | - Imaging and Numeric are now also available under Carbon. - Started working on the active installer.
* - Numeric now lives in Lib:site-python.Jack Jansen2001-03-011-46/+5
| | | | - Imaging and Numeric are now also available under Carbon.
* Removed some stuff that shouldn't be in the dev distribution.Jack Jansen2001-03-011-16/+8
|
* Removed Extensions:Numeric from sys.path. It now lives in Lib:site-python.Jack Jansen2001-03-011-2/+0
|
* Silly typo which caused the stack browser to crash.Jack Jansen2001-03-011-1/+1
|
* Also build Imaging for Carbon.Jack Jansen2001-03-011-17/+1
|
* Useful future statement support for the interactive interpreterJeremy Hylton2001-03-014-26/+59
| | | | | | | | | | | | | | | | | | | | | | | | (Also remove warning about module-level global decl, because we can't distinguish from code passed to exec.) Define PyCompilerFlags type contains a single element, cf_nested_scopes, that is true if a nested scopes future statement has been entered at the interactive prompt. New API functions: PyNode_CompileFlags() PyRun_InteractiveOneFlags() -- same as their non Flags counterparts except that the take an optional PyCompilerFlags pointer compile.c: In jcompile() use PyCompilerFlags argument. If cf_nested_scopes is true, compile code with nested scopes. If it is false, but the code has a valid future nested scopes statement, set it to true. pythonrun.c: Create a new PyCompilerFlags object in PyRun_InteractiveLoop() and thread it through to PyRun_InteractiveOneFlags().
* Put current date into POT-Creation-Date; leave PO-Revision-Date forMartin v. Löwis2001-03-011-2/+3
| | | | for the translator to update; that is compatible with xgettext 0.10.35.
* Thank Jason Tishler and Steven Majewski for their help in the Cygwin andTim Peters2001-03-011-2/+10
| | | | MacOS X ports. Change section header to beta 1.
* Solaris defines VSWTCH instead of VSWTC; carefully make sure both areFred Drake2001-03-011-0/+11
| | | | | | | | | | defined and export both names. Solaris also does not define CBAUDEX; it is not clear that CBAUDEXT (which is defined there) is the same thing, so we only protect against the lack of CBAUDEX. Reported by Greg V. Wilson.
* Wrap some long lines, use only C89 /* */ comments, and add spaces aroundFred Drake2001-03-011-14/+15
| | | | some operators (style guide conformance).
* Add Samuele PedroniGuido van Rossum2001-03-011-0/+1
|
* Test interaction of global and nested scopes -- thanks to Samuele Pedroni.Guido van Rossum2001-03-012-0/+66
|
* Added entry for urllib2 documentation.Fred Drake2001-03-012-0/+2
|
* Also accept .so as an extension for module files.Ka-Ping Yee2001-03-011-8/+4
|