- 02 Mar, 2001 32 commits
-
-
Guido van Rossum authored
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.
-
Guido van Rossum authored
-
Fred Drake authored
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.
-
Guido van Rossum authored
-
Guido van Rossum authored
order.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Andrew M. Kuchling authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Ka-Ping Yee authored
-
Guido van Rossum authored
-
Ka-Ping Yee authored
-
Guido van Rossum authored
SF patch #404564, Gregor Hoffleit.
-
Ka-Ping Yee authored
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.
-
Ka-Ping Yee authored
-
Guido van Rossum authored
-
Guido van Rossum authored
This brings up Ping's pydoc server. (XXX The icons for this and for IDLE seem screwed. Oh well.)
-
Guido van Rossum authored
than "more file". Since tempfilepager() is only used on Windows, it seems, do this unconditionally -- on Unix, it always invokes something else.
-
Guido van Rossum authored
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.
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
Suggested on c.l.py by William Tanksley, and I like it.
-
Ka-Ping Yee authored
Remove __main__ from the index of built-in modules. Miscellaneous compatibility fixes.
-
Ka-Ping Yee authored
Add getabsfile() for getting a most-normalized path.
-
Ka-Ping Yee authored
Remove -no-about-splash option (not understood by all Netscapes).
-
Tim Peters authored
-
Ka-Ping Yee authored
-
Ka-Ping Yee authored
When possible, display strings containing backslashes using r'' notation.
-
- 01 Mar, 2001 8 commits
-
-
Jack Jansen authored
- Imaging and Numeric are now also available under Carbon. - Started working on the active installer.
-
Jack Jansen authored
- Imaging and Numeric are now also available under Carbon.
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jeremy Hylton authored
(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().
-
Martin v. Löwis authored
for the translator to update; that is compatible with xgettext 0.10.35.
-