Commits

Show all
Author Commit Message Labels Comments Date
Maciej Fijalkowski
missing import
Branches
inline-dict-ops
Maciej Fijalkowski
merge default
Branches
inline-dict-ops
Maciej Fijalkowski
force assembler when calling adjust bridges
Armin Rigo
track_allocation=False should also be specified on the lltype.free().
Armin Rigo
Add track_allocation=False here too.
Armin Rigo
Fix the test. This gives a first approximation of the .NET AddMemoryPressure(). This version is simpler than a counter that needs to be carefully incremented and decremented by the exact same amount. The idea is to use track_allocation=False to know when a raw malloc is going to be attached to a GC object (good enough for now). All such raw mallocs make the next major collection occur earlier. So the major collection is triggered when sum( GC object surviving minor collections + rawmallocs with track_allocation=False ) > trigger The raw mallocs are attached to GC objects with a __del__, which are never allocated young, so they will survive at least until the major collection. But if they survive for longer, they are ignored for future major collections. This is again an approximation, but in the "safe" way. I…
Armin Rigo
Add a test, failing so far.
Armin Rigo
Add track_allocation=False to the raw memory allocated by array.array().
Armin Rigo
Backed out changeset 54515dec1d20: it is responsible for the failures in lib-python's tests shown by tonight's buildbot run.
Benjamin Peterson
refactor to not increment two counters
Alex Gaynor
merged upstream.
Alex Gaynor
merged upstream
Alex Gaynor
hash_w is a bit prettier.
Antonio Cuni
after armin's changes about elidable raising functions, we generate guard_no_exception here
Justin Peel
numpy: fix slices of virtual arrays
Philip Jenvey
fix handling of inf in jvm's frexp
Alex Gaynor
Merged in cgerum/pypy (pull request #5). Adds numpy.arc{sin,cos,tan}.
cgerum
merge default
Branches
numpy-ufunc-trig
cgerum
numpy: Added inf and -inf to test of arctan ufunc
Branches
numpy-ufunc-trig
cgerum
numpy: Added ufuncs for arcsin, arccos, arctan
Branches
numpy-ufunc-trig
Alex Gaynor
Preallocate the result for str.__repr__ more appropriately, use len(self) + 2, which will be correct in the common case of "no special characgters". Alex
Alex Gaynor
Rollback the use of functools here, I want to be sure I didn't break stuff.
Alex Gaynor
Make this function do what was intended.
Armin Rigo
Clarify.
Alex Gaynor
merged upstream.
Alex Gaynor
use functools.wrap here, should maintain some more of the functions attributes this way.
Armin Rigo
merge heads: support @elidable functions that raise
Armin Rigo
Put @elidable on calls to identityhash() only.
Armin Rigo
Backed out changeset a3001c18a307: oups, that was wrong. @elidable turns the function call into a residual call.
Armin Rigo
Add a number of @elidable, now that they can raise.
  1. Prev
  2. Next