[issue15657] Error in Python 3 docs for PyMethodDef

2017-02-22 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I think this bug has been fixed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue15657] Error in Python 3 docs for PyMethodDef

2017-01-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset d7d2d24003f5 by Martin Panter in branch '3.5': Issue #15657: METH_KEYWORDS cannot be used alone in Python 3 https://hg.python.org/cpython/rev/d7d2d24003f5 New changeset c140e72492a4 by Martin Panter in branch '3.6': Issue #15657: Delete incorrect

[issue15657] Error in Python 3 docs for PyMethodDef

2017-01-10 Thread Martin Panter
Martin Panter added the comment: . The documentation did not get merged properly into 3.6+. And even in 3.5, under METH_KEYWORDS, I propose to change “The flag is typically combined with METH_VARARGS” to “The flag must be combined . . .”. The remaining issue15657_36.diff patch looks out of

[issue15657] Error in Python 3 docs for PyMethodDef

2016-06-12 Thread Berker Peksag
Berker Peksag added the comment: > Then change the value of METH_KEYWORDS from 0x0002 to 0x0003 in 3.6. Here is a patch. -- Added file: http://bugs.python.org/file43364/issue15657_36.diff ___ Python tracker

[issue15657] Error in Python 3 docs for PyMethodDef

2016-06-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset f520ae3b537b by Berker Peksag in branch '2.7': Issue #15657: Delete incorrect statement from PyMethodDef documentation https://hg.python.org/cpython/rev/f520ae3b537b -- ___ Python tracker

[issue15657] Error in Python 3 docs for PyMethodDef

2016-06-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 367b3f41710a by Berker Peksag in branch '3.5': Issue #15657: Delete incorrect statement from PyMethodDef documentation https://hg.python.org/cpython/rev/367b3f41710a New changeset 7fa4986d8218 by Berker Peksag in branch 'default': Issue #15657:

[issue15657] Error in Python 3 docs for PyMethodDef

2016-06-09 Thread Berker Peksag
Berker Peksag added the comment: I'm going to delete (but note that :const:`METH_KEYWORDS` alone is equivalent to ``METH_VARARGS | METH_KEYWORDS``) from Doc/c-api/structures.rst in 3.5. Then change the value of METH_KEYWORDS from 0x0002 to 0x0003 in 3.6. Thanks for the review Serhiy.

[issue15657] Error in Python 3 docs for PyMethodDef

2016-06-09 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +belopolsky ___ Python tracker ___

[issue15657] Error in Python 3 docs for PyMethodDef

2015-07-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In 3.5 it would be better to make METH_KEYWORDS == METH_VARARGS | METH_KEYWORDS. Current definition: #define METH_VARARGS 0x0001 #define METH_KEYWORDS 0x0002 Should be: #define METH_VARARGS 0x0001 #define METH_KEYWORDS 0x0003 But it can't be applied in

[issue15657] Error in Python 3 docs for PyMethodDef

2015-04-22 Thread Berker Peksag
Berker Peksag added the comment: Here is a patch for Python 3.5. -- components: +Interpreter Core -Documentation keywords: +patch nosy: +berker.peksag, serhiy.storchaka type: - behavior versions: +Python 3.5 -Python 3.2, Python 3.3 Added file:

[issue15657] Error in Python 3 docs for PyMethodDef

2014-02-12 Thread Cimarron Mittelsteadt
Cimarron Mittelsteadt added the comment: Appears to be a duplicate of issue 11587 but better explanation here -- nosy: +cimarron ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15657 ___

[issue15657] Error in Python 3 docs for PyMethodDef

2013-11-29 Thread Bohuslav Slavek Kabrda
Changes by Bohuslav Slavek Kabrda bkab...@redhat.com: -- nosy: +bkabrda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15657 ___ ___

[issue15657] Error in Python 3 docs for PyMethodDef

2013-04-12 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I just ran into this too. -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15657 ___ ___

[issue15657] Error in Python 3 docs for PyMethodDef

2013-04-12 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: We should fix the code for 3.2 through 3.4, but change the docs for 3.2 and 3.3 to remove the parenthetical note. For 3.4 we can leave the parenthetical note but say this is new in 3.4 (or maybe, that it doesn't actually work in some versions 3.4). I

[issue15657] Error in Python 3 docs for PyMethodDef

2012-08-17 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15657 ___ ___

[issue15657] Error in Python 3 docs for PyMethodDef

2012-08-17 Thread Andrew Svetlov
Andrew Svetlov added the comment: I think we can change PyCFunction_Call to accept METH_KEYWORDS as alias for METH_VARARGS | METH_KEYWORDS. It cannot make incompatibility with existing code base. -- ___ Python tracker rep...@bugs.python.org

[issue15657] Error in Python 3 docs for PyMethodDef

2012-08-14 Thread Sandro Tosi
New submission from Sandro Tosi: Hello, it has been reported at http://mail.python.org/pipermail/docs/2012-April/008215.html but given it raises some question whether it's a bug in the doc or in the code, i'd rather report the issue here and hear what other think: In the Python 3.2.2

[issue15657] Error in Python 3 docs for PyMethodDef

2012-08-14 Thread Michael Welsh Duggan
Changes by Michael Welsh Duggan m...@sei.cmu.edu: -- nosy: +md5i ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15657 ___ ___ Python-bugs-list

[issue15657] Error in Python 3 docs for PyMethodDef

2012-08-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15657 ___ ___ Python-bugs-list mailing list