|
From: Günter M. <mi...@us...> - 2022-12-17 12:21:23
|
- **status**: open --> open-fixed - **Comment**: Fixed in [r9310]. Thank you for the report and sorry for the breaks. As a future-proof workaround, you may consider heading the tip in the DeprecationMessage and set the class name directly instead of via the deprecated node.set_class() method. --- ** [bugs:#463] Bug in nodes.py warnings** **Status:** open-fixed **Created:** Thu Dec 08, 2022 01:41 PM UTC by Julianus Pfeuffer **Last Updated:** Thu Dec 08, 2022 01:41 PM UTC **Owner:** nobody Hi! I think https://sourceforge.net/p/docutils/code/8949/ introduced a bug in https://sourceforge.net/p/docutils/code/HEAD/tree/trunk/docutils/docutils/nodes.py#l1071 Not sure if you can split the string with a comma there. It breaks a lot of code. The error is: ~~~ Exception occurred: File "/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/docutils/nodes.py", line 1069, in set_class warnings.warn('docutils.nodes.Element.set_class() is deprecated; ' TypeError: argument for warn() given by name ('stacklevel') and position (3) ~~~ --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |