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.
11 роки тому
Ben Kurtovic
b298a68b37
Squash a bug dealing with extended slices.
11 роки тому
Ben Kurtovic
740db6ddfa
Implement some more tests; squash bugs in SmartList/_ListProxy
11 роки тому
Ben Kurtovic
d85ff73c19
Squashing some sneaky bugs in SmartLists's children.
11 роки тому
Ben Kurtovic
fb92349909
Fix parsing of arguments in SmartList.sort()
11 роки тому
Ben Kurtovic
10a7e5d241
Fix the same bug in __setitem__ and __delitem__
11 роки тому
Ben Kurtovic
65c3950e89
Fix bug when an extended slice's stop argument is missing.
11 роки тому
Ben Kurtovic
fe3328aa38
test_doctest()
11 роки тому
Ben Kurtovic
b9d2a83b8a
Starting TestSmartList.
11 роки тому
Ben Kurtovic
cd5cc6a7d0
Update copyright notices for 2013.
11 роки тому
Ben Kurtovic
06d3036de2
Fix a certain bug in SmartList with Py3k ( closes #17 )
11 роки тому
Ben Kurtovic
1905456b4d
Final fixes and cleanup before release.
12 роки тому
Ben Kurtovic
816207bb5a
Simplify docs massively.
12 роки тому
Ben Kurtovic
1caeb2d570
Build the actual Sphinx documentation, plus a number of typo fixes.
12 роки тому
Ben Kurtovic
aeb214acb5
Document compat, nodes.extras, Attribute, Parameter
12 роки тому
Ben Kurtovic
d9805d409b
Document SmartList, StringMixIn, utils; some cleanup.
12 роки тому
Ben Kurtovic
0487661c99
py3k support __setitem__ and __delitem__ of SmartList.
12 роки тому
Ben Kurtovic
90b18e3abc
Finish updating all to compat except for the parser.
12 роки тому
Ben Kurtovic
d6a0d6b737
Update py3k compatibility in some modules.
12 роки тому
Ben Kurtovic
934b1ef016
Fixes and improvements.
12 роки тому
Ben Kurtovic
137b9fc68f
Fix some bugs; satisfy PyLint on certain inheritance things.
12 роки тому
Ben Kurtovic
227ac924ee
Finish implementing all of SmartList.
12 роки тому
Ben Kurtovic
cf299c523d
Implement the rest of _ListProxy.
12 роки тому
Ben Kurtovic
3633f31633
Relaive imports because they are awesome; more stuff in SmartList.
12 роки тому
Ben Kurtovic
b5fb7e18f2
Implement ListProxy.{count,index,extend,insert,reverse,sort}
12 роки тому
Ben Kurtovic
13066ff189
Implement a ton more in SmartList.
12 роки тому
Ben Kurtovic
713a3c9944
Implement SmartList.setslice, ListProxy.{repr,setitem,setslice}
12 роки тому
Ben Kurtovic
33f8924cf9
Implement Wikicode.get_sections(), starting SmartList.
12 роки тому