[issue17363] Argument Mixup in PyState_AddModule

2013-03-05 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: docs@python -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> enhancement versions: +Python 3.4 ___ Pytho

[issue17363] Argument Mixup in PyState_AddModule

2013-03-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 29d5bc1226f9 by Ezio Melotti in branch '3.3': #17363: fix arguments in PyState_AddModule and PyState_RemoveModule docs. http://hg.python.org/cpython/rev/29d5bc1226f9 New changeset 75c0cb169be5 by Ezio Melotti in branch 'default': #17363: merge with

[issue17363] Argument Mixup in PyState_AddModule

2013-03-05 Thread Tobias Becker
New submission from Tobias Becker: http://docs.python.org/3.3/c-api/module.html?highlight=pymodule#PyState_AddModule the arguments of PyState_AddModule are in wrong order: currently: int PyState_AddModule(PyModuleDef *def, PyObject *module) correct: int PyState_AddModule(PyObject *module,PyModul