- 24 Agu, 2016 3 kayıt (commit)
-
-
R David Murray yazdı
Patch by Christian Heimes, reviewed by Martin Panter.
-
R David Murray yazdı
-
R David Murray yazdı
Patch by SilengGhost.
-
- 23 Agu, 2016 24 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ı
Issue #27809: * PyObject_CallMethodObjArgs(), _PyObject_CallMethodIdObjArgs() and PyObject_CallFunctionObjArgs() now use fast call to avoid the creation of a temporary tuple * Rename objargs_mktuple() to objargs_mkstack() * objargs_mkstack() now stores objects in a C array using borrowed references, instead of storing arguments into a tuple objargs_mkstack() uses a small buffer allocated on the C stack for 5 arguments or less, or allocates a buffer in the heap memory. Note: this change is different than the change 0e4f26083bbb, I fixed the test to decide if the small stack can be used or not. sizeof(PyObject**) was also replaced with sizeof(stack[0]) since the sizeof() was wrong (but gave the same result).
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Issue #27809: * PyObject_CallMethodObjArgs(), _PyObject_CallMethodIdObjArgs() and PyObject_CallFunctionObjArgs() now use fast call to avoid the creation of a temporary tuple * Rename objargs_mktuple() to objargs_mkstack() * objargs_mkstack() now stores objects in a C array using borrowed references, instead of storing arguments into a tuple objargs_mkstack() uses a small buffer allocated on the C stack for 5 arguments or less, or allocates a buffer in the heap memory.
-
-
Guido van Rossum 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.
-
Mark Dickinson yazdı
-
Alexander Belopolsky yazdı
-
Zachary Ware yazdı
-
Terry Jan Reedy yazdı
-
-
Guido van Rossum yazdı
Patch by Ivan Levkivskyi, docs by Neil Girdhar.
-
-
Steven D'Aprano yazdı
-
Guido van Rossum yazdı
In asyncio.locks.Lock.acquire(): Avoid deadlock when a cancelled future is in self._waiters. (Merge 3.5->3.6)
-
Steven D'Aprano yazdı
-
Mark Dickinson yazdı
-
Steven D'Aprano yazdı
-
Mark Dickinson yazdı
-
Victor Stinner yazdı
-
Martin Panter yazdı
The @reap_threads decorator made the test wait (for up to 1 s) until background threads have finished. Calling join() with a timeout should be equivalent.
-
Vinay Sajip yazdı
-
- 22 Agu, 2016 13 kayıt (commit)
-
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Issue #27809: PyEval_CallObjectWithKeywords() doesn't increment temporary the reference counter of the args tuple (positional arguments). The caller already holds a strong reference to it.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Issue #27809: Helper function optimized to create an exception: use fastcall whenever possible.
-
Victor Stinner yazdı
Modify: * init_subclass() * builtin___build_class__() Fix also a bug in init_subclass(): check for super() failure.
-
Victor Stinner yazdı
Issue #27809. _PyObject_FastCallDict() now supports keyword arguments, and so the args==NULL fast-path can also be used when kwargs is not NULL.
-
Victor Stinner yazdı
Modify: * builtin_sorted() * classmethoddescr_call() * methoddescr_call() * wrapperdescr_call()
-
Victor Stinner yazdı
* Rename nm to name * PEP 7: add { ... } to if/else blocks
-
Victor Stinner yazdı
Issue #27809: * Rename _PyFunction_FastCall() to _PyFunction_FastCallDict() * Rename _PyCFunction_FastCall() to _PyCFunction_FastCallDict() * _PyFunction_FastCallDict() now supports keyword arguments
-
Victor Stinner yazdı
Issue #27809: * Rename _PyObject_FastCall() function to _PyObject_FastCallDict() * Add _PyObject_FastCall(), _PyObject_CallNoArg() and _PyObject_CallArg1() macros calling _PyObject_FastCallDict()
-