[Python-checkins] r59575 - python/trunk/Python/compile.c
raymond.hettinger
python-checkins at python.org
Wed Dec 19 23:14:34 CET 2007
Author: raymond.hettinger
Date: Wed Dec 19 23:14:34 2007
New Revision: 59575
Modified:
python/trunk/Python/compile.c
Log:
Bigger range for non-extended opargs.
Modified: python/trunk/Python/compile.c
==============================================================================
--- python/trunk/Python/compile.c (original)
+++ python/trunk/Python/compile.c Wed Dec 19 23:14:34 2007
@@ -2923,7 +2923,7 @@
return compiler_ifexp(c, e);
case Dict_kind:
n = asdl_seq_LEN(e->v.Dict.values);
- ADDOP_I(c, BUILD_MAP, (n>255 ? 255 : n));
+ ADDOP_I(c, BUILD_MAP, (n>0xFFFF ? 0xFFFF : n));
for (i = 0; i < n; i++) {
VISIT(c, expr,
(expr_ty)asdl_seq_GET(e->v.Dict.values, i));
More information about the Python-checkins
mailing list