Skip to content

Commit 12b733e

Browse files
committed
update to latest helpers
1 parent 9139210 commit 12b733e

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
# pkg
3535
pkg_name = "mood.event"
36-
pkg_version = "1.5.1"
36+
pkg_version = "1.6.0"
3737
pkg_desc = "Python libev interface"
3838

3939
PKG_VERSION = ("PKG_VERSION", "\"{0}\"".format(pkg_version))
@@ -85,7 +85,7 @@ def libev_version():
8585
keywords="libev event",
8686

8787
setup_requires = ["setuptools>=24.2.0"],
88-
python_requires="~=3.8",
88+
python_requires="~=3.10",
8989
packages=find_packages(),
9090
namespace_packages=["mood"],
9191
zip_safe=False,
@@ -122,7 +122,7 @@ def libev_version():
122122
"Intended Audience :: System Administrators",
123123
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
124124
"Operating System :: POSIX",
125-
"Programming Language :: Python :: 3.8",
125+
"Programming Language :: Python :: 3.10",
126126
"Programming Language :: Python :: Implementation :: CPython"
127127
]
128128
)

src/Loop.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,14 @@ __Loop_FullStop(ev_loop *loop)
3535
static inline int
3636
__Loop_Fatal(PyObject *context)
3737
{
38-
PyObject *exc_type, *exc_value, *exc_traceback;
38+
PyObject *exc_type, *exc_value, *exc_traceback, *tmp;
3939
_Py_IDENTIFIER(__err_fatal__);
4040
int fatal = 0;
4141

4242
PyErr_Fetch(&exc_type, &exc_value, &exc_traceback);
43-
fatal = (_PyObject_HasAttrId(context, &PyId___err_fatal__) != 0);
43+
fatal = (_PyObject_LookupAttrId(context, &PyId___err_fatal__, &tmp) != 0);
4444
_PyErr_ChainExceptions(exc_type, exc_value, exc_traceback);
45+
Py_XDECREF(tmp);
4546
return fatal;
4647
}
4748

src/helpers

Submodule helpers updated 1 file

0 commit comments

Comments
 (0)