homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dtorp
Recipients
Date 2005年05月27日.18:49:08
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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?
History
Date User Action Args
2008年01月20日 09:59:39adminlinkissue1205239 messages
2008年01月20日 09:59:39admincreate

AltStyle によって変換されたページ (->オリジナル) /