[issue18697] Unify arguments names in Unicode object C API documentation

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue18697] Unify arguments names in Unicode object C API documentation

2019-09-11 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- versions: +Python 3.8, Python 3.9 -Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___ ___

[issue18697] Unify arguments names in Unicode object C API documentation

2019-08-08 Thread Philip Dye
Change by Philip Dye : -- nosy: +Philip Dye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18697] Unify arguments names in Unicode object C API documentation

2019-07-02 Thread Rune Tynan
Rune Tynan added the comment: It has been over a month and I'm still waiting for an updated PR review. I understand if people are busy, but don't want this to just fall through the cracks. -- ___ Python tracker

[issue18697] Unify arguments names in Unicode object C API documentation

2019-04-11 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18697] Unify arguments names in Unicode object C API documentation

2019-04-03 Thread Rune Tynan
Change by Rune Tynan : -- keywords: +patch pull_requests: +12607 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue18697] Unify arguments names in Unicode object C API documentation

2019-04-03 Thread Rune Tynan
Rune Tynan added the comment: Another inconsistency I've noticed is that the code sometimes refers to Py_ssize_t instances as a 'length' and sometimes as a 'size'. It seems like 'size' is the more common one in the docs, but the headers more often use 'length'. Which would be the better one

[issue18697] Unify arguments names in Unicode object C API documentation

2019-03-28 Thread Rune Tynan
Rune Tynan added the comment: I have some interest in making a fix for this. From discussion, I'm thinking that, barring names that already have clear meaning (EG, left/right for things with two parameters): - PyObject* that is unknown type remains `obj` - PyObject* with unicode string is

[issue18697] Unify arguments names in Unicode object C API documentation

2019-03-26 Thread Rune Tynan
Change by Rune Tynan : -- nosy: +Rune Tynan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18697] Unify arguments names in Unicode object C API documentation

2019-03-09 Thread Windson Yang
Change by Windson Yang : -- versions: -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18697] Unify arguments names in Unicode object C API documentation

2019-03-09 Thread Windson Yang
Change by Windson Yang : -- versions: +Python 2.7, Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue18697] Unify arguments names in Unicode object C API documentation

2019-03-09 Thread Windson Yang
Windson Yang added the comment: I agreed with @Matheus, it would be better than the current implementation -- nosy: +Windson Yang versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue18697] Unify arguments names in Unicode object C API documentation

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18697] Unify arguments names in Unicode object C API documentation

2015-08-31 Thread Matheus Vieira Portela
Matheus Vieira Portela added the comment: Just checking, it would be required to update Objects/unicodeobject.c, Include/unicodeobject.h, and Doc/c-api/unicode.rst, right? As far as I saw, "unicode" means a Python object with unicode string, "u" is a UTF-8 encoded C string, "str" and "s" are

[issue18697] Unify arguments names in Unicode object C API documentation

2014-11-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The same issue exists for other types. E.g. PyLong_* functions have Python long argument named as p, obj and pylong, PyFloat_* -- p and pyfloat, PyList_* -- p and list, PyDict_* -- p, a and mapping, PyBytes_* -- o, obj, string and bytes. --

[issue18697] Unify arguments names in Unicode object C API documentation

2014-08-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: @Serhiy will you be proposing a patch for this? No, I am not. I have no opinion what name is better. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18697

[issue18697] Unify arguments names in Unicode object C API documentation

2014-08-02 Thread Mark Lawrence
Mark Lawrence added the comment: @Serhiy will you be proposing a patch for this? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18697

[issue18697] Unify arguments names in Unicode object C API documentation

2013-08-09 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: In declarations of Unicode object C API functions in Doc/c-api/unicode.rst the first Unicode object argument has different names: unicode, str, u, s. It will be good to unify these names. Of course there is no need to change reasonable argument names for