From: Eric H. <er...@he...> - 2019-09-11 22:35:33
|
because Inliner.init_customizations uses locals(), it can't be used in a subclass. This breaks subclasses that override init_customizations because they can't call super(). but super.init_customizations must be called because otherwise patterns is not initialized. For an example of how this problem required a workaround, see https://github.com/gutenbergtools/ebookmaker/pull/13 <https://github.com/gutenbergtools/ebookmaker/pull/13> Eric Hellman President, Free Ebook Foundation Founder, Unglue.it https://unglue.it/ https://go-to-hellman.blogspot.com/ twitter: @gluejar |