302:f61d81fb9811
|
2016-12-02 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed the dictionary implementation to support resizing, changing the number
of buckets, also changing the native functions to use the __data__ attribute
directly. |
|
|
lib/__builtins__/dict.py lib/native.py templates/native.c templates/native.h templates/progops.c
|
|
301:8e28983c45a7
|
2016-12-02 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed the hashtable/mapping representation to have a configurable number of
buckets and for the number to be set initially depending on the number of items
provided. |
|
|
templates/native.c templates/progops.c templates/types.h
|
|
300:503985ccf893
|
2016-12-02 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a simple hash function for strings; expanded string and dictionary tests. |
|
|
lib/__builtins__/str.py tests/dict.py tests/string.py
|
|
299:6cfa2f4aaca2
|
2016-12-02 |
Paul Boddie |
changeset
files
shortlog
graph
|
Avoid repeated context argument assignment. |
|
|
templates/progops.c
|
|
298:5c768f626a53
|
2016-12-02 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added string representations for dictionaries. |
|
|
lib/__builtins__/dict.py
|
|
297:89cd40879bca
|
2016-12-02 |
Paul Boddie |
changeset
files
shortlog
graph
|
Implemented the hash built-in function. |
|
|
lib/__builtins__/comparable.py
|
|
296:3c7946627c2d
|
2016-12-01 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added support for the ord built-in function. |
|
|
lib/__builtins__/character.py lib/native.py templates/native.c templates/native.h tests/string.py
|
|
295:cb64d3e04c11
|
2016-12-01 |
Paul Boddie |
changeset
files
shortlog
graph
|
Supported Sliceobj usage, introduced slice step information to __getslice__.
Added tests involving slices. |
|
|
lib/__builtins__/sequence.py lib/operator/__init__.py tests/slice.py
|
|
294:79c82d827bbe
|
2016-12-01 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the xrange implementation, removing incorrect NO_END interpretation,
adding start and end validation, adding string representations.
Moved range from the iterable module to the span module.
Added a test of ranges. |
|
|
lib/__builtins__/__init__.py lib/__builtins__/iterable.py lib/__builtins__/span.py tests/range.py
|
|
293:77890dd7214e
|
2016-12-01 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed log10 call when handling negative inputs. |
|
|
templates/native.c
|
|