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 roger.serwy
Recipients roger.serwy
Date 2008年09月12日.20:20:34
SpamBayes Score 0.0054156645
Marked as misclassified No
Message-id <1221250835.7.0.322524713176.issue3851@psf.upfronthosting.co.za>
In-reply-to
Content
Pressing "Home" on Windows XP in the PyShell window places the cursor
before ">>>" instead of after it. On Linux, this behaves correctly.
The problem is in PyShell.py in the home_callback(). At line 1064:
if event.state != 0 and event.keysym == "Home":
 return
"event.state" returns 8 on Windows when Home is pressed, thus the
callback never executes. Here are two solutions:
event.mc_state != 0
or
(event.state & 1) != 0
This fixes the problem on Windows, and still works under Linux.
History
Date User Action Args
2008年09月12日 20:20:35roger.serwysetrecipients: + roger.serwy
2008年09月12日 20:20:35roger.serwysetmessageid: <1221250835.7.0.322524713176.issue3851@psf.upfronthosting.co.za>
2008年09月12日 20:20:35roger.serwylinkissue3851 messages
2008年09月12日 20:20:34roger.serwycreate

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