
Oct. 11, 2000
2:41 p.m.
Suggest replacing it with:
assert(!"Invalid argument to DUP_TOPX");
Actually, I would recommend Py_FatalError("Invalid argument to DUP_TOPX") It's not quite the same since it also triggers in release mode. If, as Thomas says, this should never happen and can only be caused by garbled bytecode, a fatal error is proper rather than a SystemError. --Guido van Rossum (home page: http://www.python.org/~guido/)