- 14 Nis, 2002 3 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
- 13 Nis, 2002 9 kayıt (commit)
-
-
Fred Drake yazdı
-
Neal Norwitz yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Tim Peters yazdı
Added code to call this when PYMALLOC_DEBUG is enabled, and envar PYTHONMALLOCSTATS is set, whenever a new arena is obtained and once late in the Python shutdown process.
-
Tim Peters yazdı
Put a bound on the number of frameobjects that can live in the frameobject free_list. Am also backporting to 2.2. I don't intend to backport to 2.1 (too much work -- lots of cyclic structures leak there, and the GC API).
-
Fred Drake yazdı
methods. Part of SF feature #444708.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Add optional arg to string methods strip(), lstrip(), rstrip(). The optional arg specifies characters to delete. Also for UserString. Still to do: - Misc/NEWS - LaTeX docs (I did the docstrings though) - Unicode methods, and Unicode support in the string methods.
-
- 12 Nis, 2002 28 kayıt (commit)
-
-
Neil Schemenauer yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Tim Peters yazdı
_PyObject_DebugMalloc: explicitly cast PyObject_Malloc's result to the target pointer type. _PyObject_DebugDumpStats: change decl of arena_alignment from unsigned int to unsigned long. This is for the 2.3 release only (it's new code).
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
(The real issue is whether modules can benefit from an alternate implementation strategy rather than using a dictionary. We should migrate away from direct dictionary manipulation to allow more room for Jeremy to flex the implementation with changes in globals lookup.)
-
Guido van Rossum yazdı
-
Fred Drake yazdı
Clean up the example of exporting a C-callable API from an extension module. Add a hyperlink to a related section in the Python/C API reference.
-
Fred Drake yazdı
PyModule_GetDict(), which is also more flexible: it does not assume that the "module" is a real module.
-
Fred Drake yazdı
Change a section title to fit in better.
-
Martin v. Löwis yazdı
-
Guido van Rossum yazdı
The test function's signature should be test(methodname, input, output, *args) but the output argument was omitted. This caused all tests to fail, because the expected output was passed as the initial argument to the method call. But because of the way the test works (it compares the results for a regular string to the results for a UserString instance with the same value, and it's OK if both raise the same exception) the test never failed! I've fixed this, and also cleaned up a few warts in the verbose output. Finally, I've made it possible to run the test stand-alone in verbose mode by passing -v as a command line argument. Now, the test will report failure related to zfill. That's not my fault, that's a legitimate problem: the string_tests.py file contains a test for the zfill() method (just added) but this method is not implemented. The responsible party will surely fix this soon now.
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Neal Norwitz yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Jack Jansen yazdı
- Added a debug class variable to enable parser debugging.
-
Jack Jansen yazdı
or v.v.
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Tim Peters yazdı
most of the work. In particular, if the underlying realloc is able to grow the memory block in place, great (this routine used to do a fresh malloc + memcpy every time a block grew). BTW, I'm not so keen here on avoiding possible quadratic-time realloc patterns as I am on making the debug pymalloc more invisible (the more it uses memory "just like" the underlying allocator, the better the chance that a suspected memory corruption bug won't vanish when the debug malloc is turned on).
-
Tim Peters yazdı
-