fix ref-counting bug when writing traceback of unraisable exceptions
call PyBaseObject_Type.tp_new() in tp_new() functions instead of tp_alloc() directly
move set compatibility helpers into Builtins.c
fix set.add(some_tuple) in Py2.4
changelog
changelog
reuse object's tp_new() for simple extension types if possible to improve support for multiple inheritance
changelog
Backed out changeset d0470fb1d881
revert dynamic tp_new() override because it breaks instantiating types with arguments that object.__new__()/object.__init__() don't expect
optimise str == unicode / unicode == str in Py2
optimise x == basestring / basestring == x
add str comparison fallback to Py2 version of unicode comparison
extend test
optimise string-to-something comparisons also when we know that the result is boolean (the cmp functions have a proper fallback for non-strings)
implement another try-finally corner case (the Py3 way only for now!): reraising a fresh exception in the finally clause
changelog
Merge branch 'master' into 0.20.x