- 02 Şub, 2017 10 kayıt (commit)
-
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Add an unit test on the _struct.Struct.unpack_from() method to test passing arguments as keywords.
-
Victor Stinner yazdı
* The struct module now requires contiguous buffers. * Convert most functions and methods of the _struct module to Argument Clinic * Use "Py_buffer" type for the "buffer" argument. Argument Clinic is responsible to create and release the Py_buffer object. * Use "PyStructObject *" type for self to avoid explicit conversions. * Add an unit test on the _struct.Struct.unpack_from() method to test passing arguments as keywords. * Rephrase docstrings. * Rename "fmt" argument to "format" in docstrings and the documentation. As a side effect, functions and methods which used METH_VARARGS calling convention like struct.pack() now use the METH_FASTCALL calling convention which avoids the creation of temporary tuple to pass positional arguments and so is faster. For example, struct.pack("i", 1) becomes 1.56x faster (-36%):: $ ./python -m perf timeit \ -s 'import struct; pack=struct.pack' 'pack("i", 1)' \ --compare-to=../default-ref/python Median +- std dev: 119 ns +- 1 ns -> 76.8 ns +- 0.4 ns: 1.56x faster (-36%) Significant (t=295.91) Patch co-written with Serhiy Storchaka.
-
Victor Stinner yazdı
_Pickle_FastCall() has a surprising API: it decrements the reference counter of its second argument.
-
Serhiy Storchaka yazdı
method when unpickle collections.deque and other list-like objects. This can speed up unpickling to 2 times.
-
Mariatta Wijaya yazdı
-
Mariatta Wijaya yazdı
-
Mariatta Wijaya yazdı
-
Mariatta Wijaya yazdı
-
- 01 Şub, 2017 17 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Based on patch by Vajrasky Kok.
-
Berker Peksag yazdı
-
Berker Peksag yazdı
-
Berker Peksag yazdı
-
Guido van Rossum yazdı
-
Victor Stinner yazdı
Issue #29367. On Python 2, __init__ name is render as u'__init__'.
-
Victor Stinner yazdı
Rename also "l" argument to "nargs".
-
Victor Stinner yazdı
Issue #29318: Caller and callee functions must not share the dictionary: kwargs must be copied.
-
Victor Stinner yazdı
Issue #29367. Use two break points to prevent breakpoint during Python initialization.
-
Victor Stinner yazdı
Issue #29367: python-gdb.py now supports also method-wrapper (wrapperobject) objects.
-
doko@ubuntu.com yazdı
-
doko@ubuntu.com yazdı
-
doko@ubuntu.com yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Berker Peksag yazdı
It has been documented as unused since 6c6844a2fa30 (2000-05-25) Patch by Eric N. Vander Weele.
-
- 31 Ock, 2017 6 kayıt (commit)
-
-
doko@ubuntu.com yazdı
-
doko@ubuntu.com yazdı
-
doko@ubuntu.com yazdı
-
doko@ubuntu.com yazdı
-
doko@ubuntu.com yazdı
-
doko@ubuntu.com yazdı
-
- 30 Ock, 2017 2 kayıt (commit)
-
-
Berker Peksag yazdı
-
Berker Peksag yazdı
It was renamed to README.txt in d90a65014c42 and it was back by a merge commit accidentally.
-
- 29 Ock, 2017 5 kayıt (commit)
-
-
Martin Panter yazdı
-
Martin Panter yazdı
-
Martin Panter yazdı
-
Martin Panter yazdı
-
Martin Panter yazdı
-