[issue2740] Cmd module doesn't support readline completion on OSX Leopard

2009-09-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: As mentioned before I'm closing this as "won't fix" because this is an issue with Apple's copy of Python, not the one shipped by us (the generic Python tree doesn't even compile correctly when using libedit) -- resolution: -> wont fix status: open -

[issue2740] Cmd module doesn't support readline completion on OSX Leopard

2009-03-04 Thread Ronald Oussoren
Ronald Oussoren added the comment: I intend to close this as won't fix. The issue is caused by Apple's build of Python, the generic Python.org build won't even compile when using libedit. ___ Python tracker __

[issue2740] Cmd module doesn't support readline completion on OSX Leopard

2008-05-03 Thread Ruben Kerkhof
Ruben Kerkhof <[EMAIL PROTECTED]> added the comment: Documenting this would be great, since it caught me by surprise and took a while to figure out. To get the Cmd module to work, atm you have to override the call to parse_and_bind, setting self.completekey isn't enough, so that one is broken

[issue2740] Cmd module doesn't support readline completion on OSX Leopard

2008-05-03 Thread Ronald Oussoren
Ronald Oussoren <[EMAIL PROTECTED]> added the comment: I don't really agree. Libedit's configuration is different from that of GN U readline. It might be useful to document this issue in the documentation of the readline module (and of rlcompleter). Another alternative would be to add code to

[issue2740] Cmd module doesn't support readline completion on OSX Leopard

2008-05-02 Thread Ruben Kerkhof
New submission from Ruben Kerkhof <[EMAIL PROTECTED]>: Hi, Leopard ships with libedit, which is almost the same as readline, but has another way to configure completion keys. To enable tab completion you have to use rl.parse_and_bind("bind ^I complete") instead of rl.parse_and_bind("bind ^I r