Commits

Show all
Author Commit Message Labels Comments Date
mattip
add stubbed out methods and attributes to ndarray
Branches
ndarray-attributes
mattip
add stubbed out attributes to ndarray for numpy compatability
Branches
ndarray-attributes
Alex Gaynor
Merged upstream.
Alex Gaynor
Make __builtin__.next RPython
Armin Rigo
Tweaks for CPython 2.7 compatibility: - __nonzero__ must return a bool or an int, but not a long - if there is no __nonzero__, fall back to __len__, but then handle the result in the same way as len() would, e.g. allowing a long or a custom class with an __int__.
mattip
fix function export for visual studio
Armin Rigo
ANSI C doesn't allow 'p + n' if p is declared as 'void *'.
Armin Rigo
More tests. Fix.
Armin Rigo
Add kind == '?'.
Armin Rigo
Test and fix
Armin Rigo
Import test_c and fix the test.
Armin Rigo
Remove the need for the RPython manual optimization of writing "x in (2, 3, 4, 5)" because it is more efficient than "x in [2, 3, 4, 5]".
Armin Rigo
Update.
Armin Rigo
Typo
Armin Rigo
Pretend there is '_attrs_=[]' on most built-in exceptions classes.
Armin Rigo
Test and fix: corner case shown by Alex Gaynor.
Maciej Fijalkowski
fix apptests
Maciej Fijalkowski
add docstrings
Armin Rigo
ImmedLoc(0) -> imm0
Armin Rigo
Document more jit_libffi and add a helper.
Armin Rigo
hg merge ffi-backend: add the "_cffi_backend" module, and various refactorings to support it in the JIT.
Armin Rigo
Close branch to be merged.
Branches
ffi-backend
Armin Rigo
Merged in rlamy/pypy/translation-cleanup (pull request #82)
Ronan Lamy
Kill FlowEC.w_globals FlowExecutionContext doesn't really need this attribute, but the frame does, so store it there only.
Branches
translation-cleanup
Ronan Lamy
Move code from FlowEC.build_flow() to FlowSpaceFrame.__init__()
Branches
translation-cleanup
Ronan Lamy
Kill p.o.f.operation.special_overrides() Define the methods directly inside FlowObjSpace instead. In the case of getattr, this causes a bit of code duplication, but that's better than crazy monkey-patching.
Branches
translation-cleanup
Ronan Lamy
Reuse the same frame through the life of build_flow()
Branches
translation-cleanup
Ronan Lamy
Replace block.patchframe(frame) with frame.recording(block)
Branches
translation-cleanup
Ronan Lamy
Merge code into FlowExecutionContext.build_flow() Inline .__init__(), .create_frame() and .produce_generator_mark()
Branches
translation-cleanup
Ronan Lamy
Split off _init_graph() from FlowExecutionContext.__init__()
Branches
translation-cleanup
  1. Prev
  2. Next