The reason I asked on this in the first place is I had looked through the python source to make sure PyObject_Call had no equivalent that supported keywords, and since I needed to do this I figured it might be worth considering for Pythons API.
Im sure everyone could write their own PyObject_Call, if they had to but thats what the API's for. Hrvoje Nikšić wrote: > On Wed, 2007-06-20 at 19:26 +0200, "Martin v. Löwis" wrote: >> As Hrvoje says: try python-list (aka comp.lang.python). If you don't >> get an answer, you didn't phrase your question interestingly enough, >> or nobody knows the answer, or nobody has the time to tell you. > > The thing with comp.lang.python is that it is followed by a large number > of Python users, but a much smaller number of the C API users -- which > is only natural, since the group is about Python, not about C. For most > users the Python/C API is an implementation detail which they never have > to worry about. > > Futrhermore, questions about the C API often concern CPython > implementation details and so they don't feel like they would belong in > comp.lang.python. As an experiment, it might make sense to open a > mailing list dedicated to the Python C API. It could become a useful > support forum for extension writers (a group very useful to Python) and > maybe even a melting pot for new ideas regarding CPython, much like > comp.lang.python historically provided ideas for Python the language. Agree a Python/C API List would be great, in fact I cant see any reasons not to have it- likely the pure python users dont want to know about refcounting problems.. etc anyway. http://mail.python.org/mailman/listinfo http://www.python.org/community/sigs/ There are lists/newsgroup for py2exe and pyrex, Python-ObjectiveC etc, Python/C API seems much more generic, and its also fairly tricky to use at times - when doing more advanced stuff (subtyping has been tricky for me anyway). I expect the dev's of pyrex, pygame etc might also need to discuss C API spesific issues as well. Iv had roughly this conversation in IRC... Q. Hi, Id like to know how wrap python subtype methods in the C API A. C dosnt have classes, use C++ Q. no I want to use pythons C API, A. Subtypes are easy to do in python.. ...... you get the idea... Quite a few "python only" users dont understand where the Python/C API fits in and its annoying to have to explain the question each time (yes, Iv had these conversations more then once) - Cam _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com