Control: forwaded -1 https://bugs.python.org/issue45778
On 11/8/21 21:34, Russ Allbery wrote: > Package: python3.9 > Version: 3.9.8-1 > Severity: important > Control: affects -1 python3-typed-ast > > Python 3.9.8 breaks python3-typed-ast: > > % python3 -c 'from typed_ast import _ast3' > Traceback (most recent call last): > File "<string>", line 1, in <module> > ImportError: > /usr/lib/python3/dist-packages/typed_ast/_ast3.cpython-39-x86_64-linux-gnu.so: > undefined symbol: _PyUnicode_DecodeUnicodeEscape > > Downgrading to Python 3.9.7-4 fixes the problem. This also happens with > typed-ast installed directly via pip in a virtualenv. > > I'm not sure if this is a bug in Python or in typed-ast. Starting here > under the assumption that patch releases should be backward-compatible > since this looks like a missing symbol problem in the libpython shared > library, but if typed-ast is doing something it shouldn't, perhaps this > should be reassigned. The symbol is marked as an internal symbol (starting with an underscore), so this should be a private symbol. However typed-ast is using that directly in the code. I would say the issue is more on the side of typed-ast. You already filed https://github.com/python/typed_ast/issues/169 and https://github.com/python/typed_ast/issues/170 talks about the end-of-live for that module.