Skip to content

Instantly share code, notes, and snippets.

@Paikan
Paikan / reproduction.py
Created November 7, 2019 14:05
Bug in wikitextparser with tables
import json
import wikitextparser
with open("table1.json") as f: # or table2.json
data = json.load(f)
source = data["source_text"]
parsed = wikitextparser.parse(source)
print("Processing tables")
# This one will hang