Message61199
Logged In: YES
user_id=681258
Forgive my directness, but the last post doesn't show the slightest
clue about how Python works. The existing test for a negative
shift count takes place downstream from the interpreter in the
int_lshift function in intobject.c (and the same for longobject.c).
The RFE is to replace the line that raises a Value Error exception
with a line that does something useful like flipping the sign of the
argument and delegating to int_rshift. That is a zero net change
in code complexity. The runtime of non-negative cases is
likewise unchanged. Is there someone else reading this who has
an informed opinion? |
|
Date |
User |
Action |
Args |
2008-01-20 09:59:39 | admin | link | issue1205239 messages |
2008-01-20 09:59:39 | admin | create | |
|