- 01 Apr, 2002 21 commits
-
-
Tim Peters authored
possible pool states. I think it's much clearer now. Added a new long overdue block-management overview comment block. I believe the comments are in good shape now. Added two comments about possible small optimizations (one getting rid of runtime multiplications at the cost of a new pool_header member; the other getting rid of runtime divisions and the pool_header capacity member, at the cost of a static const vector of 32 uints).
-
Andrew M. Kuchling authored
Fix two typos spotted by Joonas Paalasmaa
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Jeremy Hylton authored
Split the description of co_flags into two paragraphs. The first describes the flags that are used for non-future purposes, where CO_GENERATOR was added. The second describes __future__'s use of co_flags and mentions the only one currently meaningful, CO_FUTURE_DIVISION.
-
Fred Drake authored
-
Jeremy Hylton authored
func_closure is a readonly attribute. Add \ttindex{} for func_closure. Remove discussion of func_closure specific to 2.1.
-
Martin v. Löwis authored
-
Fred Drake authored
directly.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
Convert to use PyModule_*() instead of manipulating the module dict directly.
-
Martin v. Löwis authored
-
Tim Peters authored
This displays stats about the # of arenas, pools, blocks and bytes, to stderr, both used and reserved but unused. CAUTION: Because PYMALLOC_DEBUG is on, the debug malloc routine adds 16 bytes to each request. This makes each block appear two size classes higher than it would be if PYMALLOC_DEBUG weren't on. So far, playing with this confirms the obvious: there's a lot of activity in the "small dict" size class, but nothing in the core makes any use of the 8-byte or 16-byte classes.
-
Tim Peters authored
-
Fred Drake authored
directly.
-
Neal Norwitz authored
-
Neal Norwitz authored
Fix floating point exception if mpz.powm(10, 1, 0) (modulus == 0). Add a test.
-
Tim Peters authored
I left the email pkg alone; I'm not sure how Barry would like to handle that.
-
Neal Norwitz authored
Add test for file.readinto().
-
- 31 Mar, 2002 19 commits
-
-
Guido van Rossum authored
I really can't test this, but from reading the discussion in that bug report, it's likely that this works. It may also close a whole bunch of other bug reports related to urllib and proxies on Windows, but who knows.
-
Neal Norwitz authored
-
Jack Jansen authored
in OSX MacPython (untested), and should be disabled/removed in OS9 (but that doesn't happen yet).
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
Use METH_OLDARGS explicitly rather than implicitly.
-
Neal Norwitz authored
-
Neal Norwitz authored
Please review for correctness.
-
Neal Norwitz authored
Convert METH_OLDARGS -> METH_VARARGS: also PyArg_Parse -> PyArg_ParseTuple Convert METH_OLDARGS -> METH_NOARGS: remove args parameter Please review. All tests pass, but some modules don't have tests. I spot checked various functions to try to make sure nothing broke.
-
Neal Norwitz authored
These should be safe.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Tim Peters authored
with each other.
-
Tim Peters authored
-
Tim Peters authored
-