summaryrefslogtreecommitdiff
path: root/Cython/Utility/Builtins.c
Commit message (Expand)AuthorAgeFilesLines
* Merge branch '0.29.x'Stefan Behnel2020-06-201-0/+3
|\
| * exec() did not allow recent Python syntax features in Py3.8+ due to https://b...Stefan Behnel2020-06-201-0/+3
| * Use Py_SET_SIZE() and Py_SET_REFCNT() on Python 3.9.0a4 and newer (GH-3639)Victor Stinner2020-05-271-1/+2
* | Avoid using "tp_name" when CYTHON_COMPILING_IN_LIMITED_API (GH-3693)Matthias Braun2020-06-201-7/+17
* | Use Py_SET_SIZE() and Py_SET_REFCNT() on Python 3.9.0a4 and newer (GH-3639)Victor Stinner2020-05-271-1/+2
* | Sprinkle lots of branch prediction hints in places where exceptions are being...Stefan Behnel2020-04-121-8/+8
* | Expand LIMITED_API support (GH-3311)Eddie Elizondo2020-02-181-38/+6
* | Add a new utility function "__Pyx_PyObject_GetAttrStrNoError()" that does not...Stefan Behnel2018-12-271-2/+12
* | Remove support for Py2.6 and various quirks that special-cased it.gh2692_remove_py26_supportStefan Behnel2018-10-301-9/+0
|/
* Copy also the short long_neg() code from CPython for the specialised "abs(PyL...Stefan Behnel2018-03-251-1/+11
* Inline fast special cases for "abs(PyLong)" when the argument is non-negative...Stefan Behnel2018-03-251-0/+27
* Split prototype part off a utility function to move the actual implementation...Stefan Behnel2018-03-161-0/+5
* Speed up some dict lookups in Py3.5+ by calling the faster "_PyDict_GetItem_K...Stefan Behnel2017-10-081-1/+1
* Re-simplify fallback abs() expression.Stefan Behnel2017-09-221-1/+1
* Remove all (incorrect) casts in abs(long long).Stefan Behnel2017-09-221-5/+5
* Try to fix abs(long long) in MSVC by returning the negative value for the "un...Stefan Behnel2017-09-221-2/+2
* Always use _abs64() for "long long" on Windows, not only on 64bit.Stefan Behnel2017-09-221-1/+1
* Add missing cast.Stefan Behnel2017-09-221-1/+1
* Remove unused code.Stefan Behnel2017-09-121-16/+0
* Avoid excessive inlining in __Pyx_GetAttr3() helper and streamline both cases...Stefan Behnel2017-09-121-10/+14
* Return a signed value for abs(int).Robert Bradshaw2017-08-241-3/+1
* Raise TypeError for non-string hasattr.Robert Bradshaw2017-05-181-0/+24
* add macro indirections that apparently help making pyston happierStefan Behnel2016-07-311-1/+1
* replace generic "COMPILING_IN_*" C macros with feature specific guards that a...Stefan Behnel2016-07-301-2/+2
* avoid some redundant calls to PyThreadState_GET() to reduce locking etc. duri...Stefan Behnel2015-09-201-2/+1
* streamline exception type testsStefan Behnel2015-09-171-1/+2
* work around incorrect C-API signature in PyPy3Stefan Behnel2015-07-081-1/+1
* align abs(long long) implementation with abs(ssize_t) macroStefan Behnel2015-07-011-9/+12
* remove left-over utility code inclusionStefan Behnel2015-05-221-1/+0
* speed up __Pyx_PySet_Update() a little by calling it as an unbound methodStefan Behnel2015-05-211-1/+1
* cache underlying PyCFunction of calls to unbound methods of builtins in utili...Stefan Behnel2015-05-211-18/+27
* avoid calling into CPython when updating a set with an empty setStefan Behnel2015-05-151-0/+2
* implement PEP 448 for set/dict literalsStefan Behnel2015-05-141-0/+30
* minor pypy code improvementsStefan Behnel2015-04-111-1/+1
* avoid using PyByteArray_*() C-API in pypy unless it defines itStefan Behnel2015-04-111-0/+2
* reimplement ord() to make its (C long) return value and input argument type (...Stefan Behnel2015-03-291-0/+43
* work around PyPy's lack of PyFrozenSet_*() C-APIStefan Behnel2014-09-181-3/+14
* avoid useless indirection for module dict lookup and instead use known refere...Stefan Behnel2014-09-011-3/+1
* split internal method calling helper functions into specialised 0-, 1-, 2- ar...Stefan Behnel2014-08-211-9/+9
* simplify __Pyx_Globals() a littleStefan Behnel2014-05-171-11/+3
* Restore some over-eager 3.1 removals.Robert Bradshaw2014-02-221-0/+4
* More obsolete code removal.Robert Bradshaw2014-02-221-4/+0
* Remove obsolete utility code.Robert Bradshaw2014-02-221-49/+0
* add another special case to frozenset() that avoids an object creation round ...Stefan Behnel2014-02-141-1/+6
* restore singleton property of empty frozensetStefan Behnel2014-02-141-0/+25
* fix Py2.4 compatibility definition of PyFrozenSet_New(it)Stefan Behnel2014-02-081-1/+1
* fix set.add(some_tuple) in Py2.4Stefan Behnel2014-01-101-2/+2
* move set compatibility helpers into Builtins.cStefan Behnel2014-01-101-0/+45
* reduce number of distinct error format strings a bitStefan Behnel2013-10-061-1/+1
* micro optimisation in globals()Stefan Behnel2013-07-261-1/+2