- 24 Ara, 2002 2 kayıt (commit)
-
-
Tim Peters yazdı
-
Neal Norwitz yazdı
-
- 13 Ara, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 09 Ara, 2002 1 kayıt (commit)
-
-
Tim Peters yazdı
Most of these patches are from Thomas Heller, with long lines folded by Tim. The change to test_descr.py is from Guido. See the bug report. Not a bugfix candidate -- METH_CLASS is new in 2.3.
-
- 27 Kas, 2002 5 kayıt (commit)
-
-
Michael W. Hudson yazdı
the results of *setting* __name__ are not so surprising. If people can suggest more tests, that'd be grand, or is what's there sufficient?
-
Michael W. Hudson yazdı
see problems with my code that I didn't see before the checkin, but: When a subtype .mro() fails, we need to reset the type whose __bases__ are being changed, too. Fix + test.
-
Michael W. Hudson yazdı
mro() methods. Now any exception aborts the whole __bases__ change. And more tests.
-
Michael W. Hudson yazdı
-
Guido van Rossum yazdı
Avoid depending on this in the test.
-
- 26 Kas, 2002 1 kayıt (commit)
-
-
Michael W. Hudson yazdı
[ 635933 ] make some type attrs writable Plus a couple of extra tests beyond what's up there. It hasn't been as carefully reviewed as it perhaps should, so all readers are encouraged, nay exhorted, to give this a close reading. There are still a couple of oddities related to assigning to __name__, but I intend to solicit python-dev's opinions on these.
-
- 25 Kas, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
messages about MRO conflicts. (Tweaks here: don't print the message, but compare it with an expected string.)
-
- 23 Kas, 2002 2 kayıt (commit)
-
-
Neal Norwitz yazdı
-
Just van Rossum yazdı
dict() constructor. Example: >>> dict(a=1, b=2) {'a': 1, 'b': 2} >>>
-
- 14 Kas, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
algorithm, and add some new tests for the C3 algorithm.
-
- 18 Eki, 2002 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Don't crash when getting value of a property raises an exception
-
- 15 Eki, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
classes was called with three arguments. This makes no sense, there's no way to pass in the "modulo" 3rd argument as for __pow__, and classic classes don't do this. [SF bug 620179] I don't want to backport this to 2.2.2, because it could break existing code that has developed a work-around. Code in 2.2.2 that wants to use __ipow__ and wants to be forward compatible with 2.3 should be written like this: def __ipow__(self, exponent, modulo=None): ...
-
- 23 Agu, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
the string/unicode method .replace() with a zero-lengt first argument. Inyeol contributed tests for this too.
-
- 13 Agu, 2002 2 kayıt (commit)
-
-
Guido van Rossum yazdı
Add some more rigor to slotmultipleinheritance().
-
Neal Norwitz yazdı
Fix already checked in by Guido
-
- 10 Agu, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
types. This prevents nonsense like 2.__class__ = bool or True.__class__ = int.
-
- 09 Agu, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 06 Agu, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Fix forthcoming.
-
- 01 Agu, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
The __delete__ method wrapper for descriptors was not supported (I added a test, too.) 2.2 bugfix candidate.
-
- 23 Tem, 2002 1 kayıt (commit)
-
-
Barry Warsaw yazdı
imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
-
- 11 Tem, 2002 4 kayıt (commit)
-
-
Tim Peters yazdı
-
Tim Peters yazdı
immortal object here as a leak. Made the object mortal again at the end.
-
Tim Peters yazdı
-
Tim Peters yazdı
debug-build failure when an instance of a new-style class is resurrected by a __del__ method -- we simply never had any code that tried this. This is already fixed in 2.3 CVS. In 2.2.1, it blows up via Fatal Python error: GC object already in linked list I'll fix it in 2.2.1 CVS next.
-
- 24 Haz, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 20 Haz, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 18 Haz, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
In a fresh interpreter, type.mro(tuple) would segfault, because PyType_Ready() isn't called for tuple yet. To fix, call PyType_Ready(type) if type->tp_dict is NULL.
-
- 14 Haz, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 13 Haz, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
473985. Through a subtle rearrangement of some members in the etype struct (!), mapping methods are now preferred over sequence methods, which is necessary to support str.__getitem__("hello", slice(4)) etc.
-
- 06 Haz, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Straightforward fix. Will backport to 2.2. If there's ever a new 2.1 release, this could be backported there too (since it's an issue with anything that's got both a __reduce__ and a __setstate__).
-
- 04 Haz, 2002 2 kayıt (commit)
-
-
Guido van Rossum yazdı
While I was at it, I added a tp_clear handler and changed the tp_dealloc handler to use the clear_slots helper for the tp_clear handler. Also tightened the rules for slot names: they must now be proper identifiers (ignoring the dirty little fact that <ctype.h> is locale sensitive). Also set mp->flags = READONLY for the __weakref__ pseudo-slot. Most of this is a 2.2 bugfix candidate; I'll apply it there myself.
-
Guido van Rossum yazdı
__name__ and __doc__.
-
- 03 Haz, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
script.
-
- 24 May, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
whose tp_mro hasn't been initialized, it would dump core. Fix this by checking for NULL and calling PyType_Ready(). Will fix this in 2.2.1 too.
-
- 13 May, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
returned a proxy for __class__ whose __bases__ was also a proxy. The merge_class_dict() helper for dir() assumed incorrectly that __bases__ would always be a tuple and used the in-line tuple API on the proxy. I will backport this to 2.2 as well.
-
- 18 Nis, 2002 1 kayıt (commit)
-
-
Tim Peters yazdı
a str subclass. test_descr.py/string_exceptions(): New sub-test. For 2.3 only. Guido doesn't want this backported.
-