Lines Matching refs:strict
33 signed char strict;
43 {"strict", T_BOOL, offsetof(PyScannerObject, strict), READONLY, "strict"},
381 scanstring_unicode(PyObject *pystr, Py_ssize_t end, int strict, Py_ssize_t *next_end_ptr)
385 if strict is zero then literal control characters are allowed
424 if (d <= 0x1f && strict) {
557 "scanstring(string, end, strict=True) -> (string, end)\n"
562 "on attempt to decode an invalid string. If strict is False then literal\n"
576 int strict = 1;
577 if (!PyArg_ParseTuple(args, "On|i:scanstring", &pystr, &end, &strict)) {
581 rval = scanstring_unicode(pystr, end, strict, &next_end);
723 key = scanstring_unicode(pystr, idx + 1, s->strict, &next_idx);
1060 return scanstring_unicode(pystr, idx + 1, s->strict, next_idx_ptr);
1170 PyObject *strict;
1186 strict = PyObject_GetAttrString(ctx, "strict");
1187 if (strict == NULL)
1189 s->strict = PyObject_IsTrue(strict);
1190 Py_DECREF(strict);
1191 if (s->strict < 0)