- 22 Feb, 2007 2 commits
-
-
Brett Cannon authored
-
Brett Cannon authored
iteritems and itervalues' previous object were both an iterator *and* and iterable. The tests expected an iterator but were given an iterable. Should the 2to3 conversion for iter(values|items|keys) change the code to ``iter(dict.keys())`` to be more compatible?
-
- 21 Feb, 2007 4 commits
-
-
Brett Cannon authored
There are some methods in minidom that return dict.keys() directly. There were left alone since the tests passed without touching them, but it might be prudent to just wrap them in a 'list' call to be safe for people expecting a list.
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
-
- 15 Feb, 2007 2 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
Clearly this is not the right way to fix this; UserDict and MixinDict ought to be redesigned with the new dict API in mind. But I'm not claiming to be in charge of library redesign, I only want zero failing tests.
-
- 14 Feb, 2007 1 commit
-
-
Guido van Rossum authored
-
- 13 Feb, 2007 2 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
- 12 Feb, 2007 4 commits
-
-
Guido van Rossum authored
(PEP 3106 requires subset comparisons too, those will come later if someone really wants them. :-)
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
- 11 Feb, 2007 7 commits
-
-
Georg Brandl authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
and .keys(), .items(), .values() return dict views. The dict views aren't fully functional yet; in particular, they can't be compared to sets yet. but they are useful as "iterator wells". There are still 27 failing unit tests; I expect that many of these have fairly trivial fixes, but there are so many, I could use help.
-
- 10 Feb, 2007 4 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
(Not for dict_values, where it can't be done faster than the default implementation which just iterates the elements.)
-
Guido van Rossum authored
-
Guido van Rossum authored
-
- 09 Feb, 2007 14 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
One was a modified line that was echoed in an exception; the other two were softspace problems, fixed clumsily but effectively.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
a different feature with the same name). The change to test_doctest.txt reduces the doctest failures to 3.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
old print would suppress the softspace after \t.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-