Theano/Theano — pull request #1414 by HapeMask (2013-06-17 18:06:39+00:00)
Title: Use NpyCapsule instead of PyCObject for py3k compat.

The capsule API can mostly be just substituted for the PyCObject API (though I am familiar with neither, this was learned from reading py2->3 porting guides). Numpy provides a wrapper that handles this. (Issue #1413)