- 16 Aug, 2001 1 commit
-
-
Tim Peters authored
They should. Added a line that's supposed to fix that -- it doesn't actually work on my box, but checking it in anyway.
-
- 15 Aug, 2001 30 commits
-
-
Guido van Rossum authored
(__hash__ etc.), in static and dynamic classes, overridden and default.
-
Guido van Rossum authored
operators for which a default implementation exist now work, both in dynamic classes and in static classes, overridden or not. This affects __repr__, __str__, __hash__, __contains__, __nonzero__, __cmp__, and the rich comparisons (__lt__ etc.). For dynamic classes, this meant copying a lot of code from classobject! (XXX There are still some holes, because the comparison code in object.c uses PyInstance_Check(), meaning new-style classes don't get the same dispensation. This needs more thinking.) - Add object.__hash__, object.__repr__, object.__str__. The __str__ dispatcher now calls the __repr__ dispatcher, as it should. - For static classes, the tp_compare, tp_richcompare and tp_hash slots are now inherited together, or not at all. (XXX I fear there are still some situations where you can inherit __hash__ when you shouldn't, but mostly it's OK now, and I think there's no way we can get that 100% right.)
-
Just van Rossum authored
-
Guido van Rossum authored
that class should compare the id() of those instances. Add a test that verifies this. This test currently fails; I believe this is caused by object.c:2.132 (Patch #424475 by loewis).
-
Fred Drake authored
in the type object is used for, for many of the more commonly used slots. Thanks! (But there is still a lot more to write on this topic.) Markup and organizational changes by your friendly neighborhood documentation czar.
-
Fred Drake authored
section of the Extending & Embedding manual -- thanks!
-
Fred Drake authored
-
Fred Drake authored
so the backward compatibility issues will be easier to understand. I only added comments indicating additions and assignments back to Python 2.0.
-
Guido van Rossum authored
example.
-
Guido van Rossum authored
example.
-
Guido van Rossum authored
binding of unbound methods.
-
Guido van Rossum authored
-
Martin v. Löwis authored
-
Fred Drake authored
Remove the module index; there aren't enough modules documented yet for this to make sense. Add a couple more index entries, fixed a few typos, and adjusted a few more things for consistency.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
instead of directly manipulating the underlying dictionary.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Fred Drake authored
-
Jack Jansen authored
include _PyMac_Error. Also don't try to include __dummy: it needs Foundation and I think (not 100% sure) that this isn't part of naked Darwin.
-
Jack Jansen authored
of audioop and cmath fail. Removing it seems to have no adverse consequences. Closes bug #450510.
-
Jack Jansen authored
can be on sys.path too.
-
Tim Peters authored
vertical whitespace to the acknowledgements portion of the "Installation Completed!" screen for easier reading.
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
the PEP.
-
Jack Jansen authored
-
Jack Jansen authored
- Made framework builds work for MacOSX. The configure arg is now "--enable-framework". - Added an install target frameworkinstall which installs the framework. - Ripped out Next/OpenStep support, which was broken anyway. - Made the MacOSX toolbox glue dependant on a --enable-toolbox-glue configure arg. This should make naked darwin build work again (untested). A few targets have been added to Makefile.pre.in, and on inspection they look harmless to non-MacOSX machines, but it is worth checking. Closes bug #420601 and patch #450350.
-
Jack Jansen authored
installation. If there is no LANDMARK we assume we're a bare framework in the install directory (again WITH_NEXT_FRAMEWORK only).
-
- 14 Aug, 2001 9 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Fred Drake authored
-
Fred Drake authored
be reviewed for clarity. Work around a bogosity in the HTML version of the escape sequences table conversion.
-
Fred Drake authored
-
Jeremy Hylton authored
-
Fred Drake authored
implementing numeric objects in Python.
-
Guido van Rossum authored
be inherited in inherit_special(), otherwise dynamic types don't inherit these. Also added some XXX comments about open ends.
-
Jeremy Hylton authored
When code is compiled and compiler flags are passed in, be sure to update cf_flags with any features defined by future statements in the compiled code.
-