Kunal Mehta
7e5297fbe6
Drop Python 2 support
Fixes #221 .
4 anni fa
Ben Kurtovic
83bcb902b8
Support manual construction of Node objects ( fixes #214 )
5 anni fa
Hugo
e457b39f32
Upgrade Python syntax with pyupgrade https://github.com/asottile/pyupgrade
5 anni fa
Ben Kurtovic
aaffb7f66b
Update copyright for 2016.
8 anni fa
Ben Kurtovic
e71e7b4ece
Update copyright years for 2015; fix whitespace in docs.
9 anni fa
Ben Kurtovic
87e0079512
Take proper advantage of Sphinx's default domains.
10 anni fa
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 anni fa
Ben Kurtovic
e5f17eea00
Update copyright notices for 2014.
10 anni fa
Ben Kurtovic
066049b46a
Update email address.
10 anni fa
Ben Kurtovic
cd5cc6a7d0
Update copyright notices for 2013.
11 anni fa
Ben Kurtovic
38b664f8c5
Add missing setters for some nodes and extras ( #8 )
11 anni fa
Ben Kurtovic
816207bb5a
Simplify docs massively.
11 anni fa
Ben Kurtovic
aeb214acb5
Document compat, nodes.extras, Attribute, Parameter
11 anni fa
Ben Kurtovic
90b18e3abc
Finish updating all to compat except for the parser.
11 anni fa
Riamse
aa4b45c1bb
Forgot the extras folder
11 anni fa
Ben Kurtovic
137b9fc68f
Fix some bugs; satisfy PyLint on certain inheritance things.
11 anni fa
Ben Kurtovic
3633f31633
Relaive imports because they are awesome; more stuff in SmartList.
11 anni fa
Ben Kurtovic
fca7e9dd80
Implement Heading, HTMLTag, HTMLTagAttribute, plus some fixes.
11 anni fa
Ben Kurtovic
900c559385
Move mwpfh.parser.utils to mwpfh.utils; fix import structure.
12 anni fa
Ben Kurtovic
e88a5fd3cc
Quite a bit of additions, mostly to Template.
12 anni fa
Ben Kurtovic
e4fd6ef127
Updating with a more logical project structure.
12 anni fa
Ben Kurtovic
4cb3506820
Update copyright notice; some additions.
12 anni fa
Ben Kurtovic
47bc513a7e
StringMixin -> StringMixIn
12 anni fa
Ben Kurtovic
9d1e77000c
A bunch of updates from the past weeks.
12 anni fa
Ben Kurtovic
a880ff8bf2
mwtemplateparserfromhell -> mwparserfromhell; some additions; still incomplete
12 anni fa
Ben Kurtovic
ce8adf4b2e
Initial commit
12 anni fa