cpython/Objects
Eric Lippert 5a95ba29da Fix issue 34551 - remove redundant store (#9009)
The assignment of i/2 to nk is redundant because on this code path, nk is already the size of the dictionary, and i is already twice the size of the dictionary. I've replaced the store with an assertion that i/2 is nk.
2018-10-22 16:52:46 +01:00
..
clinic Add missing closing quote and trailing period in str.isidentifier() docstring (GH-9756) 2018-10-08 16:14:47 +05:30
stringlib bpo-34523: Support surrogatepass in locale codecs (GH-8995) 2018-08-29 22:21:32 +02:00
abstract.c closes bpo-34504: Remove the useless NULL check in PySequence_Check(). (GH-8935) 2018-08-25 16:52:27 -07:00
accu.c Replace KB unit with KiB (#4293) 2017-11-08 14:44:44 -08:00
boolobject.c bpo-30592: Fixed error messages for some builtins. (#1996) 2017-06-08 14:41:19 +03:00
bytearrayobject.c bpo-34984: Improve error messages for bytes and bytearray constructors. (GH-9874) 2018-10-21 15:29:12 +03:00
bytes_methods.c closes bpo-34599: Improve performance of _Py_bytes_capitalize(). (GH-9083) 2018-09-06 21:54:49 -07:00
bytesobject.c bpo-34984: Improve error messages for bytes and bytearray constructors. (GH-9874) 2018-10-21 15:29:12 +03:00
call.c Fix issue 34551 - remove redundant store (#9009) 2018-10-22 16:52:46 +01:00
capsule.c Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99 2010-08-11 17:31:17 +00:00
cellobject.c bpo-23699: Use a macro to reduce boilerplate code in rich comparison functions (GH-793) 2017-11-02 20:32:54 +10:00
classobject.c bpo-1617161: Make the hash and equality of methods not depending on the value of self. (GH-7848) 2018-07-31 09:18:24 +03:00
codeobject.c bpo-34301: Add _PyInterpreterState_Get() helper function (GH-8592) 2018-08-03 15:33:52 +02:00
complexobject.c bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00
descrobject.c bpo-30156: Remove property_descr_get() optimization (GH-9541) 2018-10-01 03:03:22 -07:00
dict-common.h bpo-33312: Fix clang ubsan out of bounds warnings in dict. (GH-6537) 2018-04-19 22:41:19 -07:00
dictnotes.txt Issue #15055: update dictnotes.txt. Patch by Mark Shannon. 2012-06-24 21:03:45 +02:00
dictobject.c bpo-34573: Simplify __reduce__() of set and dict iterators. (GH-9050) 2018-10-20 01:43:33 +01:00
enumobject.c bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00
exceptions.c bpo-34940: Fix the error handling in _check_for_legacy_statements(). (GH-9764) 2018-10-12 11:20:59 +03:00
fileobject.c bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00
floatobject.c Fix typo and edit for clarity in the docstrings of sys.float_info. (GH-2251) 2018-03-26 12:41:30 +03:00
frameobject.c bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00
funcobject.c bpo-33418: Add tp_clear for function object (GH-8058) 2018-07-04 11:15:50 +09:00
genobject.c closes bpo-34493: Objects/genobject.c: Add missing NULL check to compute_cr_origin() (GH-8911) 2018-08-25 00:15:23 -07:00
iterobject.c bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00
listobject.c Micro-optimize list index range checks (GH-9784) 2018-10-10 20:37:28 -07:00
listsort.txt bpo-28685: Optimize sorted() list.sort() with type-specialized comparisons (#582) 2018-01-28 19:03:23 -08:00
lnotab_notes.txt bpo-28810: Update lnotab_notes.txt (#665) 2017-03-14 21:42:09 +02:00
longobject.c bpo-33073: Rework int.as_integer_ratio() implementation (GH-9303) 2018-10-19 23:46:31 +02:00
memoryobject.c bpo-33176: Add a toreadonly() method to memoryviews. (GH-6466) 2018-04-14 19:49:21 +02:00
methodobject.c closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218) 2018-09-12 12:06:42 -07:00
moduleobject.c Fix misleading mentions of tp_size in comments (GH-9093) 2018-09-10 09:46:08 -07:00
namespaceobject.c Fix misleading mentions of tp_size in comments (GH-9093) 2018-09-10 09:46:08 -07:00
object.c bpo-34910: Ensure that PyObject_Print() always returns -1 on error. (GH-9733) 2018-10-06 09:44:25 +03:00
obmalloc.c remove vestigal locking from obmalloc (GH-5805) 2018-02-24 11:59:10 -08:00
odictobject.c bpo-34574: Prevent OrderedDict iterators from exhaustion during pickling. (GH-9051) 2018-10-20 08:20:39 +03:00
rangeobject.c closes bpo-34468: Objects/rangeobject.c: Fix an always-false condition in range_repr() (GH-8880) 2018-08-23 21:39:45 -07:00
README Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
setobject.c bpo-34573: Simplify __reduce__() of set and dict iterators. (GH-9050) 2018-10-20 01:43:33 +01:00
sliceobject.c bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00
structseq.c bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00
tupleobject.c bpo-34301: Add _PyInterpreterState_Get() helper function (GH-8592) 2018-08-03 15:33:52 +02:00
typeobject.c bpo-25750: fix refcounts in type_getattro() (GH-6118) 2018-09-07 09:37:00 +02:00
typeslots.inc add Py_tp_finalize slot (closes #24345) 2015-06-01 10:12:48 -05:00
typeslots.py Issue #26662: Set PYTHON_FOR_GEN in configure 2016-07-26 12:48:08 +02:00
unicodectype.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
unicodeobject.c Add missing closing quote and trailing period in str.isidentifier() docstring (GH-9756) 2018-10-08 16:14:47 +05:30
unicodetype_db.h update to Unicode 11.0.0 (closes bpo-33778) (GH-7439) 2018-06-06 20:14:28 -07:00
weakrefobject.c bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00

Source files for various builtin objects