- 25 Tem, 2018 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 24 Tem, 2018 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Also make getchildren() and getiterator() emitting a DeprecationWarning instead of PendingDeprecationWarning.
-
- 15 Ara, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 10 Eki, 2017 1 kayıt (commit)
-
-
Oren Milman yazdı
bpo-31728: Prevent crashes in _elementtree due to unsafe cleanup of Element.text and Element.tail (#3924)
-
- 18 Eyl, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
* bpo-31499, xml.etree: Fix xmlparser_gc_clear() crash xml.etree: xmlparser_gc_clear() now sets self.parser to NULL to prevent a crash in xmlparser_dealloc() if xmlparser_gc_clear() was called previously by the garbage collector, because the parser was part of a reference cycle. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>
-
- 14 Eyl, 2017 1 kayıt (commit)
-
-
scoder yazdı
* Avoid calling "PyObject_GetAttrString()" (and potentially executing user code) with a live exception set. * Ignore only AttributeError on attribute lookups in ElementTree.XMLParser() and propagate all other exceptions.
-
- 12 Eyl, 2017 1 kayıt (commit)
-
-
Oren Milman yazdı
bpo-31428: Prevent raising a SystemError in case the memo arg of ElementTree.Element.__deepcopy__() isn't a dictionary. (#3512)
-
- 24 Agu, 2017 1 kayıt (commit)
-
-
INADA Naoki yazdı
-
- 10 Tem, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
Handle getattr(copy, 'deepcopy') error in _elementtree module initialization.
-
- 03 Tem, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
the bare METH_FASTCALL be used for functions with positional-only parameters.
-
- 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.
-
- 08 Nis, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 30 Mar, 2017 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Element.getiterator() and the html parameter of XMLParser() were deprecated only in the documentation (since Python 3.2 and 3.4 correspondintly). Now using them emits a deprecation warning. * Don’t need check_warnings any more.
-
Serhiy Storchaka yazdı
-
- 17 Ock, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #29286. Run Argument Clinic to get the new faster METH_FASTCALL calling convention for functions using "boring" positional arguments. Manually fix _elementtree: _elementtree_XMLParser_doctype() must remain consistent with the clinic code.
-
- 21 Ara, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 16 Ara, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 09 Ara, 2016 2 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #28915: Replace PyObject_CallFunction() with PyObject_CallFunctionObjArgs() when the format string was only made of "O" formats, PyObject* arguments. PyObject_CallFunctionObjArgs() avoids the creation of a temporary tuple and doesn't have to parse a format string.
-
Victor Stinner yazdı
Issue #28915: Replace _PyObject_CallMethodId() with _PyObject_CallMethodIdObjArgs() when the format string was only made of "O" formats, PyObject* arguments. _PyObject_CallMethodIdObjArgs() avoids the creation of a temporary tuple and doesn't have to parse a format string.
-
- 05 Ara, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Replace _PyObject_CallArg1(func, arg) with PyObject_CallFunctionObjArgs(func, arg, NULL) Using the _PyObject_CallArg1() macro increases the usage of the C stack, which was unexpected and unwanted. PyObject_CallFunctionObjArgs() doesn't have this issue.
-
- 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 2 kayıt (commit)
-
-
Victor Stinner yazdı
Replace PyObject_CallFunction(func, "O", arg) and PyObject_CallFunction(func, "O", arg, NULL) with _PyObject_CallArg1(func, arg) Replace PyObject_CallFunction(func, NULL) with _PyObject_CallNoArg(func) _PyObject_CallNoArg() and _PyObject_CallArg1() are simpler and don't allocate memory on the C stack.
-
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 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
UTF-8 represenatation of Unicode objects.
-
- 16 Kas, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
The latter function is more readable, faster and doesn't raise exceptions.
-
- 29 Eyl, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #28314: Fix function declaration (C flags) for the getiterator() method of xml.etree.ElementTree.Element.
-
- 07 Eyl, 2016 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 06 Eyl, 2016 2 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
Victor Stinner yazdı
Directly pass NULL rather than an empty string.
-
- 22 Agu, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #27809: * Rename _PyObject_FastCall() function to _PyObject_FastCallDict() * Add _PyObject_FastCall(), _PyObject_CallNoArg() and _PyObject_CallArg1() macros calling _PyObject_FastCallDict()
-
- 19 Agu, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #27128.
-
- 12 Haz, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 10 Nis, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
in places where Py_DECREF was used.
-
- 06 Nis, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 05 Ock, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 27 Ara, 2015 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Old code is correct, but with Py_SETREF and Py_CLEAR it can be cleaner. This patch doesn't fix bugs and hence there is no need to backport it.
-
Serhiy Storchaka yazdı
This patch is manually crafted and contains changes that couldn't be handled automatically.
-
- 24 Ara, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 21 Ara, 2015 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
Iterating elements Element.iter() is now 40% faster, iterating text Element.itertext() is now up to 2.5 times faster.
-