Yury Selivanov
2ec872b31e
bpo-34762: Fix contextvars C API to use PyObject* pointer types. (GH-9473)
2018-09-21 15:33:56 -04:00
Peter Lamut
20678fd874
Add docstrings to public methods from context.c (GH-8531)
2018-07-30 16:15:44 +01:00
Yury Selivanov
41cb0baea9
bpo-33985: Implement ContextVar.name attribute. (GH-7980)
2018-06-28 13:20:29 -04:00
Serhiy Storchaka
bfe4fd5f2e
Fix some warnings produced by different compilers. ( #5593 )
2018-02-09 17:31:26 +02:00
Yury Selivanov
bc4123b0b3
bpo-32436: Use PyThreadState_GET() in all hot paths (GH-5363)
2018-01-27 13:24:20 -05:00
Yury Selivanov
226e50049d
bpo-32436: Make PyContextVar_Get a little bit faster ( #5350 )
...
Since context.c is compiled with Py_BUILD_CORE, using a macro
will result in a slightly more optimal code.
2018-01-26 17:24:52 -05:00
Yury Selivanov
6ab62920c8
bpo-32436: Fix a refleak; var GC tracking; a GCC warning ( #5326 )
...
The refleak in question wasn't really important, as context vars
are usually created at the toplevel and live as long as the interpreter
lives, so the context var name isn't ever GCed anyways.
2018-01-25 14:18:55 -05:00
Yury Selivanov
b7a80d543e
bpo-32436: Don't use native popcount() (also fixes bpo-32641) ( #5292 )
2018-01-23 22:17:04 -05:00
Yury Selivanov
f23746a934
bpo-32436: Implement PEP 567 ( #5027 )
2018-01-22 19:11:18 -05:00