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!
Tim Peters [Wed, 11 Jul 2001 04:08:49 +0000 (04:08 +0000)]
SF patch #440144: Tests and minor bugfix for uu module
decode(): While writing tests for uu.py, Nick Mathewson discovered
that the 'Truncated input file' exception could never get raised,
because its "if not str:" test was actually testing the builtin
function "str", not the local string vrbl "s" as intended.
Barry Warsaw [Tue, 10 Jul 2001 21:50:44 +0000 (21:50 +0000)]
Change the way hex type-ins are displayed. The old way was way too
fragile. Now the leading "0x" on hex numbers are displayed as labels
and the type-in entry fields just accept the hex digits. Be sure to
strip off the "0x" string when displaying hex values too.
Also, de-string-module-ification, and other Python 2.x improvements.
Barry Warsaw [Tue, 10 Jul 2001 21:48:51 +0000 (21:48 +0000)]
__init__(), save_views(): Catch ValueError along with IOError and
EOFError so any failures in unmarshalling are just ignored. Use
print>> instead of sys.stderr.write().
Just van Rossum [Tue, 10 Jul 2001 19:25:40 +0000 (19:25 +0000)]
- fixed some re usage, partly so it'll still work when re uses pre instead
of sre, and partly fixing re -> regex porting oversights
- fixed PyFontify.py so it actually *works* again..