Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | GvR provided solution to the socket rebinding timeout problem. | Kurt B. Kaiser | 2002-08-05 | 3 | -7/+6 |
| | | | | | | M PyShell.py M rpc.py M run.py | ||||
* | Add 1 to lineno in deprecation warning. Fixes #590888. | Martin v. Löwis | 2002-08-05 | 1 | -1/+3 |
| | |||||
* | Test whether a Cyrillic text correctly appears in a Unicode literal. | Martin v. Löwis | 2002-08-05 | 1 | -0/+2 |
| | |||||
* | We don't really need the name of the test in the "test skipped" msg, and | Tim Peters | 2002-08-04 | 1 | -1/+1 |
| | | | | having it there causes the line to wrap. | ||||
* | Oops! Forgot the closing paren. | Tim Peters | 2002-08-04 | 1 | -1/+1 |
| | |||||
* | Finally got around to figuring out and documenting why this test fails | Tim Peters | 2002-08-04 | 1 | -2/+10 |
| | | | | | | | | on Windows. The test_sequence() ERROR is easily repaired if we're willing to add an os.unlink() line to mhlib's updateline(). The test_listfolders FAIL I gave up on -- I don't remember enough about Unix link esoterica to recall why a link count of 2 is something a well- written program should be keenly interested in <wink>. | ||||
* | Build the _IBCarbon module. | Jack Jansen | 2002-08-04 | 1 | -0/+2 |
| | |||||
* | The definitions for IBCarbonRuntime.h | Jack Jansen | 2002-08-04 | 1 | -0/+5 |
| | |||||
* | Updated to something that works on my system, and regenerated module. | Jack Jansen | 2002-08-04 | 2 | -12/+7 |
| | |||||
* | Specify pathnames in a way that works on both OS9 and OSX. | Jack Jansen | 2002-08-04 | 1 | -3/+3 |
| | | | | You'll still have to manually edit it, though... | ||||
* | Use universal newline input when scanning header files. | Jack Jansen | 2002-08-04 | 1 | -3/+3 |
| | |||||
* | Donovan Preston's interface to IBCarbon, allowing you to use Interface | Jack Jansen | 2002-08-04 | 3 | -0/+342 |
| | | | | | | | | Builder carbon NIB files from Python. As-is, I may need to twiddle a few things as he donated this long ago. Donovan is now one of the four people in the world who know how to drive bgen! | ||||
* | Changes to the OSX section: | Jack Jansen | 2002-08-04 | 1 | -6/+13 |
| | | | | | | | - steer people away from installing with sudo - warn that fink-installed software may cause trouble - explain why you might want a framework build and point people to Mac/OSX/README. | ||||
* | Use the -n option of ln in stead of -h, as it also works with other ln's | Jack Jansen | 2002-08-04 | 1 | -9/+9 |
| | | | | people may have (fink, gnu). | ||||
* | small speedup for constant and name access | Skip Montanaro | 2002-08-04 | 1 | -3/+6 |
| | | | | see sf #506436 | ||||
* | Make pgen compile with pydebug. Duplicate normalized names, as it may | Martin v. Löwis | 2002-08-04 | 2 | -2/+8 |
| | | | | be longer than the old string. | ||||
* | Group statements properly. | Martin v. Löwis | 2002-08-04 | 1 | -6/+12 |
| | |||||
* | Repaired a fatal compiler error in the debug build: it's not clear what | Tim Peters | 2002-08-04 | 1 | -1/+1 |
| | | | | this was trying to assert, but the name it referenced didn't exist. | ||||
* | Squash compiler wng about signed-vs-unsigned mismatch. | Tim Peters | 2002-08-04 | 1 | -1/+1 |
| | |||||
* | Sped the usual case for sorting by calling PyObject_RichCompareBool | Tim Peters | 2002-08-04 | 1 | -10/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | directly when no comparison function is specified. This saves a layer of function call on every compare then. Measured speedups: i 2**i *sort \sort /sort 3sort +sort %sort ~sort =sort !sort 15 32768 12.5% 0.0% 0.0% 100.0% 0.0% 50.0% 100.0% 100.0% -50.0% 16 65536 8.7% 0.0% 0.0% 0.0% 0.0% 0.0% 12.5% 0.0% 0.0% 17 131072 8.0% 25.0% 0.0% 25.0% 0.0% 14.3% 5.9% 0.0% 0.0% 18 262144 6.3% -10.0% 12.5% 11.1% 0.0% 6.3% 5.6% 12.5% 0.0% 19 524288 5.3% 5.9% 0.0% 5.6% 0.0% 5.9% 5.4% 0.0% 2.9% 20 1048576 5.3% 2.9% 2.9% 5.1% 2.8% 1.3% 5.9% 2.9% 4.2% The best indicators are those that take significant time (larger i), and where sort doesn't do very few compares (so *sort and ~sort benefit most reliably). The large numbers are due to roundoff noise combined with platform variability; e.g., the 14.3% speedup for %sort at i=17 reflects a printed elapsed time of 0.18 seconds falling to 0.17, but a change in the last digit isn't really meaningful (indeed, if it really took 0.175 seconds, one electron having a lazy nanosecond could shift it to either value <wink>). Similarly the 25% at 3sort i=17 was a meaningless change from 0.05 to 0.04. However, almost all the "meaningless changes" were in the same direction, which is good. The before-and-after times for *sort are clearest: before after 0.18 0.16 0.25 0.23 0.54 0.50 1.18 1.11 2.57 2.44 5.58 5.30 | ||||
* | Patch #534304: Implement phase 1 of PEP 263. | Martin v. Löwis | 2002-08-04 | 13 | -31/+656 |
| | |||||
* | Add encoding declaration. | Martin v. Löwis | 2002-08-04 | 2 | -1/+2 |
| | |||||
* | Add encoding declaration. | Martin v. Löwis | 2002-08-04 | 2 | -0/+2 |
| |