- 28 Mar, 2002 25 commits
-
-
Fred Drake authored
type implementation.
-
Fred Drake authored
-
Fred Drake authored
include them using \verbatiminput. This has the advantage that pages can still break at reasonable places, and examples that go longer than a page won't get cut off. Make a few small markup adjustments for consistency. Explain that PyObject_New() is not a C function but a polymorphic beast that returns a pointer to the type that's passed as the first arg. Explain why type objects use the PyObject_VAR_HEAD.
-
Jeremy Hylton authored
It appears that getcomments() can get called for classes defined in C. Since these don't have source code, it can't do anything useful. A function buried many levels deep was raising a TypeError that was not caught. Who knows why this broke...
-
Fred Drake authored
-
Fred Drake authored
as a verbatim environment. (The HTML version is already fine.)
-
Skip Montanaro authored
mentioned in the library reference manual
-
Tim Peters authored
Bugfix candidate.
-
Tim Peters authored
under 2.0, 2.1 and 2.2. Bugfix candidate.
-
Fred Drake authored
-
Neil Schemenauer authored
-
Neil Schemenauer authored
-
Neil Schemenauer authored
-
Skip Montanaro authored
-
Skip Montanaro authored
but at least the content is there.
-
Guido van Rossum authored
The fix makes it possible to call PyObject_GC_UnTrack() more than once on the same object, and then move the PyObject_GC_UnTrack() call to *before* the trashcan code is invoked. BUGFIX CANDIDATE!
-
Fred Drake authored
-
Guido van Rossum authored
SF bug 535905 (Evil Trashcan and GC interaction). The SETLOCAL() macro should not DECREF the local variable in-place and then store the new value; it should copy the old value to a temporary value, then store the new value, and then DECREF the temporary value. This is because it is possible that during the DECREF the frame is accessed by other code (e.g. a __del__ method or gc.collect()) and the variable would be pointing to already-freed memory. BUGFIX CANDIDATE!
-
Fred Drake authored
-
Martin v. Löwis authored
-
Fred Drake authored
-
Martin v. Löwis authored
2.2.2 candidate.
-
Fred Drake authored
-
Tim Peters authored
fast, and just cluttered the code. Get rid of it for now. If a compelling case can be made for it, easy to restore it later.
-
Fred Drake authored
descriptor, as used for the tp_methods slot of a type. These new flag bits are both optional, and mutually exclusive. Most methods will not use either. These flags are used to create special method types which exist in the same namespace as normal methods without having to use tedious construction code to insert the new special method objects in the type's tp_dict after PyType_Ready() has been called. If METH_CLASS is specified, the method will represent a class method like that returned by the classmethod() built-in. If METH_STATIC is specified, the method will represent a static method like that returned by the staticmethod() built-in. These flags may not be used in the PyMethodDef table for modules since these special method types are not meaningful in that case; a ValueError will be raised if these flags are found in that context.
-
- 27 Mar, 2002 13 commits
-
-
Fred Drake authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
2.2.2 candidate.
-
Skip Montanaro authored
extend sys.path using .pth files.
-
Martin v. Löwis authored
2.2.2 candidate.
-
Neil Schemenauer authored
management bug. Also, move some duplicated code into the new_weakref fucntion.
-
Skip Montanaro authored
closes bug 534495
-
Neal Norwitz authored
sys.exit() now requires 0-1 arguments. Previously 2+ arguments were allowed.
-
Martin v. Löwis authored
2.2.2 candiate.
-
Steven M. Gava authored
recent files menu
-
Andrew M. Kuchling authored
-
Steven M. Gava authored
user defined help items
-
Steven M. Gava authored
in PyShell.py that was causing extreme headaches in working on EditorWindow.py
-
- 26 Mar, 2002 2 commits
-
-
Fred Drake authored
-
Neil Schemenauer authored
-