diff options
author | Guido van Rossum <guido@python.org> | 2001-08-17 16:47:50 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-08-17 16:47:50 (GMT) |
commit | 1a49350e8d7fdf7c847cc41bc1d3511dd203320d (patch) | |
tree | 20b5eb20413550d1f150fadbe7526568a0b8529c /README | |
parent | 7cb32ae7bf1a9c3b9ce1ee0d93894a7a528a2a6f (diff) | |
download | cpython-1a49350e8d7fdf7c847cc41bc1d3511dd203320d.zip cpython-1a49350e8d7fdf7c847cc41bc1d3511dd203320d.tar.gz cpython-1a49350e8d7fdf7c847cc41bc1d3511dd203320d.tar.bz2 |
type_new(): look for __dynamic__ at the module level (after looking in
the class dict). Anything but a nonnegative int in either place is
*ignored* (before, a non-Boolean was an error). The default is still
static -- in a comparative test, Jeremy's Tools/compiler package ran
twice as slow (compiling itself) using dynamic as the default. (The
static version, which requires a few tweaks to avoid modifying class
variables, runs at about the same speed as the classic version.)
slot_tp_descr_get(): this also needed fallback behavior.
slot_tp_getattro(): remove a debug fprintf() call.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions