[ python-Bugs-1048816 ] C-k does not work for curses.textpad.Textbox

SourceForge.net noreply at sourceforge.net
Tue Oct 19 21:50:41 CEST 2004


Bugs item #1048816, was opened at 2004-10-17 15:51
Message generated for change (Comment added) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1048816&group_id=5470

Category: Python Library
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Stefan Heimann (stefanheimann)
Assigned to: A.M. Kuchling (akuchling)
Summary: C-k does not work for curses.textpad.Textbox

Initial Comment:
The bug can be reproduced by starting the textpad
module directly (by executing 'python textpad.py'
inside the curses directory). 
The you should type:

1
2
3
C-a
C-k

You would expected an empty textbox (because you first
enter the string '123', the go the the beginning of the
line and then delete until the end of the line). But
the textbox contains the text '12'.

My Python version is 2.3.3, a patch is attached.

----------------------------------------------------------------------

>Comment By: A.M. Kuchling (akuchling)
Date: 2004-10-19 15:50

Message:
Logged In: YES 
user_id=11375

Well spotted; thanks!  I've applied your patch to 2.4-CVS
and to the 2.3-maint branch, so the fix should be in Python
2.3.5, whenever it gets released.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1048816&group_id=5470


More information about the Python-bugs-list mailing list