diff options
author | Raymond Hettinger <python@rcn.com> | 2013-07-07 01:43:42 -1000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2013-07-07 01:43:42 -1000 |
commit | 6cfac2410435899c0dba8d23f3070c5ecbd9a20b (patch) | |
tree | 36629a7ca152bf024f0fab57b7a6d107d32a9805 /Python/pythonrun.c | |
parent | f8504af7549ea95ff217688a9d4032ff2a0ac50d (diff) | |
download | cpython-6cfac2410435899c0dba8d23f3070c5ecbd9a20b.tar.gz |
Use macros for marking and checking endpoints in the doubly-linked list of blocks.
* Add comment explaining the endpoint checks
* Only do the checks in a debug build
* Simplify newblock() to only require a length argument
and leave the link updates to the calling code.
* Also add comment for the freelisting logic.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions