comparison python/pydc/README.txt @ 60:8e905c0798c7

- p2Z() helper func - import fix for test code avoiding potential circular import
author Tassilo Philipp
date Wed, 03 Aug 2022 15:38:07 +0200
parents 2725de59454a
children c5a69c454963
comparison
equal deleted inserted replaced
59:2725de59454a 60:8e905c0798c7
1 dyncall python bindings 1 dyncall python bindings
2 Copyright 2007-2016 Daniel Adler 2 Copyright 2007-2016 Daniel Adler
3 2018-2020 Tassilo Philipp 3 2018-2022 Tassilo Philipp
4 4
5 Dec 4, 2007: initial 5 Dec 4, 2007: initial
6 Mar 22, 2016: update to dyncall 0.9, includes breaking sig char changes 6 Mar 22, 2016: update to dyncall 0.9, includes breaking sig char changes
7 Apr 19, 2018: update to dyncall 1.0 7 Apr 19, 2018: update to dyncall 1.0
8 Apr 7, 2020: update to dyncall 1.1, Python 3 support, using the Capsule 8 Apr 7, 2020: update to dyncall 1.1, Python 3 support, using the Capsule
16 functions; implies renaming pydcext.* to pydc.*), added type stub 16 functions; implies renaming pydcext.* to pydc.*), added type stub
17 as package_data 17 as package_data
18 Jan 23, 2021: update to dyncall 1.2 (only version bump) 18 Jan 23, 2021: update to dyncall 1.2 (only version bump)
19 Feb 2, 2021: added callback support (comes with some bigger refactoring); 19 Feb 2, 2021: added callback support (comes with some bigger refactoring);
20 allow CPython's Py{CObject,Capsule} to be used as 'p'ointers 20 allow CPython's Py{CObject,Capsule} to be used as 'p'ointers
21 Aug 3, 2022: added p2Z() helper function (e.g. helpful when working with
22 string 'p'ointers that eventually need to be free()'d, as no
23 implicit 'Z' conversion is taking place)
24
25
26
21 27
22 28
23 BUILD/INSTALLATION 29 BUILD/INSTALLATION
24 ================== 30 ==================
25 31
113 119
114 SIG | DESCRIPTION 120 SIG | DESCRIPTION
115 ----+----------------------------------------------------------------------------------------------------------- 121 ----+-----------------------------------------------------------------------------------------------------------
116 '_' | prefix indicating that next signature character specifies calling convention; char is one of the following 122 '_' | prefix indicating that next signature character specifies calling convention; char is one of the following
117 ':' | platform's default calling convention 123 ':' | platform's default calling convention
124 '*' | platform's default thiscall (C++ methods) calling convention, first argument of a call is the this pointer
118 'e' | vararg function 125 'e' | vararg function
119 '.' | vararg function's variadic/ellipsis part (...), to be specified before first vararg 126 '.' | vararg function's variadic/ellipsis part (...), to be specified before first vararg
120 'c' | only on x86: cdecl 127 'c' | only on x86: cdecl
121 's' | only on x86: stdcall 128 's' | only on x86: stdcall
122 'F' | only on x86: fastcall (MS) 129 'F' | only on x86: fastcall (MS)
134 - calling convention mode handling for callbacks (not sure if ever needed?) 141 - calling convention mode handling for callbacks (not sure if ever needed?)
135 - pydoc "man page" 142 - pydoc "man page"
136 - stub location: the pydc-stubs folder isn't picked up by mypy, so I question why this is the suggested way 143 - stub location: the pydc-stubs folder isn't picked up by mypy, so I question why this is the suggested way
137 - get into freebsd ports 144 - get into freebsd ports
138 - releasing GIL when calling into C code (*only* when none of the arguments is a mutable buffer, though) 145 - releasing GIL when calling into C code (*only* when none of the arguments is a mutable buffer, though)
146 - support for new dyncall aggregate-by-value interface
139 147
140 148
141 BUGS 149 BUGS
142 ==== 150 ====
143 151