File tree 9 files changed +10
-8
lines changed 9 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -420,6 +420,7 @@ PARSER_HEADERS= \
420
420
# Python
421
421
422
422
PYTHON_OBJS= \
423
+ Python/_contextvars.o \
423
424
Python/_warnings.o \
424
425
Python/Python-ast.o \
425
426
Python/Python-tokenize.o \
Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ PYTHONPATH=$(COREPYTHONPATH)
132
132
133
133
# _asyncio _asynciomodule.c
134
134
# _bisect _bisectmodule.c
135
- # _contextvars _contextvarsmodule.c
136
135
# _csv _csv.c
137
136
# _datetime _datetimemodule.c
138
137
# _decimal _decimal/_decimal.c
Original file line number Diff line number Diff line change 31
31
@MODULE_ARRAY_TRUE@array arraymodule.c
32
32
@MODULE__ASYNCIO_TRUE@_asyncio _asynciomodule.c
33
33
@MODULE__BISECT_TRUE@_bisect _bisectmodule.c
34
- @MODULE__CONTEXTVARS_TRUE@_contextvars _contextvarsmodule.c
35
34
@MODULE__CSV_TRUE@_csv _csv.c
36
35
@MODULE__HEAPQ_TRUE@_heapq _heapqmodule.c
37
36
@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);
29
29
extern PyObject * PyInit_gc (void );
30
30
extern PyObject * PyInit__ast (void );
31
31
extern PyObject * PyInit__tokenize (void );
32
+ extern PyObject * PyInit__contextvars (void );
32
33
extern PyObject * _PyWarnings_Init (void );
33
34
extern PyObject * PyInit__string (void );
34
35
@@ -55,6 +56,9 @@ struct _inittab _PyImport_Inittab[] = {
55
56
/* This lives in gcmodule.c */
56
57
{"gc" , PyInit_gc },
57
58
59
+ /* This lives in Python/_contextvars.c */
60
+ {"_contextvars" , PyInit__contextvars },
61
+
58
62
/* This lives in _warnings.c */
59
63
{"_warnings" , _PyWarnings_Init },
60
64
Original file line number Diff line number Diff line change 423
423
</ClCompile >
424
424
<ClCompile Include =" ..\Modules\_codecsmodule.c" />
425
425
<ClCompile Include =" ..\Modules\_collectionsmodule.c" />
426
- <ClCompile Include =" ..\Modules\_contextvarsmodule.c" />
427
426
<ClCompile Include =" ..\Modules\_csv.c" />
428
427
<ClCompile Include =" ..\Modules\_functoolsmodule.c" />
429
428
<ClCompile Include =" ..\Modules\_hacl\Hacl_Hash_MD5.c" />
570
569
<ClCompile Include =" ..\PC\config.c" />
571
570
<ClCompile Include =" ..\PC\msvcrtmodule.c" />
572
571
<ClCompile Include =" ..\Python\pyhash.c" />
572
+ <ClCompile Include =" ..\Python\_contextvars.c" />
573
573
<ClCompile Include =" ..\Python\_warnings.c" />
574
574
<ClCompile Include =" ..\Python\asdl.c" />
575
575
<ClCompile Include =" ..\Python\assemble.c" />
Original file line number Diff line number Diff line change 1262
1262
<ClCompile Include =" ..\PC\msvcrtmodule.c" >
1263
1263
<Filter >PC</Filter >
1264
1264
</ClCompile >
1265
+ <ClCompile Include =" ..\Python\_contextvars.c" >
1266
+ <Filter >Python</Filter >
1267
+ </ClCompile >
1265
1268
<ClCompile Include =" ..\Python\_warnings.c" >
1266
1269
<Filter >Python</Filter >
1267
1270
</ClCompile >
1526
1529
<ClCompile Include =" ..\Objects\odictobject.c" >
1527
1530
<Filter >Objects</Filter >
1528
1531
</ClCompile >
1529
- <ClCompile Include =" ..\Modules\_contextvarsmodule.c" >
1530
- <Filter >Modules</Filter >
1531
- </ClCompile >
1532
1532
<ClCompile Include =" $(zlibDir)\adler32.c" >
1533
1533
<Filter >Modules\zlib</Filter >
1534
1534
</ClCompile >
Original file line number Diff line number Diff line change 1
1
#include "Python.h"
2
2
3
- #include "clinic/_contextvarsmodule .c.h"
3
+ #include "clinic/_contextvars .c.h"
4
4
5
5
/*[clinic input]
6
6
module _contextvars
File renamed without changes.
Original file line number Diff line number Diff line change @@ -7709,7 +7709,6 @@ dnl always enabled extension modules
7709
7709
PY_STDLIB_MOD_SIMPLE([ array] )
7710
7710
PY_STDLIB_MOD_SIMPLE([ _asyncio] )
7711
7711
PY_STDLIB_MOD_SIMPLE([ _bisect] )
7712
- PY_STDLIB_MOD_SIMPLE([ _contextvars] )
7713
7712
PY_STDLIB_MOD_SIMPLE([ _csv] )
7714
7713
PY_STDLIB_MOD_SIMPLE([ _heapq] )
7715
7714
PY_STDLIB_MOD_SIMPLE([ _json] )
You can’t perform that action at this time.
0 commit comments