Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Because MWH changed the bytecode again, moved the magic number *back* | Guido van Rossum | 2002-08-31 | 1 | -1/+6 |
| | | | | | to 62011. This should get the snake-farm to throw away its old .pyc files, amongst others. | ||||
* | Implemented the Help menu. The Python manual can be viewed (if installed) | Jack Jansen | 2002-08-31 | 1 | -0/+102 |
| | | | | | | | | and the selection can be looked up, and so can the Carbon manual. From the help menu you can also get to the online documentation, the Python website and the MacPython page. Untested in MacPython-OS9. | ||||
* | If there's an environment variable PYTHONIDEPATH it points to the IDE | Jack Jansen | 2002-08-31 | 1 | -1/+4 |
| | | | | folder. This allows running the IDE from the source tree on OSX. | ||||
* | MenuID's are signed. | Jack Jansen | 2002-08-31 | 1 | -0/+2 |
| | |||||
* | Typecode for AHTOCType was wrong. Fixed. | Jack Jansen | 2002-08-30 | 2 | -2/+2 |
| | |||||
* | Initialize self._helpmenu earlier, so we can use gethelpmenu() while | Jack Jansen | 2002-08-30 | 1 | -1/+1 |
| | | | | building the user menus. | ||||
* | Fix for Jaguar: use ln for installing symlinks, install no longer works. | Jack Jansen | 2002-08-30 | 1 | -2/+2 |
| | | | | Fix for sh: use : in stead of an empty then clause in an if. | ||||
* | Further SET_LINENO reomval fixes. See comments in patch #587933. | Michael W. Hudson | 2002-08-30 | 7 | -55/+144 |
| | | | | | | | | | | Use a slightly different strategy to determine when not to call the line trace function. This removes the need for the RETURN_NONE opcode, so that's gone again. Update docs and comments to match. Thanks to Neal and Armin! Also add a test suite. This should have come with the original patch... | ||||
* | On Jaguar the default mode for files in the installed product is 444 (or 555) | Jack Jansen | 2002-08-30 | 1 | -0/+1 |
| | | | | | in stead of 644 (755). This makes a subsequent install fail. Changed the INSTALL_MODE_FLAG to fix this. | ||||
* | Added support for the help menu. Application.gethelpmenu() will return | Jack Jansen | 2002-08-29 | 1 | -0/+35 |
| | | | | | | | it. Also fixed menu IDs to be signed in do_menudispatch. this is an incompatible change, but I don't think it'll hurt anyone. | ||||
* | Revived the Carbon.Help module, but implementing the MacHelp API in stead | Jack Jansen | 2002-08-29 | 6 | -269/+152 |
| | | | | | of the defunct Balloons API. Help tags are TBD, but at least this gives us access to the help menu. | ||||
* | SF #561244: micro optimizations, builtins cannot be NULL, so use Py_INCREF | Neal Norwitz | 2002-08-29 | 1 | -1/+1 |
| | |||||
* | Don't copy the documentation when using Python.app as an applet template. | Jack Jansen | 2002-08-29 | 1 | -0/+1 |
| | |||||
* | Many hopefully benign style clean ups. Still passes the test suite of | Barry Warsaw | 2002-08-29 | 1 | -172/+200 |
| | | | | course. | ||||
* | strptime(): The code that was adding 12 to PM hours was incorrect | Barry Warsaw | 2002-08-29 | 1 | -5/+12 |
| | | | | | | | | | because it added it to 12 PM too. 12 PM should be hour 12 not hour 24. Also cleaned up a minor style nit. There are more style problems in this file that I'll clean up next (but I didn't want them to overwhelm the substance of this fix). | ||||
* | The test I saw failing this morning just happened to be run at 8am | Barry Warsaw | 2002-08-29 | 1 | -0/+12 |
| | | | | | | | | localtime, which in -0400 is 12 noon GMT. The bug boiled down to broken conversion of 12 PM to hour 12 for the '%I %p' format string. Added a test for this specific condition: Strptime12AMPMTests. Fix to _strptime.py coming momentarily. | ||||
* | Sped _update(). | Raymond Hettinger | 2002-08-29 | 1 | -0/+9 |
| | | | | Uses the fast update() method when a dictionary is available. | ||||
* | Undo Barry's change. This file is not imported, it's fed as input to | Guido van Rossum | 2002-08-29 | 2 | -15/+15 |
| | | | | | | the tokenize module by test_tokenize.py. The FutureWarnings only appeared during installation, and I've figured out a way to suppress those in a different way. | ||||
* | Suppress warnings when byte-compiling the installed library modules. | Guido van Rossum | 2002-08-29 | 1 | -3/+4 |
| | | | | This seems the sanest thing to do. | ||||
* | Restore the hex/oct constant tests that Barry commented out for fear | Guido van Rossum | 2002-08-29 | 1 | -2/+9 |
| | | | | of FutureWarnings. Added a comment explaining the situation. | ||||
* | complex() was the only numeric constructor that created a new instance | Raymond Hettinger | 2002-08-29 | 2 | -0/+13 |
| | | | | when given its own type as an argument. | ||||
* | Fixed three exceptions in the Plain integers test, although I'm not | Barry Warsaw | 2002-08-29 | 1 | -3/+3 |
| | | | | | | | | | | | sure these are the best fixes. - Test maxint-1 against the negative octal constant -020000000000 - Comment out the tests for oct -1 and hex -1, since 037777777777 and 0xffffffff raise FutureWarnings now and in Python 2.4 those constants will produce positive values, not negative values. So the existing test seems to test something that won't be true in 2.4. | ||||
* | The test_tokenize output has changed slightly, by the addition of some | Barry Warsaw | 2002-08-29 | 1 | -12/+12 |
| | | | | trailing `L's. | ||||
* | Distutils-based script by Bill Fancher to download the Python documentation | Jack Jansen | 2002-08-28 | 1 | -0/+166 |
| | | | | | | HTML tarball and use it to create a documentation tree readable and searchable with Apple Help Viewer. The documentation also shows up in Project Builder (if you add Python.framework to your project). | ||||
* | - Install a symlink to the documentation (which lives in the framework) | Jack Jansen | 2002-08-28 | 3 | -3/+14 |
| | | | | | | in Python.app, and refer to it in Info.plist. This makes Apple Help Viewer recognize the Python documentation. - Changed the externally visible name of Python.app to "Python" (was PythonW). | ||||
* | Distutils-based script by Bill Fancher to download the Python documentation | Jack Jansen | 2002-08-28 | 1 | -0/+1 |
| | | | | | | HTML tarball and use it to create a documentation tree readable and searchable with Apple Help Viewer. The documentation also shows up in Project Builder (if you add Python.framework to your project). | ||||
* | This file never made it to the repository, somehow. | Jack Jansen | 2002-08-28 | 1 | -0/+28 |
| | |||||
* | These were regenerated some time ago (with ascii chars only and | Jack Jansen | 2002-08-28 | 6 | -59/+61 |
| | | | | fully qualified imports) but somehow not checked in yet. | ||||
* | Interface to Apple Help Viewer. | Jack Jansen | 2002-08-28 | 2 | -0/+7 |
| | |||||
* | Quite down some FutureWarnings. | Barry Warsaw | 2002-08-28 | 2 | -6/+6 |
| | |||||
* | add warning about exception messages | Skip Montanaro | 2002-08-28 | 1 | -0/+7 |
| | |||||
* | Note change in behavior from 1.5.2. The new argument to NameError is | Raymond Hettinger | 2002-08-27 | 1 | -2/+2 |
| | | | | | | an error message and not just the missing name. Closes SF Bug 599869. | ||||
* | Whitespace normalization. | Barry Warsaw | 2002-08-27 | 1 | -1/+1 |
| | |||||
* | Typo | Barry Warsaw | 2002-08-27 | 1 | -1/+1 |
| | |||||
* | execfile should call PyErr_SetFromErrnoWithFilename instead of | Peter Schneider-Kamp | 2002-08-27 | 1 | -1/+1 |
| | | | | | | simply PyErr_SetFromErrno This closes bug 599163. | ||||
* | Add strong security warning about the rexec module. | Fred Drake | 2002-08-27 | 1 | -5/+17 |
| | | | | | | Closes SF patch #600861. Minor markup changes. | ||||
* | Don't use tempfile.mktemp(), since it produces annoying warnings, and | Fred Drake | 2002-08-27 | 1 | -5/+6 |
| | | | | usually isn't what we want anyway. | ||||
* | Fix a couple of whitespace consistency nits. | Fred Drake | 2002-08-26 | 1 | -2/+2 |
| | |||||
* | Simplify, and avoid PyModule_GetDict() while we're at it. | Fred Drake | 2002-08-26 | 1 | -5/+2 |
| | |||||
* | Fix an inaccuracy in the comment | Barry Warsaw | 2002-08-26 | 1 | -2/+2 |
| | |||||
* | Gave intersection_update a speed boost. | Tim Peters | 2002-08-26 | 1 | -3/+1 |
| | |||||
* | Gave issubet() and issuperset() major speed boosts. That's it for now! | Tim Peters | 2002-08-25 | 1 | -2/+4 |
| | | | | Someone else may want to tackle the mutating operations similarly. | ||||
* | Gave __sub__/difference a factor of 2-5 speed boost. | Tim Peters | 2002-08-25 | 1 | -1/+2 |
| | |||||
* | Gave __xor__/symmetric_difference a factor of 2-5 speed boost. | Tim Peters | 2002-08-25 | 1 | -4/+6 |
| | |||||
* | Sped union by a factor of 3-4. | Tim Peters | 2002-08-25 | 1 | -1/+2 |
| | |||||
* | Sped intersection by large factors (3-5x faster than before on sets of | Tim Peters | 2002-08-25 | 1 | -7/+2 |
| | | | | cardinality 500; and the smaller the intersection, the bigger the speedup). | ||||
* | Added a clue about why xyz_update isn't the same as __xyz__. | Tim Peters | 2002-08-25 | 1 | -1/+4 |
| | |||||
* | Implemented <, <=, >, >= for sets, giving subset and proper-subset | Tim Peters | 2002-08-25 | 3 | -12/+45 |
| | | | | | | meanings. I did not add new, e.g., ispropersubset() methods; we're going nuts on those, and, e.g., there was no "friendly name" for == either. | ||||
* | TestSubset(): Generalized the framework to support testing upcoming | Tim Peters | 2002-08-25 | 1 | -10/+23 |
| | | | | <, <=, etc methods too. | ||||
* | Rewrote all remaining assert stmts. | Tim Peters | 2002-08-25 | 1 | -30/+30 |
| |