Yuri Astrakhan
44ec68ff10
WIP - rewrote smart list
This is a first draft of the smart list.
It passes all of the existing smartlist tests
(except for full-list reversal, whose behavior has changed),
but the rest of the code has not yet been updated.
пре 4 година
Yuri Astrakhan
4065624150
updated comment/license
пре 4 година
Yuri Astrakhan
aa37425a9b
move smart_list into sub-package/multiple files
Step one of refactoring - making SmartList into its own
package, with each class having its own file. No code
changes were made.
Note that SmartList and ListProxy import each other,
so had to import SmartList as a full package name
rather than use from ... import ... construct.
пре 4 година
Ben Kurtovic
3fcbe7b404
Merge pull request #228 from nyurik/org
ignore InteliJ IDEA files
пре 4 година
Yuri Astrakhan
ce4254fd19
ignore InteliJ IDEA files
пре 4 година
Ben Kurtovic
416c7f6b78
Merge pull request #225 from nyurik/patch-2
add missing public items to __all__
пре 4 година
Yuri Astrakhan
e66a2db0ed
add missing public items to __all__
Added a few more public classes, and sorted the __all__ value.
The Attribute and Parameter classes are not included as they can
be imported from the `mwparserfromhell.nodes.extras` without
linter complaining. They could be added to this __all__ too.
пре 4 година
Ben Kurtovic
1d5db41751
Add Python 3.8 to CI
пре 5 година
Ben Kurtovic
56e776a578
Update .travis.yml test running
пре 5 година
Ben Kurtovic
b09b619709
Switch to 'unittest discover' over 'setup.py test'
пре 5 година
Ben Kurtovic
b3c98efd22
Fix a parsing bug involving deeply nested style tags ( fixes #224 )
пре 5 година
Ben Kurtovic
2a4e1f4316
Add contexts.describe() for debugging
пре 5 година
Ben Kurtovic
ee99c7bd41
Experiment concluded
пре 5 година
Ben Kurtovic
83b58655ea
Experiment with DeepSource
пре 5 година
Ben Kurtovic
b6e4c59004
Switch to requests for basic API example ( closes #219 ); update links
пре 5 година
Ben Kurtovic
6136b1b205
Make Wikicode.matches() treat _ and space as equivalent ( fixes #216 )
пре 5 година
Ben Kurtovic
9965709934
Version bump; update release script; update Travis
пре 5 година
Ben Kurtovic
18646f712f
release/0.5.4
пре 5 година
Ben Kurtovic
8c5f554406
Add guard against a rare crash in the C tokenizer
пре 5 година
Ben Kurtovic
98dc30902d
Version bump
пре 5 година
Ben Kurtovic
3d116713b2
release/0.5.3
пре 5 година
Ben Kurtovic
fa98aad408
Bump copyright [skip ci]
пре 5 година
Ben Kurtovic
4775131717
Fix not memoizing bad routes after failing inside a table ( fixes #206 )
пре 5 година
Ben Kurtovic
6e61c99c90
Update API query example; clarify docstring
пре 5 година
Ben Kurtovic
708bee59e1
Minor cleanup
пре 5 година
Ben Kurtovic
83bcb902b8
Support manual construction of Node objects ( fixes #214 )
пре 5 година
Ben Kurtovic
0ae5f6d641
Fix regression in previous commit on _ListProxy transformations ( fixes #213 )
пре 5 година
Ben Kurtovic
840a88bcd6
Fix Wikicode transformation methods on empty sections ( fixes #212 )
пре 5 година
Ben Kurtovic
2c0b9e5795
Version bump, fix release script again [ci skip]
пре 6 година
Ben Kurtovic
8a88198aae
release/0.5.2
пре 6 година
Ben Kurtovic
5ce918e007
Update changelog [ci skip]
пре 6 година
Ben Kurtovic
a21d0d6946
Proper README syntax highlighting
пре 6 година
Ben Kurtovic
2c206bc16b
Fix crash due to PyList_GET_SIZE being applied to a dict ( fixes #208 )
пре 6 година
Ben Kurtovic
62fce8f1ee
Apply previous commit ( 59369e3
) to docs [ci skip]
пре 6 година
Ben Kurtovic
02151e24f7
Merge pull request #207 from BryghtShadow/patch-1 [ci-skip]
fix example: wrap dict.values in list()
пре 6 година
Shii Kayano
59369e3c35
fix example: wrap dict.values in list()
In Python 3, `dict.values` returns a dict_values object, which does not support indexing.
пре 6 година
Ben Kurtovic
6de7d41733
Fix signals getting stuck inside the C tokenizer ( #206 )
пре 6 година
Ben Kurtovic
de6e671c40
Update changelog, remove now-unneeded test discovery script, cleanup
пре 6 година
Ben Kurtovic
563901fa95
Merge pull request #204 from hugovk/rm-eol
Drop support for EOL Python 2.6, 3.2 and 3.3
пре 6 година
Hugo
f372d3d495
Upgrade unit test asserts
пре 6 година
Hugo
e457b39f32
Upgrade Python syntax with pyupgrade https://github.com/asottile/pyupgrade
пре 6 година
Hugo
59636609db
Drop support for EOL Python
пре 6 година
Ben Kurtovic
2bb2728428
Update changelog [ci skip]
пре 6 година
Ben Kurtovic
0df048424a
Merge pull request #200 from legoktm/wbr
Add <wbr> to definitions.py
пре 6 година
Kunal Mehta
e506380318
Add <wbr> to definitions.py
Added to MediaWiki in ff74113bea (T54468).
пре 6 година
Ben Kurtovic
92237003d9
Try to fix appveyor issues.
пре 6 година
Ben Kurtovic
b354c56755
Version bump; cleanup [ci skip]
пре 6 година
Ben Kurtovic
cb96b4378a
release/0.5.1
пре 6 година
Ben Kurtovic
d0da416e3e
Make release script safer.
пре 6 година
Ben Kurtovic
1a4e2fc019
Add Python 3.7 to trove classifiers.
пре 6 година