- 10 Eyl, 2007 1 kayıt (commit)
-
-
Brett Cannon yazdı
Closes issue #1096.
-
- 28 Agu, 2007 1 kayıt (commit)
-
-
Thomas Wouters yazdı
- Specialcase extended slices that amount to a shallow copy the same way as is done for simple slices, in the tuple, string and unicode case. - Specialcase step-1 extended slices to optimize the common case for all involved types. - For lists, allow extended slice assignment of differing lengths as long as the step is 1. (Previously, 'l[:2:1] = []' failed even though 'l[:2] = []' and 'l[:2:None] = []' do not.) - Implement extended slicing for buffer, array, structseq, mmap and UserString.UserString. - Implement slice-object support (but not non-step-1 slice assignment) for UserString.MutableString. - Add tests for all new functionality.
-
- 04 Eki, 2006 1 kayıt (commit)
-
-
Armin Rigo yazdı
* unified the way intobject, longobject and mystrtoul handle values around -sys.maxint-1. * in general, trying to entierely avoid overflows in any computation involving signed ints or longs is extremely involved. Fixed a few simple cases where a compiler might be too clever (but that's all guesswork). * more overflow checks against bad data in marshal.c. * 2.5 specific: fixed a number of places that were still confusing int and Py_ssize_t. Some of them could potentially have caused "real-world" breakage. * list.pop(x): fixing overflow issues on x was messy. I just reverted to PyArg_ParseTuple("n"), which does the right thing. (An obscure test was trying to give a Decimal to list.pop()... doesn't make sense any more IMHO) * trying to write a few tests...
-
- 21 Agu, 2005 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
Fix over-aggressive PyErr_Clear(). The same code fragment appears in various guises in list.extend(), map(), filter(), zip(), and internally in PySequence_Tuple().
-
- 21 Mar, 2005 1 kayıt (commit)
-
-
Walter Dörwald yazdı
(Copied from test_deque.py as suggested by Jim Jewett in SF bug #1166274)
-
- 30 Eyl, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 29 Eyl, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 13 Agu, 2004 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Backport candidate
-
- 18 Ock, 2004 1 kayıt (commit)
-
-
Tim Peters yazdı
meaning they must have been checked in to CVS from a Linuxish box with Windowish \r\n line endings to begin with.
-
- 08 Ara, 2003 1 kayıt (commit)
-
-
Walter Dörwald yazdı
test_tuple.py and test_list.py. Common tests for tuple, list and UserList are shared (in seq_tests.py and list_tests.py). Port tests to PyUnit. (From SF patch #736962)
-