Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | use the UnicodeError traversal and clearing functions in UnicodeError | Michael W. Hudson | 2006-05-28 | 1 | -4/+4 | |
| | | | | subclasses. | |||||
* | Fix refleaks in UnicodeError get and set methods. | Georg Brandl | 2006-05-28 | 1 | -45/+56 | |
| | ||||||
* | Quality control, meet exceptions.c, round two. | Michael W. Hudson | 2006-05-28 | 1 | -222/+165 | |
| | | | | | | | | | | | | | | | | Make some functions that should have been static static. Fix a bunch of refleaks by fixing the definition of MiddlingExtendsException. Remove all the __new__ implementations apart from BaseException_new. Rewrite most code that needs it to cope with NULL fields (such code could get excercised anyway, the __new__-removal just makes it more likely). This involved editing the code for WindowsError, which I can't test. This fixes all the refleaks in at least the start of a regrtest -R :: run. | |||||
* | Quality control, meet exceptions.c. | Michael W. Hudson | 2006-05-28 | 1 | -128/+105 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a number of problems with the need for speed code: One is doing this sort of thing: Py_DECREF(self->field); self->field = newval; Py_INCREF(self->field); without being very sure that self->field doesn't start with a value that has a __del__, because that almost certainly can lead to segfaults. As self->args is constrained to be an exact tuple we may as well exploit this fact consistently. This leads to quite a lot of simplification (and, hey, probably better performance). Add some error checking in places lacking it. Fix some rather strange indentation in the Unicode code. Delete some trailing whitespace. More to come, I haven't fixed all the reference leaks yet... | |||||
* | move semicolons | Richard Jones | 2006-05-27 | 1 | -53/+51 | |
| | ||||||
* | doc string additions and tweaks | Richard Jones | 2006-05-27 | 1 | -8/+21 | |
| | ||||||
* | Remove spurious semicolons after macro invocations. | Georg Brandl | 2006-05-27 | 1 | -42/+42 | |
| | ||||||
* | Conversion of exceptions over from faked-up classes to new-style C types. | Richard Jones | 2006-05-27 | 1 | -0/+2130 | |