288:fff09c70f489
|
2016-11-30 |
Paul Boddie |
changeset
files
shortlog
graph
|
Implemented the dictionary items method and expanded IndexError.
Expanded the dictionary test program. |
|
|
lib/__builtins__/dict.py lib/__builtins__/exception/base.py tests/dict.py
|
|
287:299f7c37ac6e
|
2016-11-30 |
Paul Boddie |
changeset
files
shortlog
graph
|
Made sequences comparable. |
|
|
lib/__builtins__/sequence.py
|
|
286:ea96958037c6
|
2016-11-30 |
Paul Boddie |
changeset
files
shortlog
graph
|
Implemented the zip function. |
|
|
lib/__builtins__/iterable.py
|
|
285:88b64124852b
|
2016-11-30 |
Paul Boddie |
changeset
files
shortlog
graph
|
Store defaults in bound method structures, not unbound method structures. |
|
|
translator.py
|
|
284:c4617743ba3b
|
2016-11-30 |
Paul Boddie |
changeset
files
shortlog
graph
|
Replaced explicit declarations with an include directive. |
|
|
templates/ops.c
|
|
283:70939defa51d
|
2016-11-30 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added dict support, changing the literal instantiators to use functions
appropriate for sequences or mappings that set the __data__ attribute on each
new instance.
Added a __hash__ method for integers. |
|
|
encoders.py generator.py lib/__builtins__/dict.py lib/__builtins__/int.py lib/native.py templates/native.c templates/native.h templates/progops.c templates/progops.h templates/types.h ...
|
|
282:639a285a92fe
|
2016-11-29 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added the index method to sequences. Raise TypeError instances. |
|
|
lib/__builtins__/sequence.py tests/list.py
|
|
281:03dad612d9e7
|
2016-11-29 |
Paul Boddie |
changeset
files
shortlog
graph
|
Expanded ValueError to accept a value argument. |
|
|
lib/__builtins__/exception/base.py
|
|
280:c498ceec120e
|
2016-11-29 |
Paul Boddie |
changeset
files
shortlog
graph
|
Renamed the data member of __attr to seqvalue and __newdata to __newfragment.
Added some commentary in the native module. |
|
|
generator.py lib/native.py templates/native.c templates/progops.c templates/progops.h templates/types.h
|
|
279:22aea7bc1acd
|
2016-11-29 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved __contains__ to the sequence module, providing an implementation.
Added tests of "in", "not in" and operator syntax. |
|
|
lib/__builtins__/list.py lib/__builtins__/sequence.py tests/list.py tests/operator_syntax.py
|
|