Commits

Author Commit Message Labels Comments Date
Amaury Forgeot d'Arc
in CPython, setting a read-only property() raises AttributeError; setting a read-only C type member raises TypeError. PyPy at least is consistent...
Branches
fast-forward
Amaury Forgeot d'Arc
Modifiable copy of test_funcattrs.py
Branches
fast-forward
Hakan Ardo
chain lazy setfields following a getfield
Branches
jit-short-preamble
Hakan Ardo
Make getfield kill setfields
Branches
jit-short-preamble
Daniel Roberts
The test before was a bit silly.
Branches
psycopg2compatibility
Amaury Forgeot d'Arc
Another TODO item
Branches
fast-forward
Amaury Forgeot d'Arc
gc_collect() a bit to clear weak references
Branches
fast-forward
Amaury Forgeot d'Arc
On linux, the _locale module to get the default encoding
Branches
fast-forward
Amaury Forgeot d'Arc
Fix ExternalEntityRefHandler in pyexpat
Branches
fast-forward
Amaury Forgeot d'Arc
Suggestion to implement ResourceWarnings (CPython issue #10093) in PyPy
Branches
fast-forward
Amaury Forgeot d'Arc
Fix the test: w_type.w_doc should be the same object as in the type __dict__.
Branches
fast-forward
Antonio Cuni
kill outdated XXX, and small refactor
Branches
jitypes2
Antonio Cuni
move shape-related utilities from function.py to basics.py
Branches
jitypes2
Antonio Cuni
adapt after the refactoring of _ffi: in particular, now the conversion between (uni)chars and their numeric value is handled inside _ffi itself, and structures are directly passed/returned instead of using their raw address
Branches
jitypes2
Antonio Cuni
one more rpython fix
Branches
jitypes2
Antonio Cuni
rpython fix
Branches
jitypes2
Antonio Cuni
yet another refactoring: in the end, it turns out that _ffi is probably not the right place where to put the knowledge about ctypes-style shapes (i.e., letters): it is enough to distinguish between app-level types and ffi-level types, which is what was missing before the initial refactoring
Branches
jitypes2
Antonio Cuni
support for unichars
Branches
jitypes2
Amaury Forgeot d'Arc
Close the branch
Branches
simplify-conftest
Amaury Forgeot d'Arc
Merge "simplify-conftest" branch This allows the leakfinder tool to cooperate with teardown_methods: some tests want to clean some global objects before they are listed as memory leaks.
Branches
fast-forward
Amaury Forgeot d'Arc
Don't let raw UnicodeErrors in expat callbacks, use the "official" function which raises applevel exceptions.
Branches
fast-forward
Amaury Forgeot d'Arc
Merge hads
Branches
fast-forward
Amaury Forgeot d'Arc
At EOF, point the error to the last line of the file
Branches
fast-forward
Amaury Forgeot d'Arc
Test for __doc__ values, specially RuntimeError.__doc__ which was not set.
Branches
fast-forward
Amaury Forgeot d'Arc
A complex TODO item
Branches
fast-forward
Amaury Forgeot d'Arc
pypy names extension modules differently: _testcapi.pypy-14.so
Branches
fast-forward
Antonio Cuni
support for chars
Branches
jitypes2
Antonio Cuni
support for signed/unsigned bytes (i.e., C chars but treated as numbers at applevel)
Branches
jitypes2
Antonio Cuni
teach _ffi how to deal with structures by value: now you must pass directly the _rawffi.structure.W_StructureInstance object instead of the memory address where it resides; similarly, W_StructureInstance objects are returned instead of returning the memory address
Branches
jitypes2
Antonio Cuni
start the refactoring of _ffi to make it "shape-aware": the idea is that _ffi should be responsible to do the proper conversion between applevel and interp-level types, but to do so it needs more knowledge about the "shape": e.g., if the shape indicates a character, _ffi should expect a 1-lenght app-level string and convert it properly. So far, such kind of conversions were done inside _ctypes, which is now probably broken but will be fixed once the refactoring is complete
Branches
jitypes2
  1. Prev
  2. Next