File tree Expand file tree Collapse file tree 9 files changed +10
-8
lines changed
Expand file tree Collapse file tree 9 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -420,6 +420,7 @@ PARSER_HEADERS= \
420420# Python
421421
422422PYTHON_OBJS= \
423+ Python/_contextvars.o \
423424 Python/_warnings.o \
424425 Python/Python-ast.o \
425426 Python/Python-tokenize.o \
Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ PYTHONPATH=$(COREPYTHONPATH)
132132
133133# _asyncio _asynciomodule.c
134134# _bisect _bisectmodule.c
135- # _contextvars _contextvarsmodule.c
136135# _csv _csv.c
137136# _datetime _datetimemodule.c
138137# _decimal _decimal/_decimal.c
Original file line number Diff line number Diff line change 3131@MODULE_ARRAY_TRUE@array arraymodule.c
3232@MODULE__ASYNCIO_TRUE@_asyncio _asynciomodule.c
3333@MODULE__BISECT_TRUE@_bisect _bisectmodule.c
34- @MODULE__CONTEXTVARS_TRUE@_contextvars _contextvarsmodule.c
3534@MODULE__CSV_TRUE@_csv _csv.c
3635@MODULE__HEAPQ_TRUE@_heapq _heapqmodule.c
3736@MODULE__JSON_TRUE@_json _json.c
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ extern PyObject* PyInit__imp(void);
1919extern PyObject* PyInit_gc(void);
2020extern PyObject* PyInit__ast(void);
2121extern PyObject* PyInit__tokenize(void);
22+ extern PyObject* PyInit__contextvars(void);
2223extern PyObject* _PyWarnings_Init(void);
2324extern PyObject* PyInit__string(void);
2425
@@ -45,6 +46,9 @@ struct _inittab _PyImport_Inittab[] = {
4546 /* This lives in gcmodule.c */
4647 {"gc", PyInit_gc},
4748
49+ /* This lives in Python/_contextvars.c */
50+ {"_contextvars", PyInit__contextvars},
51+
4852 /* This lives in _warnings.c */
4953 {"_warnings", _PyWarnings_Init},
5054
Original file line number Diff line number Diff line change 423423 </ClCompile >
424424 <ClCompile Include =" ..\Modules\_codecsmodule.c" />
425425 <ClCompile Include =" ..\Modules\_collectionsmodule.c" />
426- <ClCompile Include =" ..\Modules\_contextvarsmodule.c" />
427426 <ClCompile Include =" ..\Modules\_csv.c" />
428427 <ClCompile Include =" ..\Modules\_functoolsmodule.c" />
429428 <ClCompile Include =" ..\Modules\_hacl\Hacl_Hash_MD5.c" />
570569 <ClCompile Include =" ..\PC\config.c" />
571570 <ClCompile Include =" ..\PC\msvcrtmodule.c" />
572571 <ClCompile Include =" ..\Python\pyhash.c" />
572+ <ClCompile Include =" ..\Python\_contextvars.c" />
573573 <ClCompile Include =" ..\Python\_warnings.c" />
574574 <ClCompile Include =" ..\Python\asdl.c" />
575575 <ClCompile Include =" ..\Python\assemble.c" />
Original file line number Diff line number Diff line change 12621262 <ClCompile Include =" ..\PC\msvcrtmodule.c" >
12631263 <Filter >PC</Filter >
12641264 </ClCompile >
1265+ <ClCompile Include =" ..\Python\_contextvars.c" >
1266+ <Filter >Python</Filter >
1267+ </ClCompile >
12651268 <ClCompile Include =" ..\Python\_warnings.c" >
12661269 <Filter >Python</Filter >
12671270 </ClCompile >
15261529 <ClCompile Include =" ..\Objects\odictobject.c" >
15271530 <Filter >Objects</Filter >
15281531 </ClCompile >
1529- <ClCompile Include =" ..\Modules\_contextvarsmodule.c" >
1530- <Filter >Modules</Filter >
1531- </ClCompile >
15321532 <ClCompile Include =" $(zlibDir)\adler32.c" >
15331533 <Filter >Modules\zlib</Filter >
15341534 </ClCompile >
Original file line number Diff line number Diff line change 11#include "Python.h"
22
3- #include "clinic/_contextvarsmodule .c.h"
3+ #include "clinic/_contextvars .c.h"
44
55/*[clinic input]
66module _contextvars
File renamed without changes.
Original file line number Diff line number Diff line change @@ -7775,7 +7775,6 @@ dnl always enabled extension modules
77757775PY_STDLIB_MOD_SIMPLE([ array] )
77767776PY_STDLIB_MOD_SIMPLE([ _asyncio] )
77777777PY_STDLIB_MOD_SIMPLE([ _bisect] )
7778- PY_STDLIB_MOD_SIMPLE([ _contextvars] )
77797778PY_STDLIB_MOD_SIMPLE([ _csv] )
77807779PY_STDLIB_MOD_SIMPLE([ _heapq] )
77817780PY_STDLIB_MOD_SIMPLE([ _json] )
You can’t perform that action at this time.
0 commit comments