- 04 Apr, 2002 19 commits
-
-
Fred Drake authored
This closes SF patch #523415.
-
Tim Peters authored
Fix Windows-specific install glitch. Tested on Win2K, but I can't test on XP. Already checked in to the release22-maint branch.
-
Fred Drake authored
-
Fred Drake authored
We should get attributes from the right object.
-
Fred Drake authored
to be archived. Most of these are pretty bland. ;-)
-
Fred Drake authored
ContentHandler. While GC will eventually clean up, it can take longer than normal for applications that create a lot of strings (or other immutables) rather without creating many containers. This closes SF bug #535474.
-
Guido van Rossum authored
permission from Paul Everitt). Also removed a few other references to Digital Creations and changed the remaining ones to Zope Corporation.
-
Guido van Rossum authored
got to admit that I haven't reviewed this carefully, but it looks okay from 30,000 views, and doesn't break anything. (SF patch 536407.)
-
Guido van Rossum authored
-
Guido van Rossum authored
Bugfix candidate.
-
Marc-André Lemburg authored
-
Marc-André Lemburg authored
Fixed a few compiler warnings. freeze.py now produces binaries which can import shared modules (unlike before).
-
Guido van Rossum authored
-
Neal Norwitz authored
-
Tim Peters authored
-
Tim Peters authored
what these do given a 0 size argument. This is so that when pymalloc is enabled, we don't need to wrap pymalloc calls in goofy little routines special-casing 0. Note that it's virtually impossible to meet the doc's promise that malloc(0) will never return NULL; this makes a best effort, but not an insane effort. The code does promise that realloc(not-NULL, 0) will never return NULL (malloc(0) is much harder). _PyMalloc_Realloc: Changed to take over all requests for 0 bytes, and rearranged to be a little quicker in expected cases. All over the place: when resorting to the platform allocator, call free/malloc/realloc directly, without indirecting thru macros. This should avoid needing a nightmarish pile of #ifdef-ery if PYMALLOC_DEBUG is changed so that pymalloc takes over all Py(Mem, Object} memory operations (which would add useful debugging info to PyMem_xyz allocations too).
-
Fred Drake authored
This closes SF bug #539081.
-
Guido van Rossum authored
-
Tim Peters authored
-
- 03 Apr, 2002 12 commits
-
-
Guido van Rossum authored
-
Andrew M. Kuchling authored
-
Guido van Rossum authored
PEP 285. Everything described in the PEP is here, and there is even some documentation. I had to fix 12 unit tests; all but one of these were printing Boolean outcomes that changed from 0/1 to False/True. (The exception is test_unicode.py, which did a type(x) == type(y) style comparison. I could've fixed that with a single line using issubtype(x, type(y)), but instead chose to be explicit about those places where a bool is expected. Still to do: perhaps more documentation; change standard library modules to return False/True from predicates.
-
Jack Jansen authored
code (if it isn't open already). PythonIDE still opens the resource file "manually" because it also uses presence of the CURS resource to determine whether it needs to adjust sys.path.
-
Fred Drake authored
-
Fred Drake authored
PyArg_ParseTuple() as part of the format string.
-
Fred Drake authored
-
Jack Jansen authored
-
Fred Drake authored
-
Fred Drake authored
-
Guido van Rossum authored
-
Mark Hammond authored
457466: popenx() argument mangling hangs python 226766: popen('python -c"...."') tends to hang Fixes argument quoting in w9xpopen.exe for Windows 9x. w9xpopen.exe also never attempts to display a MessageBox when not executed interactively. Added test_popen() test. This test currently just executes "python -c ..." as a child process, and checks that the expected arguments were all recieved correctly by the child process. This test succeeds for me on Win9x, win2k and Linux, and I hope it does for other popen supported platforms too :)
-
- 02 Apr, 2002 7 commits
-
-
Neal Norwitz authored
Please review.
-
Neal Norwitz authored
PyArg_Parse( "s" ) -> PyString_AsString PyArg_Parse( "t#" ) -> PyString_AsStringAndSize
-
Guido van Rossum authored
broken w/ classmethods. Bugfix candidate.
-
Fred Drake authored
Minor cleanups.
-
Guido van Rossum authored
that it works. Bugfix candidate (this and the previous checkin, obviously).
-
Andrew M. Kuchling authored
-
Fred Drake authored
Partly responds to SF bug #505152.
-
- 01 Apr, 2002 2 commits
-
-
Fred Drake authored
on how a system is configured. This closes SF bug #497160 (which has the patch) and #460613. Bugfix candidate.
-
Fred Drake authored
Clarify that os.waitpid() on Windows takes a process handle, not a process ID. This closes SF bug #537582.
-