Theano/Theano — pull request #1422 by HapeMask (2013-06-18 17:41:18+00:00)
Title: Fix CURAND Wrapper in Python 3

Python 3's capsule API and the corresponding NpyCapsule compat. wrapper changes the signature and behavior of the C object destructor.

This properly fixes the failed test in #1413.