- 21 Kas, 2010 1 kayıt (commit)
-
-
Ezio Melotti yazdı
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
-
- 03 Nis, 2010 2 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
- 07 Şub, 2010 1 kayıt (commit)
-
-
Georg Brandl yazdı
-
- 23 Ock, 2010 1 kayıt (commit)
-
-
Ezio Melotti yazdı
-
- 10 Ara, 2009 2 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
- 30 Haz, 2009 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 10 Mar, 2009 2 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
- 01 Ock, 2009 2 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
Antoine Pitrou yazdı
-
- 27 Ara, 2008 1 kayıt (commit)
-
-
Hirokazu Yamamoto yazdı
(There is no behavior difference in 2.x because HIGHEST_PROTOCOL == 2)
-
- 10 Nis, 2008 1 kayıt (commit)
-
-
Neal Norwitz yazdı
This might help fix some of the failures on Windows box(es). It doesn't hurt either way and ensure the tests are a little more self contained (ie have less assumptions).
-
- 25 Mar, 2008 1 kayıt (commit)
-
-
Neal Norwitz yazdı
-
- 23 Şub, 2008 1 kayıt (commit)
-
-
Christian Heimes yazdı
-
- 13 Ara, 2007 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
Fix bug 1604. deque.__init__() did not clear existing contents like list.__init__. Not a backport candidate.
-
- 10 Eki, 2007 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 05 Eki, 2007 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
Add maxlen support to deque() and fixup docs. Partially fix __reduce__(). The None as a third arg was no longer supported. Still needs work on __reduce__() to handle recursive inputs.
-
- 21 Ock, 2007 1 kayıt (commit)
-
-
Georg Brandl yazdı
types.
-
- 08 Ock, 2007 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 22 Mar, 2005 2 kayıt (commit)
-
-
Walter Dörwald yazdı
various iterables. (Copied from test_deque.py as suggested by Jim Jewett in SF bug #1166274)
-
Walter Dörwald yazdı
-
- 19 Mar, 2005 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 18 Mar, 2005 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 09 Kas, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
(Contributed by Dima Dorfman.) * Support pickling of dictionaries in instances of deque subclasses. * Support pickling of recursive deques.
-
- 02 Eki, 2004 1 kayıt (commit)
-
-
Armin Rigo yazdı
deque_item(): a performance bug: the linked list of blocks was followed from the left in most cases, because the test (i < (deque->len >> 1)) was after "i %= BLOCKLEN". deque_clear(): replaced a call to deque_len() with deque->len; not sure what this call was here for, nor if all compilers under the sun would inline it. deque_traverse(): I belive that it could be called by the GC when the deque has leftblock==rightblock==NULL, because it is tracked before the first block is allocated (though closely before). Still, a C extension module subclassing deque could provide its own tp_alloc that could trigger a GC collection after the PyObject_GC_Track()... deque_richcompare(): rewrote to cleanly check for end-of-iterations instead of relying on deque.__iter__().next() to succeed exactly len(deque) times -- an assumption which can break if deques are subclassed. Added a test. I wonder if the length should be explicitely bounded to INT_MAX, with OverflowErrors, as in listobject.c. On 64-bit machines, adding more than INT_MAX in the deque will result in trouble. (Note to anyone/me fixing this: carefully check for overflows if len is close to INT_MAX in the following functions: deque_rotate(), deque_item(), deque_ass_item())
-
- 01 Eki, 2004 1 kayıt (commit)
-
-
Tim Peters yazdı
BLOCKLEN-1, this assert-failed in a debug build, or went wild with a NULL pointer in a release build. Reported on c.l.py by Stefan Behnel.
-
- 27 Eyl, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 26 Agu, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 09 Tem, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
* use assertions instead of tests after internal calls that can't fail. * expand test coverage
-
- 30 May, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 19 May, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
(Code contributed by Jiwon Seo.) The documentation portion of the patch is being re-worked and will be checked-in soon. Likewise, PEP 289 will be updated to reflect Guido's rationale for the design decisions on binding behavior (as described in in his patch comments and in discussions on python-dev). The test file, test_genexps.py, is written in doctest format and is meant to exercise all aspects of the the patch. Further additions are welcome from everyone. Please stress test this new feature as much as possible before the alpha release.
-
- 12 May, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
same method that implements __setitem__ also implements __delitem__. Also, there were several good use cases (removing items from a queue and implementing Forth style stack ops).
-
- 10 May, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 09 May, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 01 Mar, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
__getitem__() and __setitem__(). Simplifies the API, reduces the code size, adds flexibility, and makes deques work with bisect.bisect(), random.shuffle(), and random.sample().
-
- 29 Şub, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
* Add doctests for the examples in the library reference. * Add two methods, left() and right(), modeled after deques in C++ STL. * Apply the new method to asynchat.py. * Add comparison operators to make deques more substitutable for lists. * Replace the LookupErrors with IndexErrors to more closely match lists.
-
- 08 Şub, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 07 Şub, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
comes from and show the differences from lists). * Add a rotate() method.
-