packages feed

MissingPy 0.10.4 → 0.10.5

raw patch · 2 files changed

+4/−4 lines, 2 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Python.Objects: instance [overlap ok] (FromPyObject a) => FromPyObject [(a, PyObject)]
- Python.Objects: instance [overlap ok] (FromPyObject a) => FromPyObject [a]
- Python.Objects: instance [overlap ok] (ToPyObject a) => ToPyObject [(a, PyObject)]
- Python.Objects: instance [overlap ok] (ToPyObject a) => ToPyObject [a]
+ Python.Objects: instance [overlap ok] FromPyObject a => FromPyObject [(a, PyObject)]
+ Python.Objects: instance [overlap ok] FromPyObject a => FromPyObject [a]
+ Python.Objects: instance [overlap ok] ToPyObject a => ToPyObject [(a, PyObject)]
+ Python.Objects: instance [overlap ok] ToPyObject a => ToPyObject [a]
- Python.Objects: fromPyObject :: (FromPyObject a) => PyObject -> IO a
+ Python.Objects: fromPyObject :: FromPyObject a => PyObject -> IO a
- Python.Objects: toPyObject :: (ToPyObject a) => a -> IO PyObject
+ Python.Objects: toPyObject :: ToPyObject a => a -> IO PyObject

Files

MissingPy.cabal view
@@ -1,5 +1,5 @@ Name: MissingPy-Version: 0.10.4+Version: 0.10.5 License: MIT Maintainer: Matt Brown <matt@softmechanics.net> Author: John Goerzen
Python/Interpreter.hs view
@@ -100,6 +100,7 @@                     )  import Foreign.C (withCString)+import Control.Exception (finally)  {- | Initialize the Python interpreter environment. @@ -115,9 +116,8 @@ #ifndef PYTHON_PRE_2_3 withGIL :: IO a -> IO a                            withGIL act = do st <- cpy_GILEnsure-                 r <- act-                 cpy_GILRelease st-                 return r+                 finally act+                   (cpy_GILRelease st) #endif                   pyRun_SimpleString :: String -> IO ()