Ben Kurtovic
b7b3b2e33e
Update changelog; minor tweak to file headers
пре 3 година
Ben Kurtovic
d36aa34997
Don't use f-strings; we still support Python 3.5
пре 3 година
Ben Kurtovic
1c983d3738
Assorted cleanup, linter fixes, and improvements for Python 3
пре 3 година
Kunal Mehta
7e5297fbe6
Drop Python 2 support
Fixes #221 .
пре 4 година
Hugo
e457b39f32
Upgrade Python syntax with pyupgrade https://github.com/asottile/pyupgrade
пре 5 година
Ben Kurtovic
68ded2f890
Add keep_template_params to Wikicode.strip_code ( #175 )
пре 7 година
Ben Kurtovic
aaffb7f66b
Update copyright for 2016.
пре 8 година
Ben Kurtovic
e71e7b4ece
Update copyright years for 2015; fix whitespace in docs.
пре 9 година
Ben Kurtovic
8bc7ea669d
Improve test coverage; fix some node-related bugs.
* Parameters with non-integer keys can no longer be created with
showkey=False, nor have the value of this attribute be set to False
later.
* Calling Template.remove() with a Parameter object that is not part of
the template now raises ValueError instead of doing nothing.
* Added tests for HTMLEntity._unichr() being called with out-of-range
codepoints.
* Added tests for Tag.__children__() and Tag.__showtree__() involving
attributes that have no values.
пре 10 година
Ben Kurtovic
e5f17eea00
Update copyright notices for 2014.
пре 10 година
Ben Kurtovic
066049b46a
Update email address.
пре 10 година
Ben Kurtovic
6bf8cfd2ad
Fix tests for Python 3.
пре 11 година
Ben Kurtovic
8db40689ed
Improve a few things about nodes; simply a method in Wikicode.
пре 11 година
Ben Kurtovic
404b4479a2
Implement the remaining asserts in TreeEqualityTestCase.
пре 11 година
Ben Kurtovic
cd5cc6a7d0
Update copyright notices for 2013.
пре 11 година
Ben Kurtovic
38b664f8c5
Add missing setters for some nodes and extras ( #8 )
пре 12 година
Ben Kurtovic
b0418189d6
Document all of Template, plus some other fixes.
пре 12 година
Ben Kurtovic
0d224e1a63
Document mwparserfromhell.nodes, Node, Heading, and HTMLEntity.
пре 12 година
Ben Kurtovic
90b18e3abc
Finish updating all to compat except for the parser.
пре 12 година
Riamse
2eb76e7de0
Adding Python 3 support
пре 12 година
Ben Kurtovic
59a25818b9
Updating documentation.
пре 12 година
Ben Kurtovic
17053e4701
Support &#Xhex; in addition to &#xhex;.
пре 12 година
Ben Kurtovic
137b9fc68f
Fix some bugs; satisfy PyLint on certain inheritance things.
пре 12 година
Ben Kurtovic
3633f31633
Relaive imports because they are awesome; more stuff in SmartList.
пре 12 година
Ben Kurtovic
69cfbd975f
Fix args.
пре 12 година
Ben Kurtovic
253c812fb3
Implement __strip__ API for Wikicode.
пре 12 година
Ben Kurtovic
f1f3fb0121
Determine whether an entity is named a bit more intelligently.
пре 12 година
Ben Kurtovic
43fc28e8e8
Implement Python-build-agnostic version of unichr().
пре 12 година
Ben Kurtovic
1e314ee1bd
Updates for Template and others.
пре 12 година
Ben Kurtovic
e88a5fd3cc
Quite a bit of additions, mostly to Template.
пре 12 година
Ben Kurtovic
c47cbb42e9
HTMLEntity; strip_code(); iterators for _nodify(); unicode in StringMixIn's MRO
пре 12 година
Ben Kurtovic
e4fd6ef127
Updating with a more logical project structure.
пре 12 година
Ben Kurtovic
4cb3506820
Update copyright notice; some additions.
пре 12 година
Ben Kurtovic
47bc513a7e
StringMixin -> StringMixIn
пре 12 година
Ben Kurtovic
9d1e77000c
A bunch of updates from the past weeks.
пре 12 година
Ben Kurtovic
a880ff8bf2
mwtemplateparserfromhell -> mwparserfromhell; some additions; still incomplete
пре 12 година
Ben Kurtovic
ce8adf4b2e
Initial commit
пре 12 година