- 20 Eyl, 2001 11 kayıt (commit)
-
-
Marc-André Lemburg yazdı
codecs -- the self argument does matter for Python functions (it does not for C functions which most other codecs use).
-
Tim Peters yazdı
Now they don't.
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
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 yazdı
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 yazdı
both return true. This restores pydoc's ability to deduce argument lists for functions and methods coded in Python.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Tim Peters yazdı
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 yazdı
-
Jeremy Hylton yazdı
Remove all these files. All except astgen.py are moved to Lib/compiler.
-
- 19 Eyl, 2001 13 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Guido van Rossum yazdı
-
Marc-André Lemburg yazdı
__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 yazdı
-
Marc-André Lemburg yazdı
-
Marc-André Lemburg yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Guido van Rossum yazdı
float (compare the recent checkin to complex). Added tests for these.
-
Guido van Rossum yazdı
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 yazdı
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 Eyl, 2001 16 kayıt (commit)
-
-
Tim Peters yazdı
with subsclasses of complex and string.
-
Guido van Rossum yazdı
-
Fredrik Lundh yazdı
\g<x> group reference followed by a character escape (also restructured a few things on the way to fixing #449000)
-
Guido van Rossum yazdı
hack, and it's even more disgusting than a PyInstance_Check() call. If the tp_compare slot is the slot used for overrides in Python, it's always called. Add some tests that show what should work too.
-
Guido van Rossum yazdı
skipped test -- the print command already supplies a space.
-
Andrew M. Kuchling yazdı
can be found.
-
Andrew M. Kuchling yazdı
-
Martin v. Löwis yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
only safely call a type's tp_compare slot if the second argument is also an instance of the same type. I hate to think what e.g. int_compare() would do with a second argument that's a float!
-
Fredrik Lundh yazdı
#462270: sub-tle difference between pre.sub and sre.sub. PRE ignored an empty match at the previous location, SRE didn't. also synced with Secret Labs "sreopen" codebase.
-
Fred Drake yazdı
-
Guido van Rossum yazdı
(Went through the logs looking for nuggets. This is what I found.)
-
Guido van Rossum yazdı
boundary. Fixed by keeping a readahead buffer containing the next line. XXX We have no test suite for this. Maybe the new email package will help?
-
Guido van Rossum yazdı
upon attempted attribute assignment. Caught by MWH, SF bug #462522.
-
Tim Peters yazdı
on file.__methods__. Since the docs say "This module will become obsolete in a future release", this is just a quick hack to stop it from blowing up. If you care about this module, test it! It doesn't make much sense on Windows.
-