cpython/Objects
R David Murray 861470c836 #16518: Bring error messages in harmony with docs ("bytes-like object")
Some time ago we changed the docs to consistently use the term 'bytes-like
object' in all the contexts where bytes, bytearray, memoryview, etc are used.
This patch (by Ezio Melotti) completes that work by changing the error
messages that previously reported that certain types did "not support the
buffer interface" to instead say that a bytes-like object is required.  (The
glossary entry for bytes-like object references the discussion of the buffer
protocol in the docs.)
2014-10-05 11:47:01 -04:00
..
stringlib s/stringobject/bytesobject/ (closes #22036) 2014-07-23 21:39:37 -07:00
README Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
abstract.c #16518: Bring error messages in harmony with docs ("bytes-like object") 2014-10-05 11:47:01 -04: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 #16518: Bring error messages in harmony with docs ("bytes-like object") 2014-10-05 11:47:01 -04:00
bytes_methods.c #16518: Bring error messages in harmony with docs ("bytes-like object") 2014-10-05 11:47:01 -04:00
bytesobject.c #16518: Bring error messages in harmony with docs ("bytes-like object") 2014-10-05 11:47:01 -04: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 Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
classobject.c use __qualname__ to compute bound method repr (closes #21389) 2014-08-20 18:41:57 -05:00
codeobject.c Issue #18874: PyCode_New() now ensures that the filename is a ready Unicode 2013-10-10 15:55:14 +02:00
complexobject.c Issue #21803: remove macro indirections in complexobject.h 2014-07-07 18:49:30 -04:00
descrobject.c Issue #20530: Argument Clinic's signature format has been revised again. 2014-02-08 22:15:29 -08:00
dictnotes.txt Issue #15055: update dictnotes.txt. Patch by Mark Shannon. 2012-06-24 21:03:45 +02:00
dictobject.c Issue 21101: Internal API for dict getitem and setitem where the hash value is known. 2014-05-03 16:32:11 -07:00
enumobject.c Issue #14288: Serialization support for builtin iterators. 2012-04-03 10:49:41 +00:00
exceptions.c Issue #22156: Fix "comparison between signed and unsigned integers" compiler 2014-08-15 23:17:38 +02:00
fileobject.c Issue #1772673: The type of `char*` arguments now changed to `const char*`. 2013-10-19 21:03:34 +03:00
floatobject.c Removed redundant casts to `char *`. 2014-09-28 11:27:24 +03:00
frameobject.c Issue #21897: Fix a crash with the f_locals attribute with closure variables when frame.clear() has been called. 2014-07-04 20:24:13 -04:00
funcobject.c Issue #18520: Fix PyFunction_NewWithQualName() error handling 2013-07-22 23:04:55 +02:00
genobject.c Issue #21938: simplify gen_iternext() 2014-07-08 18:43:23 -04:00
iterobject.c Close #17932: Fix an integer overflow issue on Windows 64-bit in iterators: 2013-06-04 23:02:46 +02:00
listobject.c Issue #22077: Improve index error messages for bytearrays, bytes, lists, and 2014-08-02 01:30:37 -04:00
listsort.txt Various clarifications based on feedback & questions over the years. 2013-08-24 15:15:19 -05:00
lnotab_notes.txt Merged revisions 72487-72488,72879 via svnmerge from 2009-07-21 04:30:03 +00:00
longobject.c #16518: Bring error messages in harmony with docs ("bytes-like object") 2014-10-05 11:47:01 -04:00
memoryobject.c #16518: Bring error messages in harmony with docs ("bytes-like object") 2014-10-05 11:47:01 -04:00
methodobject.c Issue #22116: C functions and methods (of the 'builtin_function_or_method' type) can now be weakref'ed. Patch by Wei Wu. 2014-08-06 19:31:40 -04:00
moduleobject.c sprinkle some _PyId goodness around moduleobject.c 2014-04-24 19:39:18 -04:00
namespaceobject.c Don't use deprecated function PyUnicode_GET_SIZE() 2013-11-13 14:17:30 +01:00
object.c Initialize base types before child types 2014-06-02 14:10:59 +02:00
obmalloc.c Issue #21233: Rename the C structure "PyMemAllocator" to "PyMemAllocatorEx" to 2014-06-02 21:57:10 +02:00
rangeobject.c Make the various iterators' "setstate" sliently and consistently clip the 2014-03-05 15:23:07 +00:00
setobject.c Issue #22156: Fix "comparison between signed and unsigned integers" compiler 2014-08-15 23:17:38 +02:00
sliceobject.c Make Ellipsis and NotImplemented picklable through the reduce protocol. 2013-11-24 02:53:45 -08:00
structseq.c Issue #18520: Add a new PyStructSequence_InitType2() function, same than 2013-07-22 22:24:54 +02:00
tupleobject.c Issue #22207: Fix "comparison between signed and unsigned integers" warning in 2014-08-17 22:20:00 +02:00
typeobject.c Issue #22156: Fix "comparison between signed and unsigned integers" compiler 2014-08-15 23:17:38 +02:00
typeslots.inc PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) 2014-04-09 23:55:56 -04:00
typeslots.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:15:49 +02:00
unicodectype.c Issue #18722: Remove uses of the "register" keyword in C code. 2013-08-13 20:18:52 +02:00
unicodeobject.c Fix "warning: comparison between signed and unsigned integer expressions" 2014-09-30 00:33:24 -07:00
unicodetype_db.h upgrade to unicode 7.0.0 2014-07-06 13:04:20 -07:00
weakrefobject.c Issue #17643: Add __callback__ attribute to weakref.ref. 2013-04-13 15:45:44 +01:00

README

Source files for various builtin objects