- 15 Haz, 2017 1 kayıt (commit)
-
-
Sylvain yazdı
-
- 08 Haz, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Error messages when pass keyword arguments to some builtins that don't support keyword arguments contained double parenthesis: "()()". The regression was introduced by bpo-30534.
-
- 29 May, 2017 1 kayıt (commit)
-
-
Amit Kumar yazdı
-
- 19 Nis, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
raised an error. Replace them with using concrete types API that never fails if appropriate.
-
- 16 Nis, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Negative result should be returned only when an error is set.
-
- 12 Mar, 2017 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
if attributes "encoding" or "errors" of sys.stdin or sys.stdout are not set or are not strings.
-
Serhiy Storchaka yazdı
-
- 15 Şub, 2017 1 kayıt (commit)
-
-
Yen Chi Hsuan yazdı
bltinmodule.c: Added in b744ba1d and no longer necessary since d64e8a75 posixmodule.c: Added in d1cd4d41 and no longer necessary since efb00c0c pythonrun.c: Added in 73d538b9 and no longer necessary since d6009517 sysmodule.c: Added in 5467d4c0 and no longer necessary since a2c17c58
-
- 23 Ock, 2017 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Patch by Erik Welch.
-
Serhiy Storchaka yazdı
possible. Patch is writen with Coccinelle.
-
- 21 Ock, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 20 Ock, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 19 Ock, 2017 1 kayıt (commit)
-
-
INADA Naoki yazdı
* Replace PyArg_ParseTupleAndKeywords() with _PyArg_ParseStackAndKeywords() which is more efficient to parse keywords, since it decodes only keywords (char*) from UTF-8 once, instead of decoding at each call. * METH_FASTCALL avoids the creation of a temporary tuple to pass positional arguments. Patch written by INADA Naoki, pushed by Victor Stinner.
-
- 17 Ock, 2017 3 kayıt (commit)
-
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
- 16 Ock, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 15 Ara, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #28870: Add a new _PY_FASTCALL_SMALL_STACK constant, size of "small stacks" allocated on the C stack to pass positional arguments to _PyObject_FastCall(). _PyObject_Call_Prepend() now uses a small stack of 5 arguments (40 bytes) instead of 8 (64 bytes), since it is modified to use _PY_FASTCALL_SMALL_STACK.
-
- 06 Ara, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Replace: PyObject_CallFunctionObjArgs(callable, NULL) with: _PyObject_CallNoArg(callable)
-
- 05 Ara, 2016 1 kayıt (commit)
-
-
Nick Coghlan yazdı
Handling zero-argument super() in __init_subclass__ and __set_name__ involved moving __class__ initialisation to type.__new__. This requires cooperation from custom metaclasses to ensure that the new __classcell__ entry is passed along appropriately. The initial implementation of that change resulted in abruptly broken zero-argument super() support in metaclasses that didn't adhere to the new requirements (such as Django's metaclass for Model definitions). The updated approach adopted here instead emits a deprecation warning for those cases, and makes them work the same way they did in Python 3.5. This patch also improves the related class machinery documentation to cover these details and to include more reader-friendly cross-references and index entries.
-
- 04 Ara, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #28858: The change b9c9691c72c5 introduced a regression. It seems like _PyObject_CallArg1() uses more stack memory than PyObject_CallFunctionObjArgs().
-
- 01 Ara, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
* PyObject_CallFunctionObjArgs(func, NULL) => _PyObject_CallNoArg(func) * PyObject_CallFunctionObjArgs(func, arg, NULL) => _PyObject_CallArg1(func, arg) PyObject_CallFunctionObjArgs() allocates 40 bytes on the C stack and requires extra work to "parse" C arguments to build a C array of PyObject*. _PyObject_CallNoArg() and _PyObject_CallArg1() are simpler and don't allocate memory on the C stack. This change is part of the fastcall project. The change on listsort() is related to the issue #23507.
-
- 20 Kas, 2016 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
UTF-8 represenatation of Unicode objects.
-
Serhiy Storchaka yazdı
with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize.
-
- 11 Eyl, 2016 1 kayıt (commit)
-
-
Nick Coghlan yazdı
The __class__ cell used by zero-argument super() is now initialized from type.__new__ rather than __build_class__, so class methods relying on that will now work correctly when called from metaclass methods during class creation. Patch by Martin Teichmann.
-
- 08 Eyl, 2016 1 kayıt (commit)
-
-
Eric Snow yazdı
-
- 03 Eyl, 2016 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 08 Eyl, 2016 1 kayıt (commit)
-
-
Steve Dower yazdı
-
- 06 Eyl, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Directly pass NULL rather than an empty string.
-
- 05 Eyl, 2016 1 kayıt (commit)
-
-
Eric Snow yazdı
-
- 26 Agu, 2016 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 24 Agu, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #27848: use Py_ssize_t rather than C int for the number of function positional and keyword arguments.
-
- 23 Agu, 2016 3 kayıt (commit)
-
-
Victor Stinner yazdı
Use a small stack allocated in the C stack for up to 5 iterator functions, otherwise allocates a stack on the heap memory.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Use a small stack allocated in the C stack for up to 5 iterator functions, otherwise allocates a stack on the heap memory.
-
- 22 Agu, 2016 3 kayıt (commit)
-
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Modify: * init_subclass() * builtin___build_class__() Fix also a bug in init_subclass(): check for super() failure.
-
Victor Stinner yazdı
Modify: * builtin_sorted() * classmethoddescr_call() * methoddescr_call() * wrapperdescr_call()
-
- 07 Tem, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
generated by Argument Clinic. Patch by Petr Viktorin.
-
- 18 Haz, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Patch by Xiang Zhang.
-