[issue1554133] PyOS_InputHook() and related API funcs. not documented

2013-05-28 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 672614d809a1 by Andrew Kuchling in branch 'default':
#1554133: Document PyOS_InputHook, PyOS_ReadlineFunctionPointer
http://hg.python.org/cpython/rev/672614d809a1

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1554133
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1554133] PyOS_InputHook() and related API funcs. not documented

2013-05-28 Thread A.M. Kuchling

Changes by A.M. Kuchling li...@amk.ca:


--
resolution:  - fixed
stage: commit review - committed/rejected
status: open - closed
versions:  -Python 2.7, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1554133
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1554133] PyOS_InputHook() and related API funcs. not documented

2013-05-24 Thread A.M. Kuchling

A.M. Kuchling added the comment:

Here's a proposed patch to the c-api manual that describes these two pointers.  
I put them in the 'very high-level API' section. Maybe they belong in the 
Operating System Utilities section instead, but I think they're intertwined 
with the interpreter loop and therefore belong in the 'very high-level' section.

--
Added file: http://bugs.python.org/file30362/inputhook.txt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1554133
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1554133] PyOS_InputHook() and related API funcs. not documented

2013-05-24 Thread Terry J. Reedy

Terry J. Reedy added the comment:

I am not a C-api user, but the entries are pretty clear to me and seem ready to 
apply. The usage examples are a nice touch. OS Utilites is not where I would 
expect interpreter loop hooks, so I think the current location is better.

--
stage:  - commit review
versions: +Python 3.4 -Python 3.1, Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1554133
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1554133] PyOS_InputHook() and related API funcs. not documented

2013-05-24 Thread A.M. Kuchling

A.M. Kuchling added the comment:

One question about the patch: how to give the prototype expected for the 
function?  I currently have it as:

char *(*PyOS_ReadlineFunctionPointer)(FILE *stdin, FILE *stdout, char *prompt)

Would it be better with a trivial function name, as in:

char *func(FILE *stdin, FILE *stdout, char *prompt)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1554133
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1554133] PyOS_InputHook() and related API funcs. not documented

2013-05-24 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Can one of you three answer Kuchling's question about formatting a data entry 
that consists of a function pointer with function signature?

--
nosy: +eric.araujo, ezio.melotti, georg.brandl

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1554133
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1554133] PyOS_InputHook() and related API funcs. not documented

2011-03-08 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

A.B, I believe you have looked at other areas of missing C-API docs. What do 
you think of this one? Is it still missing?

--
nosy: +belopolsky, terry.reedy
versions: +Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1554133
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1554133] PyOS_InputHook() and related API funcs. not documented

2010-08-24 Thread Mark Lawrence

Changes by Mark Lawrence breamore...@yahoo.co.uk:


--
assignee:  - d...@python
nosy: +d...@python

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1554133
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1554133] PyOS_InputHook() and related API funcs. not documented

2010-08-07 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
versions:  -Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1554133
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1554133] PyOS_InputHook() and related API funcs. not documented

2010-07-10 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
versions: +Python 2.7, Python 3.1, Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1554133
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1554133] PyOS_InputHook() and related API funcs. not documented

2009-03-29 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

The only mention I can find is in Misc/HISTORY:
When the interpreter shell is invoked interactively, it attempts
to import the readline module; when this fails, the default input
mechanism is used.  The hook variables are PyOS_InputHook and
PyOS_ReadlineFunctionPointer.

--
nosy: +ajaksu2
type:  - feature request

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1554133
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com