Commits

Author Commit Message Labels Comments Date
Amaury Forgeot d'Arc
Merge heads
Amaury Forgeot d'Arc
SSLObject.read() now returns '' when the other side cleanly closes the connection. I could not come with a working test (sorry) but now test_ftplib.py passes.
Armin Rigo
Add "immortal=True" here.
Branches
32ptr-on-64bit
Armin Rigo
Merge default into this branch. There are some test failures still.
Branches
32ptr-on-64bit
Armin Rigo
Perform a dummy merge to update mercurial's view of this branch, corresponding to the real merge that was done in a874ba0b58e5 with svn.
Branches
32ptr-on-64bit
Armin Rigo
Close branch.
Branches
jit-longlong
Armin Rigo
Merge the jit-longlong branch. Adds the type W_SmallLongObject, which is an app-level 'long' implemented as a C 'long long'; and add some support in the jit for the SignedLongLong type. Only useful on 32 bits.
Armin Rigo
Remove some methods added and not used.
Branches
jit-longlong
Armin Rigo
Comments.
Branches
jit-longlong
Armin Rigo
Small simplification of the logic.
Branches
jit-longlong
Armin Rigo
Remove the commented-out line again.
Branches
jit-longlong
Maciej Fijalkowski
Add a new description how this might work
Bobby Impollonia
Port fix (and test) of simplejson issue #57 to stdlib json library. The bug is that loads('{}') gives [] instead of {} http://code.google.com/p/simplejson/issues/detail?id=57 This issue doesn't arise in CPython 2.7.0 because it doesn't exist in the _json C implementation that it uses to replace of the pure Python implementation with the bug.
Bobby Impollonia
mark json tests that check for C functions as implementation dependent
Armin Rigo
Patch by bobbyi, part 0: copy the stdlib json package to modified-2.7.0
Antonio Cuni
add the possibility to pass random objects as pointers, as long as they implement the _as_ffi_pointer() method
Branches
jitypes2
Antonio Cuni
hoorray! test_ctypes_call in test_pypy_c, which was the whole point of this branch, now passes :-)
Branches
jitypes2
Antonio Cuni
cache the result of make_specialized_subclass
Branches
jitypes2
Daniel Roberts
Not worrying about being as strict as CPython.
Daniel Roberts
Sanity courtesy of Alex_Gaynor
Daniel Roberts
Merging heads
Daniel Roberts
Importing PySequence changes from psycopg2compatibility branch.
Antonio Cuni
alternative approach to make ctypes call fast: first, we try to call the underlying _ffi function: if we get a TypeError, it means that _ffi could not convert the argument and we rollback to the slow version with full argument conversions. Obviosuly, it is fast as long as the _ffi module is able to correctly convert the arguments: so far, only simple types are supported, but it should be possible to add more cases
Branches
jitypes2
Antonio Cuni
move the logic for how to unwrap ctypes values into _ffi compatible values from the Function class to the various _CData classes; this will probably make things easier to optimize later
Branches
jitypes2
Amaury Forgeot d'Arc
Maybe fix test_ftplib: a closed socket doesn't raise an exception on s.fileno(), it just returns -1
Amaury Forgeot d'Arc
Merge heads
Amaury Forgeot d'Arc
Implement comparison of memoryview with other buffer objects
Amaury Forgeot d'Arc
a TypeError is probably right here (buffer.setitem raises this)
Amaury Forgeot d'Arc
Oops, forgot to update the test
Amaury Forgeot d'Arc
Skip calls to sys.getrefcount()
  1. Prev
  2. Next