Commits

Show all
Author Commit Message Labels Comments Date
Antonio Cuni
tentative checkin: implement WeakValueDictionary in rpython, without using the implementation in rlib.rweakref. This way it works also with ootype
Branches
cli-jit
Antonio Cuni
merge r70415 and r70454 from trunk: merge the jit-trace branch and kill a lot of "we_are_jitted", to make sys.settrace working inside loops
Branches
cli-jit
Antonio Cuni
don't crash if obj is null
Branches
cli-jit
Antonio Cuni
make AbstractMethDescr.jitcodes much smaller: instead of storing an entry for each possible class, we store it only for classes where the method is actually defined, and then we walk through the superclasses when we need it. The net result is that the static data is waaay smaller: the exe of pypy-cli-jit is now 14MB instead of 26MB, and the startup time is 29s instead of 1m:49s
Branches
cli-jit
Antonio Cuni
add a new ootype operations 'getsuperclassof', the get the superclass of objects of type ootype.Class
Branches
cli-jit
Antonio Cuni
it seems that some benchmarks requires more than 256 input arguments. The arrays should grow automatically, but for now just set it to a larger number
Branches
cli-jit
Antonio Cuni
what is not tested is broken...: test&fix for llong_lshift
Branches
cli-jit
Antonio Cuni
not all the constants needs to be initialized (e.g., instances without fields, empty lists, etc.). This saves a bit of useless "ldsfld xxx; pop" sequences during the constant initialization phase
Branches
cli-jit
Antonio Cuni
aesthetic changes
Branches
cli-jit
Antonio Cuni
a branch where to keep the cli jit working, while it's being destroyed on trunk :-)
Branches
cli-jit
Carl Friedrich Bolz
oops, missing import
Carl Friedrich Bolz
kill av_newdict and av_newdict2, normal dicts are just fine. Use simpler hash for descrlists.
Carl Friedrich Bolz
don't compare via sort_key here either, but just use the identity of the descrs
Armin Rigo
We can write "o1 is o2" instead of playing the sort_key() given a warning big enough in fielddescrof().
Armin Rigo
Document sort_key(). Kill an unused method.
Amaury Forgeot d'Arc
Test and fix the _getdefaultlocale() implementation on win32.
Carl Friedrich Bolz
A different approach to sharing the descrlists of virtual info object: use a global dictionary.
Amaury Forgeot d'Arc
Fixes the tests for the _locale module on windows: - Remove utf-8 constants from the file: they are not reliable when geninterp'd, and windows XP removed support for utf-8 locale anyway. Use the (verbose) name of the characters instead, and the cp1257 code page to handle Polish letters. - remove some constants from the module interface, "LOCALE_SISO3166CTRYNAME" &co can't be used with the _locale module. Still remains: a segfault when pypy-c cal…
Armin Rigo
Merge the branch/virtual-forcing so far, introducing proper forcing of virtualizables followed by a guard failure when we eventually return to assembler. This also changes the front-end so that it always aborts a trace after the virtualizable was forced. The changes are not very ootype-friendly. The CLI tests are disabled for now. Fix the write analyzer to give the correct answer even when calling external functions that may call back. svn merge -r69626:69792 svn+ssh://codespeak.net/svn/pypy/branch/virtual-forcing .
Amaury Forgeot d'Arc
Add str_w to the TinyObjSpace, to "fix" app-level tests of the locale module (which are skipped on my machine anyway)
Carl Friedrich Bolz
revert r69772, Armin thinks it's too complex as it cannot be understood immediately just by reading the diff.
Carl Friedrich Bolz
Share the field descr lists between all virtual info objects that have the same layout, not just those coming from the same specific virtual instance. This is done by having a sharing-dict-like (or SELF map-like) approach.
Antonio Cuni
update irc topics
Carl Friedrich Bolz
Vacation playing around: Clean up small integers a tiny bit: - kill outdated comments - share comparison code with intobject.py - get rid of a number of overflow checks. Many overflows cannot occur, because the .intvalue of a W_SmallIntObject fits into 31/63 bits, so the result of e.g. an addition will always fit into 32/64 bits.
Amaury Forgeot d'Arc
WIN32 is not defined on all windows compilers. Use #ifdef _WIN32 instead.
Alexander Schremmer
Added RPyC support code and the necessary proxy modules to run PyQt4 applications on PyPy.
Carl Friedrich Bolz
Cover anther case that was also fixed by r69752
Antonio Cuni
- fix test_runner.test_compile_bridge_with_holes - skip few test_basic tests that has no chance to work without translation
Carl Friedrich Bolz
Fix the bug Maciej found. It was not about slots at all, but the old .__dict__ that was at some point being read out of an object no longer being valid if .__dict__ is written to. Kill the apptest and write a unit-test for the problem.
Amaury Forgeot d'Arc
Fix translation on Windows, which was broken by the unconditional access to os.WCOREDUMP.__doc__
  1. Prev
  2. Next