- 04 Ara, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
There's now a new structmember code, T_OBJECT_EX, which is used for all __slot__ variables (except __weakref__, which has special behavior anyway). This new code raises AttributeError when the variable is NULL rather than converting NULL to None.
-
- 16 Eki, 2001 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
- 20 Eyl, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
compatibility, this required all places where an array of "struct memberlist" structures was declared that is referenced from a type's tp_members slot to change the type of the structure to PyMemberDef; "struct memberlist" is now only used by old code that still calls PyMember_Get/Set. The code in PyObject_GenericGetAttr/SetAttr now calls the new APIs PyMember_GetOne/SetOne, which take a PyMemberDef argument. As examples, I added actual docstrings to the attributes of a few types: file, complex, instance method, super, and xxsubtype.spamlist. Also converted the symtable to new style getattr.
-
- 17 Eyl, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Renamed the 'readonly' field to 'flags' and defined some new flag bits: READ_RESTRICTED and WRITE_RESTRICTED, as well as a shortcut RESTRICTED that means both.
-
- 27 Ock, 2001 1 kayıt (commit)
-
-
http://sourceforge.net/bugs/?func=detailbug&bug_id=130242&group_id=5470Tim Peters yazdı
SF patch http://sourceforge.net/patch/?func=detailpatch&patch_id=103453&group_id=5470 PyMember_Set of T_CHAR always raises exception. Unfortunately, this is a use of a C API function that Python itself never makes, so there's no .py test I can check in to verify this stays fixed. But the fault in the code is obvious, and Dave Cole's patch just as obviously fixes it.
-
- 01 Eyl, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
This should match the situation in the 1.6b1 tree.
-
- 22 Tem, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
declarations yet, those come later.
-
- 30 Haz, 2000 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
- 20 May, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
old value in a temporary and XDECREF it only after then new value has been set. This prevents the (unlikely) case where the destructor of the member uses the containing object -- it would find it in an undefined state.
-
- 29 Nis, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 09 Nis, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 25 Eki, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 04 Ock, 1995 1 kayıt (commit)
-
-
Guido van Rossum yazdı
bltinmodule.c: fixed coerce() nightmare in ternary pow(). modsupport.c (initmodule2): pass METH_FREENAME flag to newmethodobject(). pythonrun.c: move flushline() into and around print_error().
-
- 14 Ara, 1994 1 kayıt (commit)
-
-
Jack Jansen yazdı
- For the mac, added ability to get at pascal-style strings
-
- 30 Agu, 1994 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 29 Mar, 1993 1 kayıt (commit)
-
-
Guido van Rossum yazdı
* Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions
-
- 03 Haz, 1992 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 05 Nis, 1992 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 10 Ara, 1991 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 20 Eki, 1991 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 19 Şub, 1991 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 20 Ara, 1990 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-