mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
gh-103015: Add entrypoint keyword param to sqlite3.Connection.load_extension (#103073)
This commit is contained in:
parent
28a05f4cc2
commit
222c63fc6b
9 changed files with 105 additions and 15 deletions
|
|
@ -890,6 +890,7 @@ _PyStaticObjects_CheckRefcnt(PyInterpreterState *interp) {
|
|||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(end_lineno));
|
||||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(end_offset));
|
||||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(endpos));
|
||||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(entrypoint));
|
||||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(env));
|
||||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(errors));
|
||||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(event));
|
||||
|
|
|
|||
|
|
@ -378,6 +378,7 @@ struct _Py_global_strings {
|
|||
STRUCT_FOR_ID(end_lineno)
|
||||
STRUCT_FOR_ID(end_offset)
|
||||
STRUCT_FOR_ID(endpos)
|
||||
STRUCT_FOR_ID(entrypoint)
|
||||
STRUCT_FOR_ID(env)
|
||||
STRUCT_FOR_ID(errors)
|
||||
STRUCT_FOR_ID(event)
|
||||
|
|
|
|||
1
Include/internal/pycore_runtime_init_generated.h
generated
1
Include/internal/pycore_runtime_init_generated.h
generated
|
|
@ -884,6 +884,7 @@ extern "C" {
|
|||
INIT_ID(end_lineno), \
|
||||
INIT_ID(end_offset), \
|
||||
INIT_ID(endpos), \
|
||||
INIT_ID(entrypoint), \
|
||||
INIT_ID(env), \
|
||||
INIT_ID(errors), \
|
||||
INIT_ID(event), \
|
||||
|
|
|
|||
|
|
@ -987,6 +987,9 @@ _PyUnicode_InitStaticStrings(PyInterpreterState *interp) {
|
|||
string = &_Py_ID(endpos);
|
||||
assert(_PyUnicode_CheckConsistency(string, 1));
|
||||
_PyUnicode_InternInPlace(interp, &string);
|
||||
string = &_Py_ID(entrypoint);
|
||||
assert(_PyUnicode_CheckConsistency(string, 1));
|
||||
_PyUnicode_InternInPlace(interp, &string);
|
||||
string = &_Py_ID(env);
|
||||
assert(_PyUnicode_CheckConsistency(string, 1));
|
||||
_PyUnicode_InternInPlace(interp, &string);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue