summaryrefslogtreecommitdiff
path: root/c/call_python.c
Commit message (Collapse)AuthorAgeFilesLines
* Windows fixArmin Rigo2019-04-191-1/+2
|
* attempt to use PyInterpreterState_GetDict()Armin Rigo2019-03-161-12/+25
|
* potential fix for Py 3.8Armin Rigo2019-02-251-0/+6
|
* "char *" => "const char *" until Python 3.7 is happyArmin Rigo2017-09-271-1/+1
|
* Update the comment.Armin Rigo2017-09-141-2/+3
|
* Use __sync_synchronize() only if setup.py detects we have it. Fix forArmin Rigo2017-01-131-1/+1
| | | | people using an incredibly old gcc.
* support more obscure compilers. source is ↵Armin Rigo2017-01-021-1/+14
| | | | https://github.com/matricks/bam/pull/61/files
* Python 3 compatArmin Rigo2016-03-161-1/+1
|
* Another attempt at improving the shutdown issues w.r.t. @def_externArmin Rigo2016-03-151-16/+44
|
* issue #246: trying to be more robust against CPython's fragileArmin Rigo2016-02-061-4/+10
| | | | interpreter shutdown logic
* hg merge defaultArmin Rigo2015-12-291-2/+25
|\
| * Expand commentArmin Rigo2015-12-051-4/+12
| |
| * in-progressArmin Rigo2015-12-051-2/+2
| |
| * in-progressArmin Rigo2015-12-051-2/+17
| |
* | py3k compatArmin Rigo2015-12-071-4/+1
| |
* | fix (very minor) leakArmin Rigo2015-12-071-1/+1
| |
* | Tweak for PyGILState_Ensure(), improving massively its performance inArmin Rigo2015-12-061-6/+2
|/ | | | case it is called repeatedly in a non-python-created thread
* Fix the issue with subinterpreters: now each subinterpreter should haveArmin Rigo2015-11-201-16/+113
| | | | its own independent copy of each @ffi.def_extern().
* Change the @ffi.def_extern() decorator to not automatically replace theArmin Rigo2015-11-201-8/+5
| | | | | | function with the cdata. You need to get the cdata from the lib explicitly. This should make it clearer that there is only one cdata, even if you apply the decorator again.
* an XXXArmin Rigo2015-11-181-0/+3
|
* Write one error message directly to stderr instead of sys.stderr. ThisArmin Rigo2015-11-181-15/+7
| | | | | lets us avoid taking the GIL, which might crash in case the Python interpreter is not initialized at all.
* update the code to use 'extern "Python"'Armin Rigo2015-11-181-23/+23
|
* More tests, make the name optional in ffi.call_python()Armin Rigo2015-11-131-2/+13
|
* ffi.call_python()Armin Rigo2015-11-131-7/+64
|
* in-progressArmin Rigo2015-11-131-1/+46
|
* in-progressArmin Rigo2015-11-131-0/+6