Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix the markup so it doesn't break formatting. | Fred Drake | 2002-08-06 | 1 | -4/+4 |
| | |||||
* | Add testcase for SF bug 574207 (chained __slots__ dealloc segfault). | Guido van Rossum | 2002-08-06 | 1 | -0/+14 |
| | | | | Fix forthcoming. | ||||
* | Added references to the email package. | Fred Drake | 2002-08-06 | 3 | -2/+11 |
| | | | | Closes SF bug #586937. | ||||
* | Added a test for PyUnicode_Contains() taking into account the width of | Barry Warsaw | 2002-08-06 | 1 | -0/+1 |
| | | | | Py_UNICODE. | ||||
* | PyUnicode_Contains(): The memcmp() call didn't take into account the | Barry Warsaw | 2002-08-06 | 1 | -1/+1 |
| | | | | width of Py_UNICODE. Good catch, MAL. | ||||
* | get rid of GETNAMEV macro - use GETITEM directly | Skip Montanaro | 2002-08-06 | 1 | -12/+11 |
| | | | | same idea as getting rid of GETCONST & GETNAME (see patch #506436) | ||||
* | Add a coding cookie, because of the møøse quote. | Guido van Rossum | 2002-08-06 | 1 | -0/+1 |
| | |||||
* | Update the URL for getting zlib, and update the minimal required | Guido van Rossum | 2002-08-06 | 1 | -4/+4 |
| | | | | | version to 1.1.4 (because of the 1.1.3 security problem). Also replace a funny use of line.find() with line.startswith(). | ||||
* | Bump the LOOPS count. 50,000 iterations takes about 5 seconds on my | Guido van Rossum | 2002-08-06 | 1 | -1/+1 |
| | | | | machine -- that feels just right. | ||||
* | Add some fine points: METH_KEYWORDS implies METH_VARARGS, and ob_size | Guido van Rossum | 2002-08-06 | 1 | -6/+10 |
| | | | | is no longer unused in type objects. | ||||
* | Mark xreadlines deprecated. Don't use f.xreadlines() in test_iter.py. | Guido van Rossum | 2002-08-06 | 3 | -2/+7 |
| | |||||
* | Remove mention of deprecated xreadlines method. | Guido van Rossum | 2002-08-06 | 2 | -3/+3 |
| | |||||
* | Describe new "str1 in str2" behavior. | Barry Warsaw | 2002-08-06 | 1 | -0/+4 |
| | |||||
* | Document file.next(). Mark xreadlines obsolete (both method and | Guido van Rossum | 2002-08-06 | 2 | -9/+26 |
| | | | | | module). (One thing remains to be done: the gzip class has an xreadline method; this ought to be replaced by an iterator as well.) | ||||
* | Committing patch #591250 which provides "str1 in str2" when str1 is a | Barry Warsaw | 2002-08-06 | 8 | -99/+140 |
| | | | | string of longer than 1 character. | ||||
* | Files are now their own iterator. The xreadlines method and module | Guido van Rossum | 2002-08-06 | 1 | -0/+12 |
| | | | | are obsolete. | ||||
* | Add comment about os.path.walk()'s behavior with symbolic links. | Steve Holden | 2002-08-06 | 1 | -0/+5 |
| | |||||
* | Add next and __iter__ to the list of file methods that should raise | Guido van Rossum | 2002-08-06 | 1 | -1/+3 |
| | | | | ValueError when called for a closed file. | ||||
* | SF patch 580331 by Oren Tirosh: make file objects their own iterator. | Guido van Rossum | 2002-08-06 | 2 | -34/+136 |
| | | | | | | | | | | | | | | | | | | | | | | For a file f, iter(f) now returns f (unless f is closed), and f.next() is similar to f.readline() when EOF is not reached; however, f.next() uses a readahead buffer that messes up the file position, so mixing f.next() and f.readline() (or other methods) doesn't work right. Calling f.seek() drops the readahead buffer, but other operations don't. The real purpose of this change is to reduce the confusion between objects and their iterators. By making a file its own iterator, it's made clearer that using the iterator modifies the file object's state (in particular the current position). A nice side effect is that this speeds up "for line in f:" by not having to use the xreadlines module. The f.xreadlines() method is still supported for backwards compatibility, though it is the same as iter(f) now. (I made some cosmetic changes to Oren's code, and added a test for "file closed" to file_iternext() and file_iter().) | ||||
* | In the altbininstall target, which is the first subtarget for "make install", | Jack Jansen | 2002-08-06 | 1 | -1/+7 |
| | | | | | | if we are running in an OSX framework enabled build directory, test that the framework infrastructure exists. This catches the very common error of doing "make install" in stead of "make frameworkinstall". | ||||
* | Patch #567296 by Pim Buurman, slightly modified by me so it can be disabled | Jack Jansen | 2002-08-06 | 1 | -2/+24 |
| | | | | | | at compile time: use PBGetCatInfoSync() to get FInfo data in stead of GetFInfo. The latter doesn't work for folders. The former does, at least on OSX, and insofar the info makes sense for a folder. | ||||
* | Wrapper around _IBCarbon. | Jack Jansen | 2002-08-06 | 1 | -0/+1 |
| | |||||
* | Mention list.sort() | Andrew M. Kuchling | 2002-08-06 | 1 | -8/+89 |
| | | | | | | Document heapq module Add PEP263 section (not sure I really understand the PEP's effect on 8-bit strings, though -- will have to experiment with it) | ||||
* | SF patch #591305 Documentation err in bytecode defs | Neal Norwitz | 2002-08-05 | 1 | -1/+1 |
| | |||||
* | We only need to check for StopIteration here. | Fred Drake | 2002-08-05 | 1 | -1/+1 |
| | |||||
* | Patch by Ronald Oussoren: if there's a .lproj in the extras list also | Jack Jansen | 2002-08-05 | 1 | -1/+10 |
| | | | | | check whether it contains a .nib, and do the Cocoa song and dance if it does. | ||||
* | In copy() don't try to obtain an FSSpec until we know the destination | Jack Jansen | 2002-08-05 | 1 | -6/+12 |
| | | | | exists. Partial fix for #585923. | ||||
* | Be a lot less verbose by default. | Jack Jansen | 2002-08-05 | 2 | -6/+7 |
| | |||||
* | Better output for errors, and some progress reports. | Jack Jansen | 2002-08-05 | 1 | -1/+12 |
| | | | | Handle the two modules with non-standard scanner module names. | ||||
* | Fixed the last two bgen-based modules to be buildable on OSX. | Jack Jansen | 2002-08-05 | 2 | -5/+6 |
| | |||||
* | Initial prototype of framer: a tool to build the frame for extension modules. | Jeremy Hylton | 2002-08-05 | 12 | -0/+915 |
| | |||||
* | Remove function definition from cStringIO.h. | Jeremy Hylton | 2002-08-05 | 1 | -23/+4 |
| | | | | xxxPyCObject_Import() seems to be a copy of PyCObject_Import(). | ||||
* | Since the errno module is needed by os._execvpe(), and that is used by the | Fred Drake | 2002-08-05 | 2 | -3/+1 |
| | | | | | | | setup.py (indirectly) script to build the standard dynamically loaded modules, the errno module is being made static so it will always be available. Closes SF bug #591205 (needed on trunk only). | ||||
* | SF patch 590294: os._execvpe security fix (Zack Weinberg). | Guido van Rossum | 2002-08-05 | 1 | -0/+1 |
| | |||||
* | SF patch 590294: os._execvpe security fix (Zack Weinberg). | Guido van Rossum | 2002-08-05 | 1 | -21/+6 |
| | | | | | | | | | | | | | | 1) Do not attempt to exec a file which does not exist just to find out what error the operating system returns. This is an exploitable race on all platforms that support symbolic links. 2) Immediately re-raise the exception if we get an error other than errno.ENOENT or errno.ENOTDIR. This may need to be adapted for other platforms. (As a security issue, this should be considered for 2.1 and 2.2 as well as 2.3.) | ||||
* | Enable building of Carbon toolbox modules with unix-Python. | Jack Jansen | 2002-08-05 | 26 | -58/+26 |
| | |||||
* | Got rid of staticforward. | Jack Jansen | 2002-08-05 | 4 | -11/+11 |
| | |||||
* | This can now run under unix-Python too. You have to pass the folder | Jack Jansen | 2002-08-05 | 1 | -2/+6 |
| | | | | to search on the command line in that case. | ||||
* | Fixed to run better in unix-Python, and to cater for bgenlocations | Jack Jansen | 2002-08-05 | 1 | -3/+7 |
| | | | | possibly being missing. | ||||
* | Typo: "now" --> "the new" | Fred Drake | 2002-08-05 | 1 | -4/+4 |
| | |||||
* | IDLE support for PEP 263. | Martin v. Löwis | 2002-08-05 | 1 | -0/+5 |
| | |||||
* | Moved bgenlocations to the Mac/Lib directory. Not perfect, but better than | Jack Jansen | 2002-08-05 | 2 | -13/+61 |
| | | | | | | | where it was: it is really a configuration file, not a normal module. By moving it into Mac/Lib we can now also store the location of bgen itself in there, which is needed because bgen isn't installed. | ||||
* | Patch #590913: PEP 263 support. | Martin v. Löwis | 2002-08-05 | 2 | -1/+188 |
| | |||||
* | Use ascii_letters to avoid UnicodeErrors. | Martin v. Löwis | 2002-08-05 | 1 | -1/+4 |
| | |||||
* | Add a small description of PEP 263. | Guido van Rossum | 2002-08-05 | 1 | -1/+3 |
| | |||||
* | Added a cast to shut up a compiler warning. | Jack Jansen | 2002-08-05 | 1 | -1/+1 |
| | |||||
* | Renamed Py_Main to PyMac_Main as it has a different signature than the ↵ | Jack Jansen | 2002-08-05 | 1 | -4/+4 |
| | | | | "normal" Py_Main, and that signature has appeared in a .h file. | ||||
* | Added _IBCarbon module. | Jack Jansen | 2002-08-05 | 4 | -0/+5 |
| | |||||
* | SF 582071 clarified the .split() method's docstring to note that sep=None | Raymond Hettinger | 2002-08-05 | 1 | -2/+2 |
| | | | | will trigger splitting on any whitespace. | ||||
* | Note that True and False are pickable objects | Raymond Hettinger | 2002-08-05 | 1 | -1/+1 |
| |