summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* If the file has no resource fork first check to see whether it's aJack Jansen2002-03-291-5/+12
| | | | datafork-based resource file before trying to decode it as AppleSingle.
* Removed debug.Jack Jansen2002-03-291-1/+0
|
* In MachoPython print "Pythonw" in banner to distinguish from command-lineJack Jansen2002-03-291-7/+6
| | | | | python. Removed debug output.
* Added target "installunixprograms" which installs python and pythonw inJack Jansen2002-03-291-2/+22
| | | | | | /usr/local/bin (referring to the framework-based interpreter and Python.app). Added target symlinkmacsubtree to aid in debugging.
* Shell script that invokes Python.app from the command line. Called pythonwJack Jansen2002-03-291-0/+2
| | | | because of similarity to the same program on Windows.
* Remove the CACHE_HASH and INTERN_STRINGS preprocessor symbols.Tim Peters2002-03-296-102/+19
|
* Call PyObject_GC_UnTrack before putting an object on the list of trash.Neil Schemenauer2002-03-291-2/+2
|
* If the GC is enabled then don't use the ob_type pointer to create a listNeil Schemenauer2002-03-291-1/+12
| | | | of trash objects. Use the gc_prev pointer instead.
* Make _PyObject_GC_UnTrack do nothing if WITH_CYCLE_GC is not defined.Neil Schemenauer2002-03-291-0/+2
|
* News for SF #535905.Guido van Rossum2002-03-291-0/+6
|
* Mark a couple of types that had not been marked.Fred Drake2002-03-281-5/+5
|
* Added comments for more entries of the type structure in the exampleFred Drake2002-03-281-19/+19
| | | | type implementation.
* The new files included by \verbatiminput in newtypes.tex.Fred Drake2002-03-282-0/+134
|
* Move some of the longer example code to external fragments, andFred Drake2002-03-281-148/+31
| | | | | | | | | | | | | | 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.
* Fix getcomments() so that it doesn't fail with TypeErrors.Jeremy Hylton2002-03-281-3/+8
| | | | | | | | | 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...
* Added index entries.Fred Drake2002-03-281-0/+4
|
* Extend \verbatiminput so that the typeset version provides the same appearanceFred Drake2002-03-281-0/+14
| | | | as a verbatim environment. (The HTML version is already fine.)
* new script - helps track down symbols exported by modules but notSkip Montanaro2002-03-281-0/+128
| | | | mentioned in the library reference manual
* test_trashcan: reword obscure code.Tim Peters2002-03-281-1/+1
| | | | Bugfix candidate.
* New test_traschcan() test in test_gc, which reliably provokes segfaultsTim Peters2002-03-281-0/+29
| | | | | | under 2.0, 2.1 and 2.2. Bugfix candidate.
* Minor wording change.Fred Drake2002-03-281-1/+1
|
* Add _Py_AS_GC macro. It will be used by the trashcan code on object.c.Neil Schemenauer2002-03-281-2/+4
|
* Add missing "void" to function.Neil Schemenauer2002-03-281-1/+1
|
* Add type cast.Neil Schemenauer2002-03-281-1/+2
|
* add comment reminding people about class hierarchy in Doc/lib/libexcs.texSkip Montanaro2002-03-281-0/+5
|
* add exception class hierarchy. This should probably be done differently,Skip Montanaro2002-03-281-0/+44
| | | | but at least the content is there.
* This is Neil's fix for SF bug 535905 (Evil Trashcan and GC interaction).Guido van Rossum2002-03-285-5/+7
| | | | | | | | 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!
* Allow a page break in a code longish example.Fred Drake2002-03-281-1/+3
|
* Fix an issue that was reported in but unrelated to the main problem ofGuido van Rossum2002-03-281-2/+10
| | | | | | | | | | | | | 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!
* Add documentation on the hasfree data object.Fred Drake2002-03-281-0/+4
|
* Reindent.Martin v. Löwis2002-03-281-551/+550
|
* Add a simple test of the METH_CLASS and METH_STATIC flags for type methods.Fred Drake2002-03-282-0/+58
|
* Patch #536117: Typo in turtle.py.Martin v. Löwis2002-03-281-1/+1
| | | | 2.2.2 candidate.
* Minor consistency adjustments.Fred Drake2002-03-281-11/+12
|
* PYMALLOC_DEBUG routines: The "check API family" gimmick was going nowhereTim Peters2002-03-282-68/+40
| | | | | 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.
* Introduce two new flag bits that can be set in a PyMethodDef methodFred Drake2002-03-285-6/+74
| | | | | | | | | | | | | | | | | | | 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.
* Ignore new output directory.Fred Drake2002-03-271-0/+1
|
* Expose C library's gettext. Fixes #516412.Martin v. Löwis2002-03-276-342/+448
|
* Destroy and unlink deleted NoteBook panes. Fixes #516703.Martin v. Löwis2002-03-271-1/+2
| | | | 2.2.2 candidate.
* add seealso referring to site module doc where people can learn how toSkip Montanaro2002-03-271-0/+6
| | | | extend sys.path using .pth files.
* Ignore widgets with unknown names in winfo_children. Fixes #518283.Martin v. Löwis2002-03-271-3/+11
| | | | 2.2.2 candidate.
* Remove weakref free list. This has the side effect of fixing a memoryNeil Schemenauer2002-03-271-26/+11
| | | | | management bug. Also, move some duplicated code into the new_weakref fucntion.
* fix a typo in PyErr_Format table and add row for 'p' format charSkip Montanaro2002-03-271-1/+2
| | | | closes bug 534495
* Change sys_exit to use METH_VARARGS.Neal Norwitz2002-03-272-2/+8
| | | | sys.exit() now requires 0-1 arguments. Previously 2+ arguments were allowed.
* Don't imply XPG4 constants from CODESET presence. Fixes #534153.Martin v. Löwis2002-03-271-1/+4
| | | | 2.2.2 candiate.
* further work on new config system;Steven M. Gava2002-03-273-8/+79
| | | | recent files menu
* Fill in this document a bit, adding reminders of items that should be includedAndrew M. Kuchling2002-03-271-5/+99
|
* further work on new config system;Steven M. Gava2002-03-275-26/+56
| | | | user defined help items
* _finally_ tracked down and eliminated a major problemSteven M. Gava2002-03-271-4/+7
| | | | | in PyShell.py that was causing extreme headaches in working on EditorWindow.py
* Add the "What's New" document to the index of HTML documents.Fred Drake2002-03-262-11/+30
|