Source

pypy / pypy / rpython / ootypesystem / rootype.py

Author Commit Message Labels Comments Date
Antonio Cuni
implement call_args for oo low level bound methods
Antonio Cuni
implement '==' and '!=' for ootype classes
Antonio Cuni
merge r54816 from oo-jit/ svn merge svn+ssh://codespeak.net/svn/pypy/branch/oo-jit/pypy/ -r54815:54816 implement rtype_is_true for ootype.Object
Antonio Cuni
manually replay r53076, to make llhelper() working also with ootype
Antonio Cuni
replay r53057 annotation & rtyping of the new type ootype.Object and the two operations cast_to_object and cast_from_object.
Antonio Cuni
whack here and there until we can run the first timeshifted tests with gencli
Antonio Cuni
add support to call_args on low level static methods
Antonio Cuni
a much saner approach to handle dynamically generated delegates; they are converted to the equivalent StaticMethod, and called by indirect_call; this way, gencli automatically handles the generation of the corresponding delegate class. Hardcoded delegate classes are still used but only for testing, when we interprets things on pythonnet, so they have been moved to the pypy.test namespace.
Carl Friedrich Bolz
continue the move of pypy.annotation.pairtype to pypy.tool.pairtype: fix imports and kill the import forwarding file.
Antonio Cuni
Use SomeCliInstance instead of SomeOOInstance was not a good idea. Revert to the old behaviour and add support for nullable SomeOOInstance.
Antonio Cuni
Support for overloaded bound methods in ootype. This is quite useless in plain RPython, but it can be exploited by high level backends such as gencli to expose native classes.
Antonio Cuni
Make ootypesystem to work with SomeOOInstance with Void lowleveltype too. Some more ootypesystem tests.
Antonio Cuni
(antocuni, nik) Fixed a bug that prevented StaticMethods to be called inside low level helpers when they are not constant.
Antonio Cuni
- Added support for is_, eq and ne between two OOInstanceRepr. - Added convert_constant to ootypeststem/rlist.py - Added more tests for ootypesystem's list.
Niklaus Haldimann
(pedronis, nik) tackle exception for ootype in general (all oosends can raise an exception) and test it for list getitem/setitem in particular.
Samuele Pedroni
make ootype enforce static types with views, casts aren't noops anymore. add and update tests. llinterp uses now enforce helper which can upcast as necessary. (for now one can get back the previous dynamic behavior by changing a flag) shouldn't break gensqueak too much.
Armin Rigo
ootyper: * more operations needed by ll helpers ("oo helpers"?) on OOInstanceReprs: 'is' and truth-value testing. * introduced a NULL run-time class reference, returned by type(x) if x is an instance that turns out to be None. This supports the RPython style 'if type(x) is W_SuchAndSuch:...' * annotator support: SomeOOClass(None) for this NULL run-time class reference. * more annotator support:…
Bert Freudenberg
implement classof and runtimenew
Michael Hudson-Doyle
M-x untabify
Boris Feigin
* Adding rpython/ from hl-backend branch into trunk.