Source

pypy / pypy / module / _rawffi / callback.py

Author Commit Message Labels Comments Date
Armin Rigo
Don't raise uncaught RPython-level OSError
Alex Gaynor
Remove a bunch of dead imports.
Armin Rigo
Add an interface get_traceback()/set_traceback() on OperationError. The frame is marked as escaping only if we call get_traceback(), or if the exception escapes the current frame.
Branches
invalidate-virtualrefs
Amaury Forgeot d'Arc
Use RWeakValueDictionary for _rawffi callbacks
Branches
extend-rweakdict
Amaury Forgeot d'Arc
simplify _rawffi
Branches
improve-unwrap_spec
Amaury Forgeot d'Arc
Fix translation and update comment
Branches
fast-forward
Amaury Forgeot d'Arc
_rawffi: Add support for callbacks taking structures by value.
Branches
fast-forward
Amaury Forgeot d'Arc
Don't need to store the arguments shapes
Branches
fast-forward
Amaury Forgeot d'Arc
Finally fix translation I hope
Branches
fast-forward
Amaury Forgeot d'Arc
Merge from trunk: svn merge -r77543:78227 ../trunk/ .
Branches
fast-forward
Armin Rigo
Finish the merge of trunk into pyjitpl5.
Amaury Forgeot d'Arc
Callbacks also should honor the flags=FUNCFLAG_STDCALL attribute Test and fix.
Maciej Fijalkowski
Check-in merge attempt. Diff is to huge to read it.
Maciej Fijalkowski
a bit less magic - always pass buffer address to callback. This buffer leaves long enough for callback to finish, later might be bogus. This still does not solve a problem of a return value, next step.
Maciej Fijalkowski
Tracing for callbacks.
Carl Friedrich Bolz
remove __del__ (which is never called anyway). Leave a comment, this is what the eventual free method should look like.
Maciej Fijalkowski
Make both rpython and cpython happy.
Maciej Fijalkowski
* use proper interface for results of callbacks * fix issues (we don't really care about having an address of such stuff)
Maciej Fijalkowski
Forgotten about high-level address access
Maciej Fijalkowski
Try to fix annotation
Armin Rigo
Annotation fix attempts.
Maciej Fijalkowski
Support for _rawffi callbacks (not sure how keepalive stuff will look like, for now it's a bit crappy)
Armin Rigo
(cfbolz, fijal, arigo) Merge the applevel-ctypes2 branch. This contains a reasonably promizing pure app-level ctypes approach.