- 01 Apr, 2002 33 commits
-
-
Jeremy Hylton authored
the manual refer to it. XXX Not sure that it belongs in this section, or that the concept is particularly important for writing documentation. Perhaps references to the frame should be removed entirely.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
free variable and is subject to those rules.
-
Jeremy Hylton authored
function is enforced.
-
Jeremy Hylton authored
Names bound by import statements may not occur in global statements in the same scope. Why not?
-
Jeremy Hylton authored
Note that deleteing an unbound local will raise a NameError.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
How do I create a cross reference to section 4.1?
-
Jeremy Hylton authored
Replace section 4.1 with section A.3. The new section 4.1 is titled "Naming and binding." It includes the text of section A.3 augmented with some of the detailed text from the old section 4.1. The \dfn, \index stuff is probably wrong, but I tried. Also update other parts of appendix A to mention that nested scopes and generators are standard features.
-
Fred Drake authored
-
Tim Peters authored
-
Andrew M. Kuchling authored
Add an item
-
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 7 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
-