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.
Created on 2007年06月27日 20:37 by strank, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| readline_callback.patch | strank, 2007年06月27日 20:37 | review | ||
| Messages (5) | |||
|---|---|---|---|
| msg52806 - (view) | Author: strank (strank) | Date: 2007年06月27日 20:37 | |
Expose the callback API of GNU readline. Patch contains changes to readline.c and libreadline.tex, I did not find a unit-test for readline so there are no tests. One of the readline functions (callback_read_char) can potentially call abort(). This can happen on the interactive prompt, but I think that this is not a problem, since using this API from the interactive prompt (which itself uses it) does not make sense anyway. cheers, stefan |
|||
| msg116695 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2010年09月17日 17:54 | |
Is there anyone who'd like to see this functionality exposed who could review this C code patch? |
|||
| msg116707 - (view) | Author: Ned Deily (ned.deily) * (Python committer) | Date: 2010年09月17日 18:46 | |
This appears to be a duplicate of Issue1175004; both supply patches to implement readline callbacks. Suggest that anyone moving forward with this review both patches. |
|||
| msg203192 - (view) | Author: Christian Heimes (christian.heimes) * (Python committer) | Date: 2013年11月17日 15:27 | |
Closing as duplicate |
|||
| msg247842 - (view) | Author: Martin Panter (martin.panter) * (Python committer) | Date: 2015年08月02日 00:47 | |
I don’t think this is a duplicate. The patch here wraps the non-blocking "alternate interface" <https://cnswww.cns.cwru.edu/php/chet/readline/readline.html#SEC41>: rl_callback_read_char() etc. The patch in Issue 1175004 wraps other APIs, including rl_add_defun() <https://cnswww.cns.cwru.edu/php/chet/readline/readline.html#SEC30>. So if someone was interested in pushing this forward, perhaps it could be reopened. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:25 | admin | set | github: 45135 |
| 2015年08月02日 00:47:16 | martin.panter | set | nosy:
+ martin.panter title: Patch for feat. 1713877 Expose callbackAPI in readline module -> Expose non-blocking callbackAPI in readline module messages: + msg247842 resolution: duplicate -> stage: resolved -> needs patch |
| 2013年11月17日 15:27:51 | christian.heimes | set | status: open -> closed stage: patch review -> resolved messages: + msg203192 versions: + Python 3.4, - Python 3.2 |
| 2010年09月17日 18:46:29 | ned.deily | set | nosy:
+ ned.deily messages: + msg116707 resolution: duplicate superseder: Export more libreadline API functions |
| 2010年09月17日 17:54:42 | BreamoreBoy | set | nosy:
+ BreamoreBoy messages: + msg116695 |
| 2010年07月10日 10:26:25 | georg.brandl | link | issue1713877 superseder |
| 2010年07月10日 10:26:25 | georg.brandl | unlink | issue1713877 dependencies |
| 2010年07月10日 10:08:43 | BreamoreBoy | set | nosy:
+ christian.heimes versions: + Python 3.2, - Python 3.1, Python 2.7 |
| 2009年04月06日 10:30:33 | ajaksu2 | set | title: Patch for feat. 713877 Expose callbackAPI in readline module -> Patch for feat. 1713877 Expose callbackAPI in readline module stage: patch review type: enhancement versions: + Python 3.1, Python 2.7, - Python 2.6 |
| 2009年04月06日 10:30:10 | ajaksu2 | link | issue1713877 dependencies |
| 2007年06月27日 20:37:52 | strank | create | |