Lines Matching defs:value
74 PyObject *value = _PyDict_GetItemWithError(sd, name);
76 return value;
96 PyObject *value = _PySys_GetObject(tstate->interp, name);
100 return value;
692 /* Print value except if None */
733 value: object
741 sys_excepthook_impl(PyObject *module, PyObject *exctype, PyObject *value,
745 PyErr_Display(exctype, value, traceback);
775 Return current exception information: (type, value, traceback).
801 * exc_value: Exception value, can be None.
896 the previously interned string object with the same value.
1111 A typical value is 0.005 (5 milliseconds).
1341 {"inf", "value to be used for hash of a positive infinity"},
1342 {"nan", "value to be used for hash of a nan"},
1396 Return the current value of the recursion limit.
1586 Return the current value of the flags that are used for dlopen calls.
1720 /* Has a default value been given */
2115 wchar_t *value;
2125 _alloc_preinit_entry(const wchar_t *value)
2138 node->value = _PyMem_RawWcsdup(value);
2139 if (node->value == NULL) {
2150 _append_preinit_entry(_Py_PreInitEntry *optionlist, const wchar_t *value)
2152 _Py_PreInitEntry new_entry = _alloc_preinit_entry(value);
2181 PyMem_RawFree(current->value);
2196 status = PyWideStringList_Append(options, entry->value);
2214 status = PyWideStringList_Append(&config->xoptions, entry->value);
2286 /* No return value, therefore clear error state if possible */
2352 PyObject *name = NULL, *value = NULL;
2363 value = Py_True;
2364 Py_INCREF(value);
2368 value = PyUnicode_FromWideChar(name_end + 1, -1);
2370 if (name == NULL || value == NULL) {
2373 if (PyDict_SetItem(opts, name, value) < 0) {
2377 Py_DECREF(value);
2382 Py_XDECREF(value);
2395 /* No return value, therefore clear error state if possible */
2434 last_value -- value of last uncaught exception\n\
2456 maxunicode -- the value of the largest Unicode code point\n\
2555 PyObject *value = (expr); \
2556 if (value == NULL) { \
2560 PyStructSequence_SET_ITEM(flags, pos, value); \
2690 PyObject *impl_info, *value, *ns;
2698 value = PyUnicode_FromString(_PySys_ImplName);
2699 if (value == NULL)
2701 res = PyDict_SetItemString(impl_info, "name", value);
2702 Py_DECREF(value);
2706 value = PyUnicode_FromString(_PySys_ImplCacheTag);
2707 if (value == NULL)
2709 res = PyDict_SetItemString(impl_info, "cache_tag", value);
2710 Py_DECREF(value);
2718 value = PyLong_FromLong(PY_VERSION_HEX);
2719 if (value == NULL)
2721 res = PyDict_SetItemString(impl_info, "hexversion", value);
2722 Py_DECREF(value);
2727 value = PyUnicode_FromString(MULTIARCH);
2728 if (value == NULL)
2730 res = PyDict_SetItemString(impl_info, "_multiarch", value);
2731 Py_DECREF(value);
2865 #define SET_SYS(key, value) \
2867 PyObject *v = (value); \
2878 #define SET_SYS_FROM_STRING(key, value) \
2879 SET_SYS(key, PyUnicode_FromString(value))
3017 PyObject *name, *value;
3022 value = Py_True;
3023 Py_INCREF(value);
3027 value = PyUnicode_FromWideChar(name_end + 1, -1);
3029 if (name == NULL || value == NULL) {
3032 if (PyDict_SetItem(opts, name, value) < 0) {
3036 Py_DECREF(value);
3041 Py_XDECREF(value);