summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* M Bindings.pyKurt B. Kaiser2003-01-148-92/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | M EditorWindow.py M NEWS.txt M config-main.def M configDialog.py M configHandler.py M configHelpSourceEdit.py M configSectionNameDialog.py - Change default: IDLE now starts with Python Shell. - Removed the File Path from the Additional Help Sources scrolled list. - Add capability to access Additional Help Sources on the web if the Help File Path begins with //http or www. (Otherwise local path is validated, as before.) - Additional Help Sources were not being posted on the Help menu in the order entered. Implement sorting the list by [HelpFiles] 'option' number. - Add Browse button to New Help Source dialog. Arrange to start in Python/Doc if platform is Windows, otherwise start in current directory. - Put the Additional Help Sources directly on the Help menu instead of in an Extra Help cascade menu. Rearrange the Help menu so the Additional Help Sources come last. Update help.txt appropriately. - Fix Tk root pop-ups in configSectionNameDialog.py and configDialog.py
* Explicitly raise an exception in __cmp__ -- this clarifies that cmp()Guido van Rossum2003-01-142-0/+9
| | | | | | is not supported on sets. (Unfortunately, sorting a list of sets may still return random results because it uses < exclusively, but for sets that inly implements a partial ordering. Oh well.)
* Replaced POP() with STACKADJ(-1) on lines where the result wasn't used.Raymond Hettinger2003-01-141-2/+2
| | | | | | The two are semantically equivalent, but the first triggered a compiler warning about an unused variable. Note, the preceding steps had already accessed and decreffed the variable so the reference counts were fine.
* SF bug #661184: inspect.getsource bugRaymond Hettinger2003-01-141-1/+3
| | | | | | | inspect.getsource would crash with one line definitions like: def f(x): return x or f = lambda x: x
* make sure Info.plist has a CFBundleIdentifier entryJust van Rossum2003-01-131-0/+2
|
* A new test here was failing on Windows, because the test before it neverTim Peters2003-01-131-10/+5
| | | | | managed to delete the @test file it intended to delete. Also, I don't see a reason to create a 4MB file in the new test, so cut it back to 16K.
* Duh. cmdqueue should be an instance variable, not a class variable.Guido van Rossum2003-01-131-1/+1
| | | | | | This was introduced in 1998 in rev. 1.13, where I imported extensive patches that, I am sad to say, I didn't review as carefully as I should have.
* Duh. The do_EOF() implementation was bogus. Make it more likeGuido van Rossum2003-01-131-3/+5
| | | | do_quit() -- but print a blank line first.
* Fix SF bug #667147, Segmentation fault printing str subclassNeal Norwitz2003-01-133-4/+43
| | | | | | | Fix infinite recursion which occurred when printing an object whose __str__() returned self. Will backport
* Move the date/time section into the modules section; it was in theAndrew M. Kuchling2003-01-131-61/+61
| | | | C API section by mistake
* Update comment, QnewFlag will go away in 3.0, not 2.3Neal Norwitz2003-01-131-2/+2
|
* Fix NameError in getquotaroot(), sanctioned by Piers.Guido van Rossum2003-01-131-1/+1
|
* Link to MRO articleAndrew M. Kuchling2003-01-131-2/+8
| | | | Mention deprecation of string exceptions
* SF patch 664183 and SF bug 664044: Note that both u'%s' % 'x' andRaymond Hettinger2003-01-131-1/+4
| | | | '%s' % u'x' return a unicode object.
* Implemented FSCatalogInfo.Jack Jansen2003-01-123-27/+705
|
* Try to make a sentance more readable.Neal Norwitz2003-01-121-1/+1
|
* SF #665570, curses causes interpreter crashNeal Norwitz2003-01-121-1/+2
| | | | | | | The interpreter doesn't crash, but it does call exit() in libncurses. Add a note to this effect. Will backport
* Minor correction and clarification.Fred Drake2003-01-111-1/+3
|
* Got rid of the internal datetimetz type.Tim Peters2003-01-113-1024/+655
|
* Minor fiddling to make the next part easier. Introduced an internalTim Peters2003-01-112-38/+61
| | | | HASTZINFO() macro.
* SF #639945 was fixed in alpha 1Neal Norwitz2003-01-101-0/+2
|
* Fix SF bug # 602259, 3rd parameter for Tkinter.scan_dragtoNeal Norwitz2003-01-102-3/+6
| | | | Add the optional gain parameter and pass it to Tk.
* Get build working on Redhat 7.2 linux 2.4.7Neal Norwitz2003-01-101-0/+4
|
* Update documentation.Kurt B. Kaiser2003-01-104-238/+323
|
* SF bug #652933 (for IdleFork): Open Module "math" Fails (Hettinger)Kurt B. Kaiser2003-01-101-1/+4
| | | | | | | When a module doesn't have a __path__ attribute, trigger a dialog box rather than dumping a traceback to the console. Synch to Python IDLE.
* SF #665913, Fix mmap module core dump with unixNeal Norwitz2003-01-101-0/+3
| | | | Closing an mmap'ed file (calling munmap) twice on Solaris caused a core dump.
* SF #665913, Fix mmap module core dump with unixNeal Norwitz2003-01-102-2/+22
| | | | | | Closing an mmap'ed file (calling munmap) twice on Solaris caused a core dump. Will backport.
* M configDialog.pyKurt B. Kaiser2003-01-102-82/+97
| | | | | | | | | | | | | M configHelpSourceEdit.py 1. Attach configHelpSourceEdit error dialogs to parent to avoid Tk root pop-ups. 2. Make configHelpSourceEdit OK button the default and bind <Return>. 3. Reformat configHelpSourceEdit. 4. ConfigDialog.SaveAllChangedConfig() had a bug which caused additional help sources to be deleted when other config items were changed. 4. Uniform capitalization in configDialog. 5. Update configDialog doc string.
* Python 2.1's string module doesn't have ascii_letters, so let's justBarry Warsaw2003-01-101-13/+10
| | | | hard code it. We want this module to work with Python 2.1 for now.
* Cleanups, and conversion of assert to assertEqual()Barry Warsaw2003-01-101-71/+69
|
* As discussed on python-dev, removed from DUP_TOPX support for theRaymond Hettinger2003-01-101-35/+0
| | | | | | | | parameter being either four or five. Currently, compile.c does not generate calls with a parameter higher than three. May have to be reverted if the second alpha or beta shakes out some other tool generating this op code with a parameter of four or five.
* As discussed briefly on python-dev, add Pending Deprecation WarningNeal Norwitz2003-01-101-3/+5
| | | | | when a string exception is raised. Note that raising string exceptions is deprecated in an exception message.
* Get rid of compiler warningsNeal Norwitz2003-01-102-19/+19
|
* Remove extra 'types'Neal Norwitz2003-01-101-3/+3
| | | | Change a couple of list -> mylist
* SF bug #652888: bad documentation for the "type" builtinRaymond Hettinger2003-01-101-6/+22
| | | | | | | | | | Clarified that not all types are included. The OP was looking for a StaticMethodType. Also, added a note and example suggesting the use of int,str, etc. instead of IntType, StrType, etc. Renamed the crummy variable name in the example from "list" to "mylist".
* 1. Make finding Python help docs more robust, including the installedKurt B. Kaiser2003-01-101-19/+29
| | | | | | configuation. 2. Make sure that os.startfile() is used to open both Python help docs and Extra Help docs on the Windows platforms.
* Got rid of the timetz type entirely. This was a bit trickier than ITim Peters2003-01-103-489/+354
| | | | | | | hoped it would be, but not too bad. A test had to change: time.__setstate__() can no longer add a non-None tzinfo member to a time object that didn't already have one, since storage for a tzinfo member doesn't exist in that case.
* Default the OK key in the Save Before Run dialog.Kurt B. Kaiser2003-01-101-0/+1
|
* Removed more now-pointless pickle code.Tim Peters2003-01-101-93/+34
|
* Started on implementing support for FSCatalogInfo. Doesn't work yet, don'tJack Jansen2003-01-092-2/+60
| | | | try it.
* interpret utf-8 file names on OSXJust van Rossum2003-01-091-0/+2
|
* support unicode in menu itemsJust van Rossum2003-01-091-1/+4
|
* removed silly & mask, avoiding FutureWarningJust van Rossum2003-01-091-2/+2
|
* cleaned up Jack's Mac OS9 changesJust van Rossum2003-01-091-5/+1
|
* Purged reference to defunct datetimetz.Tim Peters2003-01-091-1/+1
|
* SF patch #664320: Replace push/pop clusters in ceval.cRaymond Hettinger2003-01-091-150/+167
| | | | | | | | | | | Replaced groups of pushes and pops with indexed access to the stack and a single adjustment (if needed) to the stacklevel. Avoids scores of unnecessary increments and decrements to the stackpointer. Removes unnecessary sequential dependencies so that the compiler has more freedom for optimizations. Frees the processor for more parallel and pipelined execution by using mostly read-only access and having few pointer adjustments just prior to a read or write.
* Various minor editsAndrew M. Kuchling2003-01-091-27/+30
|
* Markup fixAndrew M. Kuchling2003-01-091-0/+1
|
* Make the test scripts work again with narrow Python builds.Walter Dörwald2003-01-091-1/+1
|
* add newline to source before compilationJust van Rossum2003-01-091-1/+1
|