summaryrefslogtreecommitdiffstats
path: root/Python/pyarena.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters2006-04-211-5/+41
| | | | | | | | | | | | | | | | | | | | number of tests, all because of the codecs/_multibytecodecs issue described here (it's not a Py3K issue, just something Py3K discovers): http://mail.python.org/pipermail/python-dev/2006-April/064051.html Hye-Shik Chang promised to look for a fix, so no need to fix it here. The tests that are expected to break are: test_codecencodings_cn test_codecencodings_hk test_codecencodings_jp test_codecencodings_kr test_codecencodings_tw test_codecs test_multibytecodec This merge fixes an actual test failure (test_weakref) in this branch, though, so I believe merging is the right thing to do anyway.
* Document the purpose of the struct _block members.Tim Peters2006-03-021-1/+18
|
* Added words about what PyArena_Malloc() does.Tim Peters2006-03-021-1/+1
|
* Trimmed trailing whitespace.Tim Peters2006-03-021-6/+6
|
* Add missing DECREF.Jeremy Hylton2006-03-011-1/+5
|
* Add some stats collection in debugging mode.Jeremy Hylton2006-02-281-3/+41
| | | | No good way to extract output yet.
* Use simple PyList to implement list of PyObject pointersJeremy Hylton2006-02-281-44/+20
|
* TabifyJeremy Hylton2006-02-281-84/+87
|
* Real arena implementationJeremy Hylton2006-02-281-62/+80
| | | | | Replace the toy arena implementation with a real one, based on allocating 8K chunks of memory by default.
* fixed compilation with an ordinary C89 compilerFredrik Lundh2005-12-181-2/+2
|
* Cleanup a bit and make things more consistent.Neal Norwitz2005-12-181-7/+2
| | | | | Don't double check for NULLs and don't initialize if not necessary. No functional changes.
* Merge from ast-arena. This reduces the code in Python/ast.c by ~300 lines,Neal Norwitz2005-12-171-0/+133
simplifies a lot of error handling code, and fixes many memory leaks.