Lines Matching refs:bytes
783 "the string representation of this object, either as str or bytes");
934 PyErr_SetString(PyExc_OverflowError, "bytes object is too long");
1098 unsigned char *bytes;
1108 bytes = PyMem_Malloc(numBytes);
1109 if (bytes == NULL) {
1114 err = mp_to_unsigned_bin_n(&bigValue, bytes, &numBytes);
1116 err = mp_to_ubin(&bigValue, bytes, numBytes, NULL);
1120 PyMem_Free(bytes);
1123 res = _PyLong_FromByteArray(bytes, numBytes,
1126 PyMem_Free(bytes);
1624 PyErr_SetString(PyExc_OverflowError, "bytes object is too long");
1657 "must be str, bytes or Tcl_Obj, not %.50s",