Commit b2e196bf authored by Stefan Behnel's avatar Stefan Behnel

make context fields in refnanny context visible from Python code

parent 5fcc3e2e
...@@ -15,10 +15,10 @@ LOG_NONE, LOG_ALL = range(2) ...@@ -15,10 +15,10 @@ LOG_NONE, LOG_ALL = range(2)
@cython.final @cython.final
cdef class Context(object): cdef class Context(object):
cdef object name, filename cdef public object name, filename
cdef dict refs cdef public dict refs
cdef list errors cdef public list errors
cdef Py_ssize_t start cdef public Py_ssize_t start
def __init__(self, name, line=0, filename=None): def __init__(self, name, line=0, filename=None):
self.name = name self.name = name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment