Ben Kurtovic
32ac6958e1
Apply some bugfixes to SmartList to fix tests on Python 3.
- Add a _SliceNormalizerMixIn to properly handle slices.
- Use floor division when applying key.step.
- Implement sort() without 'cmp' parameter.
- Fix bytes(list) behavior.
- Children of _ListProxies are now _ListProxies, not regular lists.
před 11 roky
Ben Kurtovic
b298a68b37
Squash a bug dealing with extended slices.
před 11 roky
Ben Kurtovic
740db6ddfa
Implement some more tests; squash bugs in SmartList/_ListProxy
před 11 roky
Ben Kurtovic
d85ff73c19
Squashing some sneaky bugs in SmartLists's children.
před 11 roky
Ben Kurtovic
fb92349909
Fix parsing of arguments in SmartList.sort()
před 11 roky
Ben Kurtovic
10a7e5d241
Fix the same bug in __setitem__ and __delitem__
před 11 roky
Ben Kurtovic
65c3950e89
Fix bug when an extended slice's stop argument is missing.
před 11 roky
Ben Kurtovic
fe3328aa38
test_doctest()
před 11 roky
Ben Kurtovic
b9d2a83b8a
Starting TestSmartList.
před 11 roky
Ben Kurtovic
cd5cc6a7d0
Update copyright notices for 2013.
před 11 roky
Ben Kurtovic
06d3036de2
Fix a certain bug in SmartList with Py3k ( closes #17 )
před 11 roky
Ben Kurtovic
1905456b4d
Final fixes and cleanup before release.
před 11 roky
Ben Kurtovic
816207bb5a
Simplify docs massively.
před 11 roky
Ben Kurtovic
1caeb2d570
Build the actual Sphinx documentation, plus a number of typo fixes.
před 11 roky
Ben Kurtovic
aeb214acb5
Document compat, nodes.extras, Attribute, Parameter
před 11 roky
Ben Kurtovic
d9805d409b
Document SmartList, StringMixIn, utils; some cleanup.
před 11 roky
Ben Kurtovic
0487661c99
py3k support __setitem__ and __delitem__ of SmartList.
před 11 roky
Ben Kurtovic
90b18e3abc
Finish updating all to compat except for the parser.
před 11 roky
Ben Kurtovic
d6a0d6b737
Update py3k compatibility in some modules.
před 11 roky
Ben Kurtovic
934b1ef016
Fixes and improvements.
před 11 roky
Ben Kurtovic
137b9fc68f
Fix some bugs; satisfy PyLint on certain inheritance things.
před 11 roky
Ben Kurtovic
227ac924ee
Finish implementing all of SmartList.
před 11 roky
Ben Kurtovic
cf299c523d
Implement the rest of _ListProxy.
před 11 roky
Ben Kurtovic
3633f31633
Relaive imports because they are awesome; more stuff in SmartList.
před 11 roky
Ben Kurtovic
b5fb7e18f2
Implement ListProxy.{count,index,extend,insert,reverse,sort}
před 12 roky
Ben Kurtovic
13066ff189
Implement a ton more in SmartList.
před 12 roky
Ben Kurtovic
713a3c9944
Implement SmartList.setslice, ListProxy.{repr,setitem,setslice}
před 12 roky
Ben Kurtovic
33f8924cf9
Implement Wikicode.get_sections(), starting SmartList.
před 12 roky