Source

pypy / pypy / annotation / signature.py

Author Commit Message Labels Comments Date
Greg Price
Add types.self notation, for signatures on methods
Branches
signatures
Greg Price
Basic support for instance types in signatures
Branches
signatures
Greg Price
Cut out complex interpretation of signature types This was copied from "enforceargs", but our little DSL will be different.
Branches
signatures
Greg Price
(price, arigato) Apply signature to return type
Branches
signatures
Greg Price
Check actual arguments against signature
Branches
signatures
Greg Price
Apply signature to arguments, and add some basic types
Branches
signatures
Greg Price
Add stub pypy.annotation.types module and then fix imports.
Branches
signatures
Maciej Fijalkowski
(arigo, fijal) Rename _freeze_ returning False to _cleanup_, now we can have hasattr(x, '_freeze_') without strange hacks to check for frozen PBCs.
Branches
kill-someobject
Armin Rigo
Slow progress. Did not find a better way than listing by hand the exceptions in make_raise_noarg().
Branches
kill-someobject
Armin Rigo
(fijal, arigo) A branch to really kill SomeObject support. Kill kill kill old old old code.
Branches
kill-someobject
Michael Hudson-Doyle
clean up some unused imports
Carl Friedrich Bolz
(xoraxax, cfbolz, pedronis): kill some code that is dead now that the extfunctable is gone
Maciej Fijalkowski
(fijal, cfbolz, antocuni) Merge branch of rpython-unicode ------------------------------------------------------------------------ r48463 | cfbolz | 2007-11-09 11:26:22 +0100 (Fri, 09 Nov 2007) | 2 lines Changed paths: M /pypy/branch/pypy-rpython-unicode/annotation/unaryop.py M /pypy/branch/pypy-rpython-unicode/rpython/rstr.py M /pypy/branch/pypy-rpython-unicode/rpython/test/test_runicode.py unicode.decode doesn't make any sense! it should be u…
Armin Rigo
Finish the merge of the pypy-more-rtti-inprogress branch. Delete the branches.
Armin Rigo
A missing import.
Armin Rigo
Forgot to check this in. This is what makes the tests pass again in r37051.
Maciej Fijalkowski
Store descriptions for keys of SomeGenericCallable
Maciej Fijalkowski
Be a bit more polite when changing existing functions semantics
Maciej Fijalkowski
Make the tests pass
Maciej Fijalkowski
Add a None dispatching
Maciej Fijalkowski
try to get bookkeeper if possible
Maciej Fijalkowski
Argh. Didn't meant to totally break everything at all.
Maciej Fijalkowski
(samuele, fijal) - Fix the SomeList instance to work in more cases.
Maciej Fijalkowski
Wack a bit to get better feeling of declaring external functions.
Maciej Fijalkowski
Added annotation function which will (hopefully) replace annotation_from_example approach and his friends
Maciej Fijalkowski
(arigo, fijal) - Create new function annotationoftype, so we can create annotations out of type in a more general way.
Maciej Fijalkowski
(fijal, pedronis, arigo) Move signature to a different file to decrease the confusion