Ben Kurtovic

Results 104 comments of Ben Kurtovic
trafficstars

In #46, there is a code snippet that might do what you want. I’m not sure how well it works. > On Apr 30, 2019, at 9:33 AM, suhassumukhv wrote:...

I guess the runaway memory usage is from our cache of which combinations of tag locations are known to be invalid. Probably we're storing that in a very inefficient way...

Thanks for the bug report! (At the very least we should add a distinct node type for module invocations, in the same vein as parser functions, c.f. #10.) To clarify,...

@lahwaacz is right, but maybe there's room here for improvement. We might want to distinguish between Text nodes that are "visible"/rendered and Text nodes that are purely internal like template...

The tag.py change is quite a hack and makes me uncomfortable. What we might need here is some awareness that padding is required when stripping tags in certain cases. (As...

Thanks, I'll look at the appveyor issue. Unfortunately, I'm not sure about this. Now we need to maintain this list for every language, which introduces an additional maintenance burden. (This...

There's no special filter (right now) – tables are just parsed as a special kind of HTML tag, so you can use `filter_tags`. For example: ``` python >>> import mwparserfromhell...

The only methods we currently have for this are the normal HTML tag traversal methods. What you want to do should be possible with those, but it’s not ideal. I...

Looks like no code changes are required, since the test suite passes with no issues. I've updated the GH Actions to build Linux and macOS wheels for 3.10, but full...

What version of mwparserfromhell are you using, and what revision ID of Lombardy are you trying to load? I don't have any problem parsing the infobox with the latest parser...