- 20 Sep, 2001 25 commits
-
-
Fred Drake authored
-
Tim Peters authored
"new in 2.2" blurb at the end. Replace open()'s text by pointing back to file().
-
Fred Drake authored
Document many more of the PyLong_{As,From}*() functions.
-
Guido van Rossum authored
char *.
-
Marc-André Lemburg authored
elements which are not Unicode objects or strings. (This matches the string.join() behaviour.) Fix a memory leak in the .join() method which occurs in case the Unicode resize fails. Restore the test_unicode output.
-
Marc-André Lemburg authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
library. Update README.
-
Jeremy Hylton authored
-
Guido van Rossum authored
we can't trust that tp_basicsize is aligned. Fixes SF bug #462848.
-
Marc-André Lemburg authored
-
Marc-André Lemburg authored
-
Marc-André Lemburg authored
works just like str(obj) in that it tries __str__/tp_str on the object in case it finds that the object is not a string or buffer.
-
Marc-André Lemburg authored
-
Marc-André Lemburg authored
codecs -- the self argument does matter for Python functions (it does not for C functions which most other codecs use).
-
Tim Peters authored
Now they don't.
-
Barry Warsaw authored
-
Barry Warsaw authored
their own test suite from a multitude of classes (like test_email.py will be doing). run_unittest(): Call run_suite() after making a suite from the testclass.
-
Tim Peters authored
inspect.getargspec(obj), test isfunction() directly in pydoc.py instead of trying to indirectly deduce isfunction() in pydoc by virtue of failing a combination of other tests. This shouldn't have any visible effect, except perhaps to squash a TypeError death if there was some path thru this code that was inferring isfunction() by mistake.
-
Tim Peters authored
both return true. This restores pydoc's ability to deduce argument lists for functions and methods coded in Python.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Tim Peters authored
pydoc how to do something sensible with 2.2 descriptors. To see the difference, browse __builtin__ via pydoc before and after the patch.
-
Tim Peters authored
-
Jeremy Hylton authored
Remove all these files. All except astgen.py are moved to Lib/compiler.
-
- 19 Sep, 2001 13 commits
-
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Guido van Rossum authored
-
Marc-André Lemburg authored
__init__.py module to raise errors which can be catched as LookupErrors as well as SystemErrors. Modified the error messages to include more information about the failing module.
-
Marc-André Lemburg authored
-
Marc-André Lemburg authored
-
Marc-André Lemburg authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Guido van Rossum authored
float (compare the recent checkin to complex). Added tests for these.
-
Guido van Rossum authored
instance. Split a string comparison test in two halves, replacing "a==b==a" with separate tests for a==b and b==a. (Reason: while experimenting, this test failed, and I wanted to know if it was the first or the second == operator that failed.)
-
Guido van Rossum authored
complex_coerce() would never be called with a complex argument, because PyNumber_Coerce[Ex] doesn't bother calling the type's coercion method if the values already have the same type. But now, of course, it's possible to pass an instance of a complex *subtype*, and those must be accepted.
-
- 18 Sep, 2001 2 commits
-
-
Tim Peters authored
with subsclasses of complex and string.
-
Guido van Rossum authored
-