- 29 Aug, 2000 3 commits
-
-
Barry Warsaw authored
-
Barry Warsaw authored
of extended print. If the file object being printed to is None, then sys.stdout is used.
-
Greg Ward authored
Changed 'core.setup()' so it sets them to reasonable defaults. Tweaked how the "usage" string is generated: 'core' now provides 'gen_usage()', which is used instead of 'USAGE'. Modified "build_py" and "sdist" commands to refer to 'self.distribution.script_name' rather than 'sys.argv[0]'.
-
- 28 Aug, 2000 1 commit
-
-
Fred Drake authored
-
- 27 Aug, 2000 11 commits
-
-
Fredrik Lundh authored
-
Fredrik Lundh authored
with success. also, check return values from the mark functions. this addresses (but doesn't really solve) bug #112693, and low-memory problems reported by jack jansen.
-
Greg Ward authored
Fix bad operator precedence: should be "(metadata or '') + '\n'".
-
Thomas Wouters authored
how 'import' was called with a compiletime mechanism: create either a tuple of the import arguments, or None (in the case of a normal import), add it to the code-block constants, and load it onto the stack before calling IMPORT_NAME.
-
Tim Peters authored
-
Thomas Wouters authored
mean; the same as 'from mod import submod as s'.
-
Tim Peters authored
-
Guido van Rossum authored
PyRun_FileEx(). These are the same as their non-Ex counterparts but have an extra argument, a flag telling them to close the file when done. Then this is used by Py_Main() and execfile() to close the file after it is parsed but before it is executed. Adding APIs seems strange given the feature freeze but it's the only way I see to close the bug report without incompatible changes. [ Bug #110616 ] source file stays open after parsing is done (PR#209)
-
Fredrik Lundh authored
couple of potential stack overflows, including bug #110615. closes patch #101238
-
Thomas Wouters authored
-
Guido van Rossum authored
fork. This solves the test_fork1 problem. (ceval.c, signalmodule.c, intrcheck.c) SourceForge: [ Patch #101226 ] make threading fork-safe
-
- 26 Aug, 2000 9 commits
-
-
Tim Peters authored
-
Thomas Wouters authored
-
Thomas Wouters authored
-
Moshe Zadka authored
Again due to the duplicate copies of test_support, the checked-in "expected output" file actually contains verbose-mode output.
-
Tim Peters authored
subtle breakage on Windows (the test is skipped here, but the TestSkipped exception wasn't recognized as such, because of duplicate copies of test_support got loaded; so the test looks like a failure under Windows instead of a skip). Repaired the import, but THIS TEST *WILL* FAIL ON OTHER SYSTEMS NOW! Again due to the duplicate copies of test_support, the checked-in "expected output" file actually contains verbose-mode output. I can't generate the *correct* non-verbose output on my system. So, somebody please do that.
-
Tim Peters authored
Windows "inconsistent linkage" warnings at the same time. I agree with Mark Hammond that the whole DL_IMPORT/DL_EXPORT macro system needs an overhaul; this is just an expedient hack until then.
-
Greg Ward authored
The known bug (bogus error message when an empty file is extracted) is fixed. Other changes: - The target-compile and target-optimize flags of bdist_wininst are gone. It is no longer possible to compile the python files during installation. - The zlib module is no longer required or used by bdist_wininst. - I moved the decompression/extraction code into a separate file (extract.c). - The installer stub is now compressed by UPX (see http://upx.tsx.org/). This reduces the size of the exe (and thus the overhead of the final installer program) from 40 kB to 16 kB. - The installer displays a more uptodate user wizard-like user interface, also containing a graphic: Just's Python Powered logo. (I could not convince myself to use one of the BeOpen logos). - The installation progress bar now moves correctly.
-
Greg Ward authored
-
Greg Ward authored
don't assign None to any attributes of the Extension object.
-
- 25 Aug, 2000 16 commits
-
-
Marc-André Lemburg authored
-
Fred Drake authored
Add some test cases.
-
Marc-André Lemburg authored
file.writelines() now tries to emulate the behaviour of file.write() as closely as possible. Due to the problems with releasing the interpreter lock the solution isn't exactly optimal, but still better than not supporting the file.write() semantics at all.
-
Marc-André Lemburg authored
-
Marc-André Lemburg authored
to be extended somewhat -- right now it only tests the .writelines() method.
-
Jack Jansen authored
How-to document for using Python for CGI scripting. Not complete and untested, but I'm checking it in so it won't get lost.
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
GetDialogWindow() returns an existing window. Added a comment that the methodchain Dialogs->Windows is suspect under Carbon/MacOSX, but we need it under Carbon. No solution yet:-(
-
Jack Jansen authored
-
Jack Jansen authored
Window objects now also have an AutoDispose funcpointer (set for our windows, cleared for foreign windows). Needed mainly for Carbon (where we don't know about the windows belonging to our dialogs). Fixed a few calls that return an ExistingWindow.
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
- Renamed socket to _socket.
-
Jack Jansen authored
Don't use our own malloc any more. It made test_longexp crash due to its optimization to lock blocks into a specific size malloc requests. This loses 15% performance, but that we'll have to live with:-(
-