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 @@ -29,6 +29,7 @@ extern PyObject* PyInit__imp(void);
2929extern PyObject * PyInit_gc (void );
3030extern PyObject * PyInit__ast (void );
3131extern PyObject * PyInit__tokenize (void );
32+ extern PyObject * PyInit__contextvars (void );
3233extern PyObject * _PyWarnings_Init (void );
3334extern PyObject * PyInit__string (void );
3435
@@ -55,6 +56,9 @@ struct _inittab _PyImport_Inittab[] = {
5556 /* This lives in gcmodule.c */
5657 {"gc" , PyInit_gc },
5758
59+ /* This lives in Python/_contextvars.c */
60+ {"_contextvars" , PyInit__contextvars },
61+
5862 /* This lives in _warnings.c */
5963 {"_warnings" , _PyWarnings_Init },
6064
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 @@ -7709,7 +7709,6 @@ dnl always enabled extension modules
77097709PY_STDLIB_MOD_SIMPLE([ array] )
77107710PY_STDLIB_MOD_SIMPLE([ _asyncio] )
77117711PY_STDLIB_MOD_SIMPLE([ _bisect] )
7712- PY_STDLIB_MOD_SIMPLE([ _contextvars] )
77137712PY_STDLIB_MOD_SIMPLE([ _csv] )
77147713PY_STDLIB_MOD_SIMPLE([ _heapq] )
77157714PY_STDLIB_MOD_SIMPLE([ _json] )
You can’t perform that action at this time.
0 commit comments