Commits

Show all
Author Commit Message Labels Comments Date
Jeff Terrace
Remove FakeSpace string code no longer needed
Branches
numpy-dtype-strings
Jeff Terrace
Change string special case to use call_function instead
Branches
numpy-dtype-strings
Jeff Terrace
Add string to FakeSpace to fix failing compile tests
Branches
numpy-dtype-strings
Jeff Terrace
Updated int and float types to take strings in their constructors so things like int32('34') work
Branches
numpy-dtype-strings
Armin Rigo
Hopefully fix test_pypy_c:test_call:test_stararg_virtual, by forcing getitems_fixedsize() to unroll small constant-length lists.
Armin Rigo
hg backout 3eba2ed546ad Does not translate. The issue is that to_builtin_type() is not RPython: the result of self.unbox() is going to be promoted to the widest possible integer, meaning that tests like "assert y.tolist() is True" would fail after translation (if it did translate).
Armin Rigo
Merge the SpecialisedTuples branch, started by Mark W. P. Add a number of interp-level classes for 'tuple', specialized to some small number of items, e.g. (int, int), (int, object), etc. It should be a win both memory-wise and speed-wise, as it reduces a lot the number of reads and checks done to access tuple elements.
Armin Rigo
hg merge default
Branches
SpecialisedTuples
Armin Rigo
Update the demo.
Branches
SpecialisedTuples
Armin Rigo
Fix: _hashlib was just broken for any non-standard hash function. Small extra clean-ups.
Armin Rigo
Fix. The testing framework was happily accepting app-level methods that are generators, and then running the yielded functions at interp-level :-( Add a hack to conftest.py to prevent that, and rewrite the test in a non-generator style. Now it fails, good.
Armin Rigo
Typo.
Branches
SpecialisedTuples
Armin Rigo
Fix: make sure that PySequence_Fast() returns a W_ListObject or a W_TupleObject, not just some object of type list or tuple. The reason is that PySequence_Fast_GET_xxx() expects these exact interp-level types.
Branches
SpecialisedTuples
Armin Rigo
Dead import
Branches
SpecialisedTuples
Maciej Fijalkowski
Merge nedbat-sandbox branch, with one tweak, don't realy on identity of one, just use object() for identitiy checks.
Armin Rigo
Add a test for some of the nonstandard hashes (issue957)
Alex Gaynor
(jterrace, alex): Expose unsigned integer types in numpy and fix a typo. Fixed up the handling of unsigned64s which are larger in value than a long.
Alex Gaynor
(jterrace) added tolist to various objects in numpy.
Alex Gaynor
update the version number (technically we're 1.8-pre or something now, but this is at least *more* accureate)
Ned Batchelder
Implement from os: getuid, geteuid, getgid, getegid; in an attempt to get 'import site' working, but the problems go deeper.
Branches
nedbat-sandbox
Armin Rigo
Forbid SomeObject there.
Alex Gaynor
some of these generate getfield_gc_pures now
Maciej Fijalkowski
Fail slightly bettter than a SyntaxError
Armin Rigo
Skip these tests in py.test -A.
Armin Rigo
fixes for test_app_main.
Armin Rigo
Baaaaah. Don't rely on "is" being true for two independently wrapped strings. It fails on py.py, for example.
Armin Rigo
test and fix
Armin Rigo
Improve the hack 062e9d06c908: revert the changes done in the RegisterManager, and instead write a more involved but cleaner solution in the FrameManager. As a bonus you get tests too. This solution should work even when assembling bridges, not just loops.
Armin Rigo
Python 2.5 compat
Maciej Fijalkowski
add -g so debugger can be used
  1. Prev
  2. Next