- 07 Sep, 2001 12 commits
-
-
Guido van Rossum authored
a->tp_mro. If a doesn't have class, it's considered a subclass only of itself or of 'object'. This one fix is enough to prevent the ExtensionClass test suite from dumping core, but that doesn't say much (it's a rather small test suite). Also note that for ExtensionClass-defined types, a different subclass test may be needed. But I haven't checked whether PyType_IsSubtype() is actually used in situations where this matters -- probably it doesn't, since we also don't check for classic classes.
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Martin v. Löwis authored
Also remove mappings that are not registered with IANA, and not extensions.
-
Martin v. Löwis authored
the module in multiple threads with a global lock.
-
Martin v. Löwis authored
-
Jack Jansen authored
out of the box on OSX 10.1. Untested by me (except for not having adverse effects on 10.0.4) but it looks good, for now. Eventually we should not trigger on the darwin version but test for something, but until I have the time to install 10.1 myself I have no clue what to test on. It would be nice if this got in to the 2.2a3 distribution.
-
Mark Hammond authored
If after calculating sys.path we do not have sys.prefix set, we loop over all path entries checking if one can point to our home directory.
-
Jack Jansen authored
enough, but may have side-effects because it preallocates a single codeop.Compiler() to compile all statements the user enters. Just: please review and retract/modify if necessary.
-
Tim Peters authored
com_factor(): when a unary minus is attached to a float or imaginary zero, don't optimize the UNARY_MINUS opcode away: the const dict can't distinguish between +0.0 and -0.0, so ended up treating both like the first one added to it. Optimizing UNARY_PLUS away isn't a problem. (BTW, I already uploaded the 2.2a3 Windows installer, and this isn't important enough to delay the release.)
-
Tim Peters authored
branch (if it ever gets to the typo, the test is failing anyway).
-
- 06 Sep, 2001 28 commits
-
-
Tim Peters authored
capabilities of the Pentium FPU, so what should have been (and were on Windows) exact results got fuzzy. Then it turns out test_support.fcmp() isn't tolerant of tiny errors when *one* of the comparands is 0, but test_complex's old check_close_real() is. Rather than fix gcc <wink>, easier to revert this test and revisit after the release.
-
Tim Peters authored
existed when I wrote this test.
-
Tim Peters authored
-
Guido van Rossum authored
-
Tim Peters authored
has more bits than the numerator than can be counted in a C int (yes, that's unlikely, and no, I'm not adding a test case with a 2 gigabit long).
-
Guido van Rossum authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
This closes SF bug #459256.
-
Fred Drake authored
(Steve, can you add this to the PyUnit repository as well?)
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
This closes SF bug #458785.
-
Fred Drake authored
Fixes bug reported as SF bug #453728.
-
Fred Drake authored
less hostile to newbie use at the interactive prompt. This is in response to SF bug #458654.
-
Fred Drake authored
Add refcount information for other recently documented APIs.
-
Fred Drake authored
-
Jack Jansen authored
statement that this is a proof-of-concept meant for people to experiment with, nothing more.
-
Jack Jansen authored
in Python.
-
Tim Peters authored
-
Fred Drake authored
headers. This is the final checkin for SF bug #458768.
-
Fred Drake authored
-
Fred Drake authored
Python/C style guide.
-
Guido van Rossum authored
(1) Allow multiple -u options to extend each other (and the initial value of use_resources passed into regrtest.main()). (2) When a test is run stand-alone (not via regrtest.py), needed resources are always granted.
-
Steve Purcell authored
-
Fred Drake authored
This closes SF bug #458771.
-
Fred Drake authored
Based on a patch by Skip Montanaro, this closes SF bug #458885.
-
Fred Drake authored
This covers regression on SF bug #458860.
-