Kurt B. Kaiser [Sat, 14 Jul 2001 05:10:34 +0000 (05:10 +0000)]
py-cvs-2001_07_13 (Rev 1.34) merge
"Amazing. A very subtle change in policy in descr-branch actually
found a bug here. Here's the deal: Class PyShell derives from class
OutputWindow. Method PyShell.close()
wants to invoke its parent method, but because PyShell long ago was
inherited from class PyShellEditorWindow, it invokes
PyShelEditorWindow.close(self). Now, class PyShellEditorWindow itself
derives from class OutputWindow, and inherits the close() method from
there without overriding it. Under the old rules,
PyShellEditorWindow.close would return an unbound method restricted to
the class that defined the implementation of close(), which was
OutputWindow.close. Under the new rules, the unbound method is
restricted to the class whose method was requested, that is
PyShellEditorWindow, and this was correctly trapped as an error." --GvR
Kurt B. Kaiser [Sat, 14 Jul 2001 04:59:24 +0000 (04:59 +0000)]
py-cvs-2001_07_13 (Rel 1.9) merge
"Taught IDLE's autoident parser that "yield" is a keyword that begins a
stmt. Along w/ the preceding change to keyword.py, making all this
work w/ a future-stmt just looks harder and harder." --tim_one
(From Rel 1.8: "Hack to make this still work with Python 1.5.2. ;-( "
--fdrake)
Kurt B. Kaiser [Sat, 14 Jul 2001 04:51:06 +0000 (04:51 +0000)]
py-cvs-2001_07_13 (Rel 1.7) merge
"Move the action of loading the configuration to the IdleConf module
rather than the idle.py script. This has advantages and
disadvantages; the biggest advantage being that we can more easily
have an alternative main program." --GvR
Kurt B. Kaiser [Sat, 14 Jul 2001 04:45:32 +0000 (04:45 +0000)]
py-cvs-2000_07_13 (Rev 1.9) merge
"Delete goodname() method, which is unused. Add gotofileline(), a
convenience method which I intend to use in a
variant. Rename test() to _test()." --GvR
This was an interesting merge. The join completely missed removing
goodname(), which was adjacent, but outside of, a small conflict.
I only caught it by comparing the 1.1.3.2/1.1.3.3 diff. CVS ain't
infallible.
Kurt B. Kaiser [Sat, 14 Jul 2001 03:58:25 +0000 (03:58 +0000)]
py-cvs-2000_07_13 (Rev 1.38) merge
"Remove legacy support for the BrowserControl module; the webbrowser
module has been included since Python 2.0, and that is the preferred
interface." --fdrake
Fred Drake [Sat, 14 Jul 2001 02:34:12 +0000 (02:34 +0000)]
Add a little more information about the usage of some terms where the
style guide can use a little clarification, and present some minor
specific markup.
Make a few adjustments to conform to the style guide.
Kurt B. Kaiser [Sat, 14 Jul 2001 00:13:28 +0000 (00:13 +0000)]
cvs-py-rel2_1 (Rev 1.29 - 1.33) merge
Merged the following py-cvs revs without conflict:
1.29 Reduce copyright text output at startup
1.30 Delay setting sys.args until Tkinter is fully initialized
1.31 Whitespace normalization
1.32 Turn syntax warning into error when interactive
1.33 Fix warning initialization bug
Note that module is extensively modified wrt py-cvs
Jack Jansen [Fri, 13 Jul 2001 22:27:20 +0000 (22:27 +0000)]
Fixed the mis-guessed parameters and added support for a few optional parameter types. There's a good chance that this is usable now (but there's no test code yet).
Jack Jansen [Fri, 13 Jul 2001 20:56:52 +0000 (20:56 +0000)]
First stab at an interface to the Multi Language Text Editor. It compiles and imports, but that's about all. Apple didn't put const in front of their input-only by-reference args, so that needs fixing first.
Kurt B. Kaiser [Fri, 13 Jul 2001 03:35:32 +0000 (03:35 +0000)]
py-cvs-rel2_1 (Rev 1.33 - 1.37) merge
VP IDLE version depended on VP's ExecBinding.py and spawn.py to get the
path to the Windows Doc directory (relative to python.exe). Removed this
conflicting code in favor of py-cvs updates which on Windows use a hard
coded path relative to the location of this module. py-cvs updates include
support for webbrowser.py. Module still has BrowserControl.py for 1.5.2
support.
At this point, the differences wrt py-cvs relate to menu functionality.
Tim Peters [Fri, 13 Jul 2001 02:59:26 +0000 (02:59 +0000)]
long_format(): Easy speedup for output bases that aren't a power of 2 (in
particular, str(long) and repr(long) use base 10, and that gets a factor
of 4 speedup). Another factor of 2 can be gotten by refactoring divrem1 to
support in-place division, but that started getting messy so I'm leaving
that out.
Kurt B. Kaiser [Thu, 12 Jul 2001 23:41:37 +0000 (23:41 +0000)]
py-cvs-rel2_1 (Rev 1.1) merge - New File - Force HEAD to trunk with -f
Note: browser.py was renamed BrowserControl.py 10 May 2000. It provides a
collection of classes and convenience functions to control external
browsers "for 1.5.2 support". It was removed from py-cvs 18 April 2001.
Kurt B. Kaiser [Thu, 12 Jul 2001 22:13:51 +0000 (22:13 +0000)]
py-cvs-rel1_2 (Rev 1.4) merge,
"Add Alt-slash to Unix keydefs (I somehow need it on RH 6.2).
Get rid of assignment to unused self.text.wordlist." --GvR
Although this is a one-character change, more work needs to be done:
the compiler can get rid of a lot of non-nested-scopes code, the
documentation needs to be updated, the future statement can be
simplified, etc.
But this change enables the nested scope semantics everywhere, and
that's the important part -- we can now test code for compatibility
with nested scopes by default.
(Tim & I should agree on where to add new additions: I add them at the
top, Tim adds them at the bottom. I like the top better because folks
who occasionally check out the NEWS file will see the latest news
first.)
On int/long to the negative int/long power, let float handle it
instead of raising an error. This was one of the two issues that the
VPython folks were particularly problematic for their students. (The
other one was integer division...) This implements (my) SF patch
#440487.
On long to the negative long power, let float handle it instead of
raising an error. This was one of the two issues that the VPython
folks were particularly problematic for their students. (The other
one was integer division...) This implements (my) SF patch #440487.
On int to the negative integral power, let float handle it instead of
raising an error. This was one of the two issues that the VPython
folks were particularly problematic for their students. (The other
one was integer division...) This implements (my) SF patch #440487.
Eric S. Raymond [Thu, 12 Jul 2001 02:39:45 +0000 (02:39 +0000)]
First version of xmlrpclib docs. Probably has markup errors; is not complete,
could probably stand to have some of the internal things like Marshaller
documented. But I think it does a decent job on the entry points and
externally visible things.
Fred and Fredrik, do your stuff! You both need to proof this.
Thomas Wouters [Wed, 11 Jul 2001 22:35:31 +0000 (22:35 +0000)]
Re-do the broken-nice() patch to break less platforms. Hopefully none :P
Also note that it isn't just Linux nice() that is broken: at least FreeBSD
and BSDI also have this problem. os.nice() should probably just be emulated
using getpriority()/setpriority(), if they are available, but I'll get to
that later.
Tim Peters [Wed, 11 Jul 2001 21:43:42 +0000 (21:43 +0000)]
SF patch #440144: Tests and minor bugfix for uu module.
New test_uu.py from Nick Mathewson, fiddled to work on Windows too.
Somebody should check that it still works on non-Windows boxes, though!