- 16 Agu, 2001 14 kayıt (commit)
-
-
Jack Jansen yazdı
-
Andrew M. Kuchling yazdı
Add executable extension, needed to get the program name right on Win32
-
Andrew M. Kuchling yazdı
Provide include_dirs argument to all calls to ._preprocess and ._compile Fix typo: pattern.search(pattern) should be pattern.search(line)
-
Martin v. Löwis yazdı
-
Guido van Rossum yazdı
- type_module(), type_name(): if tp_name contains one or more period, the part before the last period is __module__, the part after that is __name__. Otherwise, for non-heap types, __module__ is "__builtin__". For heap types, __module__ is looked up in tp_defined. - type_new(): heap types have their __module__ set from globals().__name__; a pre-existing __module__ in their dict is not overridden. This is not inherited. - type_repr(): if __module__ exists and is not "__builtin__", it is included in the string representation (just as it already is for classes). For example <type '__main__.C'>.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
test in a trivial way. Fixed.
-
Guido van Rossum yazdı
- descrobject.c:descr_check(): only believe None means the same as NULL if the type given is None's type. - typeobject.c:wrap_descr_get(): don't "conventiently" default an absent type to the type of the object argument. Let the called function figure it out.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
- initsigs(): Ignore SIGXFZ so writing files beyond the file system size limit won't kill us. - Py_Initialize(): call _Py_ReadyTypes() instead of readying types here. - Py_Initialize(): call _PyImport_FixupExtension() for module "extensions". (SF bug #422004.)
-
Guido van Rossum yazdı
types -- currently Type, List, None and NotImplemented. To be called from Py_Initialize() instead of accumulating calls there. Also rename type(None) to NoneType and type(NotImplemented) to NotImplementedType -- naming the type identical to the object was confusing.
-
Guido van Rossum yazdı
returns that. (This fix is also by MvL; checkin it in because I want to make more changes here. I'm still not 100% satisfied -- see comments attached to the patch.)
-
Tim Peters yazdı
checkin, the Wise uninstaller *will* delete the Python DLL from the system directory, but if and only if there wasn't a same-named Python DLL already in the system directory at the time the installer ran. That (no same-named DLL) should be the typical case for most most people (I'm different because I've run perhaps hundreds of 2.2 installs over the last several weeks). IOW, the change was worth making.
-
Tim Peters yazdı
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 Agu, 2001 26 kayıt (commit)
-
-
Guido van Rossum yazdı
(__hash__ etc.), in static and dynamic classes, overridden and default.
-
Guido van Rossum yazdı
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 yazdı
-
Guido van Rossum yazdı
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 yazdı
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 yazdı
section of the Extending & Embedding manual -- thanks!
-
Fred Drake yazdı
-
Fred Drake yazdı
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 yazdı
example.
-
Guido van Rossum yazdı
example.
-
Guido van Rossum yazdı
binding of unbound methods.
-
Guido van Rossum yazdı
-
Martin v. Löwis yazdı
-
Fred Drake yazdı
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 yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
instead of directly manipulating the underlying dictionary.
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Fred Drake yazdı
-
Jack Jansen yazdı
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 yazdı
of audioop and cmath fail. Removing it seems to have no adverse consequences. Closes bug #450510.
-
Jack Jansen yazdı
can be on sys.path too.
-
Tim Peters yazdı
vertical whitespace to the acknowledgements portion of the "Installation Completed!" screen for easier reading.
-
Tim Peters yazdı
-
Tim Peters yazdı
-