cpython/Objects
Nick Coghlan 1a05e87ec7 [3.6] bpo-31232: Backport custom print rshift message (GH-3155)
bpo-30721 added a "Did you mean ...?" suggestion to rshift
TypeError messages that triggers when the LHS is a Python
C function called "print".

Since this custom error message is expected to be triggered
primarily by attempts to use Python 2 print redirection syntax
in Python 3, and is incredibly unlikely to be encountered
otherwise, it is also being backported to the next 3.6
maintenance release.

Initial patch by Sanyam Khurana.
2017-08-19 16:59:38 +10:00
..
clinic Issue #27810: Rerun Argument Clinic on all modules 2016-09-09 20:00:13 -07:00
stringlib [3.6] bpo-30978: str.format_map() now passes key lookup exceptions through. (GH-2790) (#2992) 2017-08-03 12:14:07 +03:00
abstract.c [3.6] bpo-31232: Backport custom print rshift message (GH-3155) 2017-08-19 16:59:38 +10:00
accu.c Issue #14387: Do not include accu.h from Python.h. 2012-03-22 14:38:16 +01:00
boolobject.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
bytearrayobject.c Expand the PySlice_GetIndicesEx macro. (#1023) (#1044) 2017-04-08 11:18:14 +03:00
bytes_methods.c [3.6] bpo-29549: Fixes docstring for str.index (GH-256) (GH-1028) 2017-04-09 15:17:06 -07:00
bytesobject.c Expand the PySlice_GetIndicesEx macro. (#1023) (#1044) 2017-04-08 11:18:14 +03: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 fix indentation of comments in cellobject.c (closes #27011) 2016-05-12 23:12:21 -07:00
classobject.c method_call() and slot_tp_new() now uses fast call 2016-08-25 01:04:14 +02:00
codeobject.c bpo-30704, bpo-30604: Fix memleak in code_dealloc() (#2455) (#2456) 2017-06-28 02:28:51 +02:00
complexobject.c bpo-29602: fix signed zero handling in complex constructor. (#203) (#206) 2017-02-20 21:59:30 +00:00
descrobject.c replace Py_(u)intptr_t with the c99 standard types 2016-09-06 13:47:26 -07:00
dict-common.h Add _PyDict_CheckConsistency() 2016-09-14 15:02:01 +02:00
dictnotes.txt Issue #15055: update dictnotes.txt. Patch by Mark Shannon. 2012-06-24 21:03:45 +02:00
dictobject.c [3.6] bpo-27945: Fixed various segfaults with dict. (GH-1657) (#1677) 2017-05-20 13:06:26 +03:00
enumobject.c Anti-registration of various ABC methods. 2016-08-18 09:22:23 -07:00
exceptions.c [3.6] bpo-30597: Show expected input in custom 'print' error message. (GH-2531) 2017-07-03 17:49:50 +10:00
fileobject.c Rename _PyObject_FastCall() to _PyObject_FastCallDict() 2016-08-22 22:48:54 +02:00
floatobject.c Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize 2016-11-20 09:13:07 +02:00
frameobject.c Issue #27129: Replaced wordcode related magic constants with macros. 2016-09-11 13:48:15 +03:00
funcobject.c Issue #28139: Merge indentation fixes from 3.5 into 3.6 2016-09-17 07:59:14 +00:00
genobject.c Fix wrapping into StopIteration of return values in generators and coroutines (#644) (#647) 2017-03-12 17:04:06 -04:00
iterobject.c Rename _PyObject_FastCall() to _PyObject_FastCallDict() 2016-08-22 22:48:54 +02:00
listobject.c Expand the PySlice_GetIndicesEx macro. (#1023) (#1044) 2017-04-08 11:18:14 +03:00
listsort.txt Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
lnotab_notes.txt bpo-28810: Update lnotab_notes.txt (GH-665) (GH-919) 2017-03-31 02:12:18 -07:00
longobject.c Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString. 2016-11-16 10:19:20 +02:00
memoryobject.c Expand the PySlice_GetIndicesEx macro. (#1023) (#1044) 2017-04-08 11:18:14 +03:00
methodobject.c bpo-30524: Fix _PyStack_UnpackDict() (#1886) 2017-06-09 13:24:53 +02:00
moduleobject.c Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize 2016-11-20 09:13:07 +02:00
namespaceobject.c use c++ style comments 2016-09-07 14:12:36 -07:00
object.c Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize 2016-11-20 09:13:07 +02:00
obmalloc.c bpo-29941: Assert fixes (#886) (#955) 2017-04-01 20:20:05 -07:00
odictobject.c Merge doc fixes from 3.5 2017-01-14 09:54:57 +00:00
rangeobject.c bpo-28876: bool of large range raises OverflowError (#699) (#734) 2017-03-20 09:13:47 +02:00
README Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
setobject.c bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() (#1096) (#1180) 2017-04-19 21:22:49 +03:00
sliceobject.c bpo-30281: Fix the default value for stop in PySlice_Unpack() (#1480) (#1529) 2017-05-10 19:00:15 +08:00
structseq.c Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize 2016-11-20 09:13:07 +02:00
tupleobject.c Expand the PySlice_GetIndicesEx macro. (#1023) (#1044) 2017-04-08 11:18:14 +03:00
typeobject.c [3.6] bpo-25794: Fix type.__setattr__() for non-interned attribute names. (GH-1652) (#1673) 2017-05-20 10:23:31 +03: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 [3.6] bpo-22207: Add checks for possible integer overflows in unicodeobject.c. (GH-2623) (#2658) 2017-07-11 07:27:56 +03:00
unicodetype_db.h Unicode 9.0.0 2016-09-14 23:53:47 -07:00
weakrefobject.c bpo-29347: Fix possibly dereferencing undefined pointers when creating weakref objects (#128) (#186) 2017-02-20 14:33:02 +08:00

Source files for various builtin objects