Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implemented buildtools for MachoPython .app bundles. The API is compatible | Jack Jansen | 2002-03-29 | 1 | -2/+150 |
| | | | | enough that IDE and BuildApplet can create applets, yeah! | ||||
* | Don't attempt to create a dummy fsspec if the user cancelled out, just | Jack Jansen | 2002-03-29 | 1 | -3/+6 |
| | | | | | | | return None. For now, if the user asks for TEXT files files without type are also accepted. But it is time to phase out StandardGetFile and friends, really. | ||||
* | Re-raise the Res.Error if the file doesn't exist. | Jack Jansen | 2002-03-29 | 1 | -0/+2 |
| | |||||
* | Added -Wno-long-double | Jack Jansen | 2002-03-29 | 1 | -1/+2 |
| | |||||
* | Changed visible name (in dock, menubar) of the interpreter to PythonW. | Jack Jansen | 2002-03-29 | 2 | -11/+11 |
| | | | | Changed version numbers and copyright. | ||||
* | Add missing typecast. | Neil Schemenauer | 2002-03-29 | 1 | -1/+2 |
| | |||||
* | [Patch #536769] Add -Xcompiler flag for adding arguments and switches for | Andrew M. Kuchling | 2002-03-29 | 2 | -0/+3 |
| | | | | the compiler | ||||
* | Patch #527027: Allow building python as shared library. | Martin v. Löwis | 2002-03-29 | 6 | -481/+599 |
| | |||||
* | As part of fixing bug #536241, add a test case for string.zfill() with Unicode | Andrew M. Kuchling | 2002-03-29 | 1 | -1/+4 |
| | |||||
* | [Bug #536241] string.zfill() produces mangled output for a Unicode string. | Andrew M. Kuchling | 2002-03-29 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | Walter Doerwald provided a patch, which I've modified in two ways: 1) (Uncontroversial) Removed code to make module work in earlier versions of Python without the unicode() built-in 2) (Poss. controversial) Instead of making string.zfill take the repr() of non-string objects, take the str(). Should a warning be added to this branch of the code so that the automatic str() can be deprecated? 2.2.2 bugfix candidate, assuming the repr()->str() change is deemed OK. | ||||
* | Add two tests for string.zfill | Andrew M. Kuchling | 2002-03-29 | 1 | -0/+3 |
| | |||||
* | Allow .pyc files as applets as well as .py files. .py files have | Jack Jansen | 2002-03-29 | 1 | -4/+9 |
| | | | | priority, for safety reasons. | ||||
* | If the file has no resource fork first check to see whether it's a | Jack Jansen | 2002-03-29 | 1 | -5/+12 |
| | | | | datafork-based resource file before trying to decode it as AppleSingle. | ||||
* | Removed debug. | Jack Jansen | 2002-03-29 | 1 | -1/+0 |
| | |||||
* | In MachoPython print "Pythonw" in banner to distinguish from command-line | Jack Jansen | 2002-03-29 | 1 | -7/+6 |
| | | | | | python. Removed debug output. | ||||
* | Added target "installunixprograms" which installs python and pythonw in | Jack Jansen | 2002-03-29 | 1 | -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 pythonw | Jack Jansen | 2002-03-29 | 1 | -0/+2 |
| | | | | because of similarity to the same program on Windows. | ||||
* | Remove the CACHE_HASH and INTERN_STRINGS preprocessor symbols. | Tim Peters | 2002-03-29 | 6 | -102/+19 |
| | |||||
* | Call PyObject_GC_UnTrack before putting an object on the list of trash. | Neil Schemenauer | 2002-03-29 | 1 | -2/+2 |
| | |||||
* | If the GC is enabled then don't use the ob_type pointer to create a list | Neil Schemenauer | 2002-03-29 | 1 | -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 Schemenauer | 2002-03-29 | 1 | -0/+2 |
| | |||||
* | News for SF #535905. | Guido van Rossum | 2002-03-29 | 1 | -0/+6 |
| | |||||
* | Mark a couple of types that had not been marked. | Fred Drake | 2002-03-28 | 1 | -5/+5 |
| | |||||
* | Added comments for more entries of the type structure in the example | Fred Drake | 2002-03-28 | 1 | -19/+19 |
| | | | | type implementation. | ||||
* | The new files included by \verbatiminput in newtypes.tex. | Fred Drake | 2002-03-28 | 2 | -0/+134 |
| | |||||
* | Move some of the longer example code to external fragments, and | Fred Drake | 2002-03-28 | 1 | -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 Hylton | 2002-03-28 | 1 | -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 Drake | 2002-03-28 | 1 | -0/+4 |
| | |||||
* | Extend \verbatiminput so that the typeset version provides the same appearance | Fred Drake | 2002-03-28 | 1 | -0/+14 |
| | | | | as a verbatim environment. (The HTML version is already fine.) | ||||
* | new script - helps track down symbols exported by modules but not | Skip Montanaro | 2002-03-28 | 1 | -0/+128 |
| | | | | mentioned in the library reference manual | ||||
* | test_trashcan: reword obscure code. | Tim Peters | 2002-03-28 | 1 | -1/+1 |
| | | | | Bugfix candidate. | ||||
* | New test_traschcan() test in test_gc, which reliably provokes segfaults | Tim Peters | 2002-03-28 | 1 | -0/+29 |
| | | | | | | under 2.0, 2.1 and 2.2. Bugfix candidate. | ||||
* | Minor wording change. | Fred Drake | 2002-03-28 | 1 | -1/+1 |
| | |||||
* | Add _Py_AS_GC macro. It will be used by the trashcan code on object.c. | Neil Schemenauer | 2002-03-28 | 1 | -2/+4 |
| | |||||
* | Add missing "void" to function. | Neil Schemenauer | 2002-03-28 | 1 | -1/+1 |
| | |||||
* | Add type cast. | Neil Schemenauer | 2002-03-28 | 1 | -1/+2 |
| | |||||
* | add comment reminding people about class hierarchy in Doc/lib/libexcs.tex | Skip Montanaro | 2002-03-28 | 1 | -0/+5 |
| | |||||
* | add exception class hierarchy. This should probably be done differently, | Skip Montanaro | 2002-03-28 | 1 | -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 Rossum | 2002-03-28 | 5 | -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 Drake | 2002-03-28 | 1 | -1/+3 |
| | |||||
* | Fix an issue that was reported in but unrelated to the main problem of | Guido van Rossum | 2002-03-28 | 1 | -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 Drake | 2002-03-28 | 1 | -0/+4 |
| | |||||
* | Reindent. | Martin v. Löwis | 2002-03-28 | 1 | -551/+550 |
| | |||||
* | Add a simple test of the METH_CLASS and METH_STATIC flags for type methods. | Fred Drake | 2002-03-28 | 2 | -0/+58 |
| | |||||
* | Patch #536117: Typo in turtle.py. | Martin v. Löwis | 2002-03-28 | 1 | -1/+1 |
| | | | | 2.2.2 candidate. | ||||
* | Minor consistency adjustments. | Fred Drake | 2002-03-28 | 1 | -11/+12 |
| | |||||
* | PYMALLOC_DEBUG routines: The "check API family" gimmick was going nowhere | Tim Peters | 2002-03-28 | 2 | -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 method | Fred Drake | 2002-03-28 | 5 | -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 Drake | 2002-03-27 | 1 | -0/+1 |
| | |||||
* | Expose C library's gettext. Fixes #516412. | Martin v. Löwis | 2002-03-27 | 6 | -342/+448 |
| |