- 07 Agu, 2004 2 kayıt (commit)
-
-
Jeremy Hylton yazdı
interning were not clear here -- a subclass could be mutable, for example -- and had bugs. Explicitly interning a subclass of string via intern() will raise a TypeError. Internal operations that attempt to intern a string subclass will have no effect. Added a few tests to test_builtin that includes the old buggy code and verifies that calls like PyObject_SetAttr() don't fail. Perhaps these tests should have gone in test_string.
-
Raymond Hettinger yazdı
-
- 02 Agu, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
* Fixes an incorrect variable in a PyDict_CheckExact. * Allow general mapping locals arguments for the execfile() function and exec statement. * Add tests.
-
- 06 Tem, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
* Add a test case that would have caught it.
-
- 02 Tem, 2004 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
The builtin eval() function now accepts any mapping for the locals argument. Time sensitive steps guarded by PyDict_CheckExact() to keep from slowing down the normal case. My timings so no measurable impact.
-
- 12 Şub, 2004 1 kayıt (commit)
-
-
Walter Dörwald yazdı
From SF patch #852334.
-
- 02 Şub, 2004 1 kayıt (commit)
-
-
Hye-Shik Chang yazdı
(SF patch 876178, patch by mwh, unittest by perky)
-
- 17 Ara, 2003 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
sorted() becomes a regular function instead of a classmethod.
-
- 29 Kas, 2003 1 kayıt (commit)
-
-
Guido van Rossum yazdı
and left shifts. (Thanks to Kalle Svensson for SF patch 849227.) This addresses most of the remaining semantic changes promised by PEP 237, except for repr() of a long, which still shows the trailing 'L'. The PEP appears to promise warnings for operations that changed semantics compared to Python 2.3, but this is not implemented; we've suffered through enough warnings related to hex/oct literals and I think it's best to be silent now.
-
- 16 Kas, 2003 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
* Install the unittests, docs, newsitem, include file, and makefile update. * Exercise the new functions whereever sets.py was being used. Includes the docs for libfuncs.tex. Separate docs for the types are forthcoming.
-
- 28 Eki, 2003 1 kayıt (commit)
-
-
Armin Rigo yazdı
SF patch 825639 http://mail.python.org/pipermail/python-dev/2003-October/039445.html
-
- 15 Agu, 2003 1 kayıt (commit)
-
-
Walter Dörwald yazdı
unchanged (and sys.gettotalrefcount() remains constant). Fix a few typos.
-
- 02 Agu, 2003 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
by returning an empty list instead of raising a TypeError.
-
- 18 Haz, 2003 1 kayıt (commit)
-
-
Walter Dörwald yazdı
Move the constructor tests from test_builtin to test_complex. Add a bunch of tests (code coverage is a 94%). From SF patch #736962.
-
- 02 May, 2003 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
Improves clarity and brevity.
-
- 01 May, 2003 1 kayıt (commit)
-
-
Walter Dörwald yazdı
and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807.
-
- 22 Nis, 2003 1 kayıt (commit)
-
-
Alex Martelli yazdı
-
- 15 Nis, 2003 2 kayıt (commit)
-
-
Walter Dörwald yazdı
-
Tim Peters yazdı
cases, but the test still expected ValueError. Repaired that.
-
- 11 Nis, 2003 1 kayıt (commit)
-
-
Guido van Rossum yazdı
- range() now works even if the arguments are longs with magnitude larger than sys.maxint, as long as the total length of the sequence fits. E.g., range(2**100, 2**101, 2**100) is the following list: [1267650600228229401496703205376L]. (SF patch #707427.)
-
- 19 Şub, 2003 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 10 Şub, 2003 3 kayıt (commit)
-
-
Walter Dörwald yazdı
instead of PyTuple_GetItem, so an overwritten __getitem__ in a tuple subclass works. SF bug #665835.
-
Walter Dörwald yazdı
object is not a real str or unicode but an instance of a subclass, construct the output via looping over __getitem__. This guarantees that the result is the same for function==None and function==lambda x:x This doesn't happen for tuples, because filtertuple() uses PyTuple_GetItem(). (This was discussed on SF bug #665835).
-
Just van Rossum yazdı
Incorporated nnorwitz's comment re. Py__USING_UNICODE.
-
- 09 Şub, 2003 1 kayıt (commit)
-
-
Just van Rossum yazdı
mark. Added unit test.
-
- 04 Şub, 2003 3 kayıt (commit)
-
-
Walter Dörwald yazdı
subclasses. (Discussed in SF patch #665835)
-
Walter Dörwald yazdı
str and unicode subclasses not just for generating the output but for testing too.
-
Walter Dörwald yazdı
blindly assumed that tp_as_sequence->sq_item always returns a str or unicode object. This might fail with str or unicode subclasses. This patch checks whether the object returned from __getitem__ is a str/unicode object and raises a TypeError if not (and the filter function returned true). Furthermore the result for __getitem__ can be more than one character long, so checks for enough memory have to be done.
-
- 28 Ock, 2003 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Check return value of PyLong_AsDouble(), it can return an error.
-
- 27 Ock, 2003 1 kayıt (commit)
-
-
Walter Dörwald yazdı
-
- 25 Ock, 2003 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 19 Ock, 2003 1 kayıt (commit)
-
-
Walter Dörwald yazdı
port the tests to PyUnit and add many tests for error cases. This increases code coverage in Python/bltinmodule.c from 75% to 92%. (From SF patch #662807, with assert_(not fcmp(x, y)) replaced with assertAlmostEqual(x, y) where possible)
-
- 30 Tem, 2002 1 kayıt (commit)
-
-
Barry Warsaw yazdı
imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed.
-
- 27 Ock, 1992 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-