| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
inspect.getsource would crash with one line definitions like:
def f(x): return x
or
f = lambda x: x
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
do_quit() -- but print a blank line first.
|
|
|
|
|
|
|
| |
Fix infinite recursion which occurred when printing an object
whose __str__() returned self.
Will backport
|
|
|
|
| |
C API section by mistake
|
| |
|
| |
|
|
|
|
| |
Mention deprecation of string exceptions
|
|
|
|
| |
'%s' % u'x' return a unicode object.
|
| |
|
| |
|
|
|
|
|
|
|
| |
The interpreter doesn't crash, but it does call exit() in libncurses.
Add a note to this effect.
Will backport
|
| |
|
| |
|
|
|
|
| |
HASTZINFO() macro.
|
| |
|
|
|
|
| |
Add the optional gain parameter and pass it to Tk.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Closing an mmap'ed file (calling munmap) twice on Solaris caused a core dump.
|
|
|
|
|
|
| |
Closing an mmap'ed file (calling munmap) twice on Solaris caused a core dump.
Will backport.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
hard code it. We want this module to work with Python 2.1 for now.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
when a string exception is raised. Note that raising string exceptions
is deprecated in an exception message.
|
| |
|
|
|
|
| |
Change a couple of list -> mylist
|
|
|
|
|
|
|
|
|
|
| |
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".
|
|
|
|
|
|
| |
configuation.
2. Make sure that os.startfile() is used to open both Python help docs
and Extra Help docs on the Windows platforms.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
try it.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|