[Python-modules-team] Bug#979225: mistune: deprecation warning with Python 3.9

Julian Gilbey jdg at debian.org
Mon Jan 4 11:55:52 GMT 2021


Package: python3-mistune
Version: 0.8.4-4
Severity: normal
Tags: upstream

This deprecation warning appears with Python 3.9:

/usr/lib/python3/dist-packages/mistune.py:435: DeprecationWarning: invalid escape sequence \|
    cells[i][c] = re.sub('\\\\\|', '|', cell)

I'm not sure what is intended here; perhaps
    cells[i][c] = re.sub(r'\|', '|', cell)

Best wishes,

   Julian



More information about the Python-modules-team mailing list