pypy / pypy / rlib / test / test_objectmodel.py

Author Commit Message Labels Comments Date
Philip Jenvey avatarPhilip Jenvey
reorder
Branches
length-hint
Philip Jenvey avatarPhilip Jenvey
merge default
Branches
length-hint
Antonio Cuni avatarAntonio Cuni
fix test
Antonio Cuni avatarAntonio Cuni
don't complain if we pass None to something which expects unicode or str
Antonio Cuni avatarAntonio Cuni
add the possibility of doing @enforceargs(foo=int) in case we want to enforce only one specific argument
Antonio Cuni avatarAntonio Cuni
add support for more complex types in enforceargs, like [int] or {str:int}; also move the imports as late as possible, to prevent circular imports
Antonio Cuni avatarAntonio Cuni
a branch where to add support for % formatting to unicode strings in rpython
Branches
rpython-unicode-formatting
Antonio Cuni avatarAntonio Cuni
make sure to preserve the func_dict of the original function: this is needed if we decorate a func with both @enforceargs and e.g. @jit. Also, it now plays well with @specialize only if @specialize is seen *before* @enforceargs
Branches
better-enforceargs
Antonio Cuni avatarAntonio Cuni
check that we actually translates
Branches
better-enforceargs
Antonio Cuni avatarAntonio Cuni
add a better error message
Branches
better-enforceargs
Antonio Cuni avatarAntonio Cuni
add the possibility to disable the typechecking
Branches
better-enforceargs
Antonio Cuni avatarAntonio Cuni
improve the typechecking to be more similar to what the annotator actually does
Branches
better-enforceargs
Antonio Cuni avatarAntonio Cuni
handle defaults
Branches
better-enforceargs
Antonio Cuni avatarAntonio Cuni
do some typechecking on @enforceargs functions
Branches
better-enforceargs
Philip Jenvey avatarPhilip Jenvey
have resizelist_hint return nothing and not change the actual len
Branches
length-hint
Philip Jenvey avatarPhilip Jenvey
add resizelist_hint
Branches
length-hint
Maciej Fijalkowski avatarMaciej Fijalkowski
fix testas
Branches
speedup-list-comprehension
Carl Friedrich Bolz avatarCarl Friedrich Bolz
rename to is_annotation_constant. add a docstring.
Maciej Fijalkowski avatarMaciej Fijalkowski
Implement specialize.arg_or_var that creates either a specialization based
Branches
faster-isinstance
Maciej Fijalkowski avatarMaciej Fijalkowski
backout b02477f065b2, reinstantiane newlist hint. this time we want to use it
Branches
space-iterator-improvements
Amaury Forgeot d'Arc avatarAmaury Forgeot d'Arc
Move float/double related code from rarithmetic.py to rfloat.py
Branches
move-rfloat
Armin Rigo avatarArmin Rigo
Merge the branch gc-hash. Cleans up the usage of hashes. Now hash() is
Maciej Fijalkowski avatarMaciej Fijalkowski
A special hint that allows one to specify expected size of a list.
Armin Rigo avatarArmin Rigo
(cfbolz, arigo) merge the cleanup-weakref branch.
Carl Friedrich Bolz avatarCarl Friedrich Bolz
move jit rlib tests into their own file. fixes them, too, because the imports
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.