diff options
author | Brett Cannon <bcannon@gmail.com> | 2004-03-20 22:52:14 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2004-03-20 22:52:14 (GMT) |
commit | 4f65331483197a9909b19694688c55fdf9ca7a37 (patch) | |
tree | 1d8dae183e1f6528ca75c85082c4eeb8a4e8a803 /Misc | |
parent | c69661725a9d505d8f33a4a220d5489cb1de750f (diff) | |
download | cpython-4f65331483197a9909b19694688c55fdf9ca7a37.zip cpython-4f65331483197a9909b19694688c55fdf9ca7a37.tar.gz cpython-4f65331483197a9909b19694688c55fdf9ca7a37.tar.bz2 |
Limit the nesting depth of a tuple passed as the second argument to
isinstance() or issubclass() to the recursion limit of the interpreter.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ What's New in Python 2.4 alpha 1? Core and builtins ----------------- +- Limit the nested depth of a tuple for the second argument to isinstance() + and issubclass() to the recursion limit of the interpreter. + Fixes bug #858016 . + - Optimized dict iterators, creating separate types for each and having them reveal their length. Also optimized the methods: keys(), values(), and items(). |