Commits

Author Commit Message Labels Comments Date
Antonio Cuni
test bytes literals instead of unicode, and make sure to write bytes to a file opened with 'wb'
Branches
py3k
Antonio Cuni
s/func_code/__code__
Branches
py3k
Antonio Cuni
we need a BytesIO for marshal. Also, fix syntax about longs
Branches
py3k
edelsohn
Allocate normal stack frame in _build_malloc_slowpath.
Branches
ppc-jit-backend
Armin Rigo
Phew. A passing test checking that gc pointers are correctly
Sven Hager
cast address
Branches
ppc-jit-backend
Antonio Cuni
kill module/_file. Files are handled by the _io module now
Branches
py3k
Armin Rigo
Add a passing test.
Antonio Cuni
hg merge default
Branches
py3k
Antonio Cuni
move wrap_streamerror and wrap_oserror_as_ioerror in a separate file. This is usefult in the py3k branch because we are about to kill module/_file
Antonio Cuni
move the import in the setup_class, else it runs and fails on top of py.py (because the tests load the source of test_app.py itself)
Branches
py3k
Antonio Cuni
autodetect the encoding and use it to open the file when calling imp.find_module
Branches
py3k
Antonio Cuni
make sure to always specify an explicit encoding. Else, _io.open will try to import locale to get the default one, triggering a recursive import and then BOOM
Branches
py3k
Antonio Cuni
fix the invocations of _testfile because the signature changed
Branches
py3k
Antonio Cuni
it might happen that itertools is already imported because _io imports locale which imports the world. Delete it from sys.modules before starting the test
Branches
py3k
Antonio Cuni
use 'struct' instead of 'string', because when we happen to import the stdlib module, it has fewer dependencies. It's much faster, and string won't import anyway because itertools is shadowed
Branches
py3k
Sven Hager
add test_gc_integration from x86 backend
Branches
ppc-jit-backend
Armin Rigo
In-progress: import existing tests for using them with 'gcrootfinder=scan'.
Branches
miniscan
Armin Rigo
Comment.
Branches
miniscan
Armin Rigo
Add the option.
Branches
miniscan
Sven Hager
(bivab, hager): the previous jump condition was correct, see comment in code
Branches
ppc-jit-backend
Sven Hager
use architecture independent cmp_op instead of cmpwi/cmpdi
Branches
ppc-jit-backend
Sven Hager
merge
Branches
ppc-jit-backend
Sven Hager
(bivab, hager): use more space efficient guard state encoding like X86 and ARM backends
Branches
ppc-jit-backend
Sven Hager
add *args to __exit__ method in class scratch_reg
Branches
ppc-jit-backend
Sven Hager
add method to branch and link to absolute address
Branches
ppc-jit-backend
Armin Rigo
Start.
Branches
miniscan
Armin Rigo
Another attempt to have conservative stack scanning for the
Branches
miniscan
Armin Rigo
Add _Py_ForgetReference().
Antonio Cuni
rewrite this test by using directly _warnings instead of warnings: it's a considerable speedup, and import warnings did not ultimately work because the stdlib itertools module is shadowed by our testing package
Branches
py3k
  1. Prev
  2. Next