Paul Sokolovsky
f5fdebed34
collections.defaultdict: Release 0.3.
2017-01-26 01:35:10 +03:00
Paul Sokolovsky
69b65efd7e
collections.defaultdict: Implement __contains__.
...
Otherwise, "in" operation uses list protocol (enumeration using
__getitem__, which adds a key/value pair to teh underlying dict)
and ends with memory overflow.
2017-01-26 01:26:40 +03:00
Paul Sokolovsky
dfe4dee62a
all: setup.py: New releases for gzip 4k conversion.
2016-10-11 06:47:01 +03:00
Paul Sokolovsky
65fb3707ba
all: metadata.txt: Bump version for gzip 4k conversion.
2016-10-11 06:46:12 +03:00
Paul Sokolovsky
3efe02c358
collections.defaultdict: Add missing metadata.txt.
2014-05-24 14:38:16 +03:00
Paul Sokolovsky
3df5927825
collections.defaultdict: Switch to metadata.txt .
2014-05-23 01:17:53 +03:00
Paul Sokolovsky
08e62ebfc0
collections.defaultdict: Fix test.
2014-05-23 01:16:30 +03:00
Paul Sokolovsky
631ba9a419
collections.defaultdict: Add __new__ to perform basic initialization.
...
TODO: Actually, nowadays should just subclass dict, but that's left for next
time.
2014-05-23 01:14:47 +03:00
Paul Sokolovsky
53f454261b
collections.defaultdict: Make __missing__() behavior more compliant.
...
https://docs.python.org/3.3/library/collections.html#collections.defaultdict.__missing__
says that it's __missing__() what should check default_factory for None
(so this entire behavior can be overriden in subclasses).
2014-05-11 13:56:48 +03:00
Paul Sokolovsky
ac2ae5831e
collections.defaultdict: Add implementation.
...
In a namespace package.
2014-04-14 21:20:31 +03:00