psycopg2compatibility

View source
psycopg2compatibility
  • Contributors
    1. Loading...
Author Commit Message Date Builds
250+ commits behind default.
Daniel Roberts
The test before was a bit silly.
Daniel Roberts
Tested to make sure there was no failure, instead of testing for success, so I didn't catch that I didn't return 0 on success.
Daniel Roberts
Oops, forgot to rerun the test after fixing the merge.
Daniel Roberts
Added preliminary support for PySequence_DelItem() and test.
Daniel Roberts
Recovered intobject.py from my crappy merge...
Daniel Roberts
Just finished a rather painful merge from default
Daniel Roberts
Fixed translation.
Daniel Roberts
Fixed translation errors coming from using kwargs. debug_refcount is slightly less nice, but when used with cpyext-call it should be nicer anyways.
Daniel Roberts
Implementation of PyFloat_FromString() is much closer to being correct, but the docs don't describe whether or not to set an error when it can't parse the string.
Daniel Roberts
Changed logging cpyext calls to cpyext-call and moved function __name__ lookup to import time.
Daniel Roberts
I must have been out of it when I wrote this test, PyFloat_FromString() takes a PyObject *
Daniel Roberts
Added support for PyFloat_FromString() and test
Daniel Roberts
Formatted TypeError message to look like CPython.
Daniel Roberts
Refactor test to use self.raises from BaseApiTest
Daniel Roberts
Now reject dictionaries, test for this.
Daniel Roberts
Using PyErr_\* to test for exceptions in the test, don't incref value.
Daniel Roberts
Don't allow PySequence_SetItem on tuples, change the the test to reflect this.
Daniel Roberts
Changed way too much for one commit... Always decrement cpyext logging indentation, even in case of exception. Can disable logging at runtime, such as when the logger calls PyObject_Repr.
Daniel Roberts
use debug_print instead of dumping to stdout
Daniel Roberts
Added support for PySequence_SetItem.
Daniel Roberts
DEBUG_REFCOUNT works again!
Daniel Roberts
Not sure this is an adequate test, but it does fail with the bad code, and succeed with the good...
Daniel Roberts
Beat the refcount logging code until it looked pretty in conjunction with the rest of CPyExt logging.
Daniel Roberts
Really uglied up the place... (Added logging to "case 3" CPyExt calls.
Daniel Roberts
Such an innocuous change made all the difference.
Daniel Roberts
It translates!
Daniel Roberts
Passing tests again, should translate as well, testing that soon.
Daniel Roberts
Trying to RPython-ize CPyExtCallLogger
Daniel Roberts
Importing my changes from before.
Daniel Roberts
I don't like mucking about on trunk.