Stefan Krah
|
f432a3234f
|
bpo-30923: Silence fall-through warnings included in -Wextra since gcc-7.0. (#3157)
|
2017-08-21 13:09:59 +02:00 |
|
Segev Finer
|
e7bc7aac3d
|
bpo-9566: Fix a warning in Python/getargs.c (#2890)
|
2017-07-26 08:58:25 -07:00 |
|
Serhiy Storchaka
|
7e60192fe0
|
Remove _PyArg_NoStackKeywords(). (#2641)
|
2017-07-10 10:25:34 +02:00 |
|
Serhiy Storchaka
|
f9f1ccace3
|
Fix regression in error message introduced in bpo-29951. (#2028)
* Fix regression in error message introduced in bpo-29951.
* Add test.
* Make the test more strong.
|
2017-06-09 18:27:06 +02:00 |
|
Serhiy Storchaka
|
5eb788bf7f
|
bpo-30534: Fixed error messages when pass keyword arguments (#1901)
to functions implemented in C that don't support this.
Also unified error messages for functions that don't take positional or keyword
arguments.
|
2017-06-06 18:45:22 +03:00 |
|
Michael Seifert
|
64c8f705c0
|
bpo-29951: Include function name for some error messages in PyArg_ParseTuple* (#916)
Also changed format specifier for function name from "%s" to "%.200s"
and exception messages should start with lowercase letter.
|
2017-04-09 10:47:12 +03:00 |
|
Serhiy Storchaka
|
68a001dd59
|
Issue #29460: _PyArg_NoKeywords(), _PyArg_NoStackKeywords() and
_PyArg_NoPositional() now are macros.
|
2017-02-06 10:41:46 +02:00 |
|
Victor Stinner
|
fdbc397f4d
|
Issue #29286: Rename private PyArg_UnpackStack_impl() to unpack_stack()
Rename also "l" argument to "nargs".
|
2017-02-01 17:42:18 +01:00 |
|
Serhiy Storchaka
|
1741441649
|
Issue #29029: Speed up processing positional arguments in
PyArg_ParseTupleAndKeywords(), _PyArg_ParseTupleAndKeywordsFast() and like.
|
2017-01-17 10:07:25 +02:00 |
|
Victor Stinner
|
fe54dd8a08
|
Add _PyArg_UnpackStack() function helper
Issue #29286.
|
2017-01-17 02:33:55 +01:00 |
|
Victor Stinner
|
29d39cc8f5
|
Add _PyArg_NoStackKeywords() helper function
Issue #29286. Similar to _PyArg_NoKeywords(), but expects a tuple of keyword
names, instead of a dict.
|
2017-01-17 01:40:01 +01:00 |
|
Victor Stinner
|
6518a93cb1
|
Add _PyArg_ParseStack() helper function
Issue #29286. Function similar to PyArg_ParseTuple(), but uses a C array of
PyObject* to pass arguments. Don't support the compatibility mode.
|
2017-01-17 01:29:49 +01:00 |
|
Victor Stinner
|
3e1fad6913
|
Rename _PyArg_ParseStack to _PyArg_ParseStackAndKeywords
Issue #29286.
|
2017-01-17 01:29:01 +01:00 |
|
Victor Stinner
|
c0083fc47d
|
Rename keywords to kwargs in getargs.c
Issue #29029. Patch written by Serhiy Storchaka.
|
2017-01-17 00:37:42 +01:00 |
|
Victor Stinner
|
80ab22fa2c
|
Cleanup getargs.c
Factorize argument checks in:
* vgetargskeywordsfast()
* vgetargskeywordsfast_impl()
|
2017-01-16 23:16:47 +01:00 |
|
Serhiy Storchaka
|
5ab81d787f
|
Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of dict.
|
2016-12-16 16:18:57 +02:00 |
|
Serhiy Storchaka
|
460bd0d284
|
Issue #19569: Compiler warnings are now emitted if use most of deprecated
functions.
|
2016-11-20 12:16:46 +02:00 |
|
Serhiy Storchaka
|
85b0f5beb1
|
Added the const qualifier to char* variables that refer to readonly internal
UTF-8 represenatation of Unicode objects.
|
2016-11-20 10:16:47 +02:00 |
|
Serhiy Storchaka
|
3b73ea1278
|
Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
The latter function is more readable, faster and doesn't raise exceptions.
|
2016-11-16 10:19:20 +02:00 |
|
Serhiy Storchaka
|
f4934ea77d
|
Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
The latter function is more readable, faster and doesn't raise exceptions.
|
2016-11-16 10:17:58 +02:00 |
|
Christian Heimes
|
2f2fee19ec
|
va_end() all va_copy()ed va_lists.
|
2016-09-21 11:37:27 +02:00 |
|
Benjamin Peterson
|
0c21214f3e
|
replace usage of Py_VA_COPY with the (C99) standard va_copy
|
2016-09-20 20:39:33 -07:00 |
|
Benjamin Peterson
|
4eef505064
|
Backed out changeset 3934e070c9db
|
2016-09-10 17:04:36 -07:00 |
|
Victor Stinner
|
c7454ff5fc
|
Issue #27810: Fix getargs.c compilation on Windows
|
2016-09-09 20:56:52 -07:00 |
|
Benjamin Peterson
|
819a46f33a
|
fix export of size_t parse stack function
|
2016-09-09 20:45:06 -07:00 |
|