#6702 (The 'text' argument to find()-type methods is deprecated. Use 'string' instead.)
by Luc Saffre · in Developers · assigned to Luc Saffre
Résumé
This DeprecationWarning is caused by a line "comments = soup.find_all(text=lambda t: isinstance(t, (Comment, Doctype)))" in lino.utils.soup.
Concepts sous-jacents
Commentaires
- 6 mois, 3 semaines ago by Luc Saffre about #6702 (The 'text' argument to find()-type methods is deprecated. Use 'string' instead.) : This will be fixed in my next commit.
- 6 mois, 3 semaines ago by Luc Saffre about #6702 (The 'text' argument to find()-type methods is deprecated. Use 'string' instead.) : My commit e4facc79 in lino accidentally also contained changes for another ticket. I actually wanted to push only the line of change in lino.utils.soup. And that line of change was an untested quick shot, and I understood only a few days later that it caused a few doctest failures because it was bul...
- 6 mois, 3 semaines ago by Luc Saffre about #6702 (The 'text' argument to find()-type methods is deprecated. Use 'string' instead.) : Created new Ticket #6702 (The 'text' argument to find()-type methods is deprecated. Use 'string' instead.).