diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-05-08 08:44:21 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-05-08 08:44:21 (GMT) |
commit | 01f94bda38b8f9956cfa1b227f2ebdb8ea2dfdd7 (patch) | |
tree | 07d60d276dc54212ddf73496f865f00c6821417c /Misc | |
parent | 000e37c3c433f42bafc68eee78633da147734808 (diff) | |
download | cpython-01f94bda38b8f9956cfa1b227f2ebdb8ea2dfdd7.zip cpython-01f94bda38b8f9956cfa1b227f2ebdb8ea2dfdd7.tar.gz cpython-01f94bda38b8f9956cfa1b227f2ebdb8ea2dfdd7.tar.bz2 |
Patch #552433: Special-case tuples. Avoid sub-type checking for lists.
Avoid checks for negative indices and duplicate checks for support of
the sequence protocol.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -192,6 +192,10 @@ Build C API +- Added new macro PySequence_ITEM(o, i) that directly calls + sq_item without rechecking that o is a sequence and without + adjusting for negative indices. + - PyRange_New() now raises ValueError if the fourth argument is not 1. This is part of the removal of deprecated features of the xrange object. |