Guido van Rossum
cc778ebd62
Add main program similar to pdb.
1996-10-01 02:55:54 +00:00
Guido van Rossum
24611f80e8
Always open file objects in binary mode.
1996-09-30 22:02:50 +00:00
Guido van Rossum
dfd9cb1e12
Don't die if an ok file method (e.g. fileno) doesn't exist.
1996-09-30 18:50:44 +00:00
Fred Drake
3c602d7d0c
(Tkinter.py): Many revisions for Tk 4.X: Added clipboard support, updated
...
selection interface, handle the -displayof option intelligently in
many places. Added "wm colormapwindows" and "winfo colormapfull"
support. Removed "focus default" and "focus none" method: these are
not in Tk 4.X.
1996-09-27 14:06:54 +00:00
Fred Drake
e9c515adc7
(Canvas.py): Added definition of CanvasItem.cget() as suggested by
...
Nils Fischbeck.
1996-09-26 20:21:26 +00:00
Guido van Rossum
e7b9fde1b8
1. Correct typo in FileWrapper.close() (fix by AMK).
...
2. New trusted built-in modules cmath, errno, operator, parser.
3. Corrected bogus s_apply() -- the new one actually works (reported by AMK).
1996-09-25 18:47:39 +00:00
Guido van Rossum
6244867e56
Revamped test case and updated doc string.
1996-09-17 21:33:15 +00:00
Guido van Rossum
934a4cea85
Show names of locals in disco (Ka-Ping Yee)
1996-09-12 17:39:36 +00:00
Guido van Rossum
1550ff722d
Layout and cleanup by Fred
1996-09-11 19:43:52 +00:00
Guido van Rossum
28d4ba24c9
Another batch...
1996-09-11 19:07:45 +00:00
Guido van Rossum
6e8ec59eb4
Implement lower by calling lower, not lift.
1996-09-11 14:25:41 +00:00
Guido van Rossum
6b7a7e9fe0
Bug fixes in index&icursor suggested by Nils Fischbeck.
1996-09-11 14:23:43 +00:00
Guido van Rossum
151fcfd101
Zapped obsolete opcode LOAD_GLOBALS.
1996-09-10 18:26:36 +00:00
Guido van Rossum
ba885ffaa0
Added linux2 specific code :-(
1996-09-10 17:40:16 +00:00
Guido van Rossum
5f8ea10bc2
Fix bogus len() call
1996-09-10 17:39:56 +00:00
Guido van Rossum
ec577d53a9
Correct sys.path[0] when used stand-alone
1996-09-10 17:39:34 +00:00
Guido van Rossum
974e46cc5e
Fix type in loop stripping '__.' from name
1996-09-10 17:38:20 +00:00
Guido van Rossum
2ea05098eb
close module file after loading
1996-09-10 17:37:44 +00:00
Guido van Rossum
e6ad8913e2
One fix by sjoerd and one suggested by him. Bumped __version__ to 1.5.
...
Fix 1: add a method geturl() to the file-like object returned by urlopen().
Fix 2: treat http error 301 the same as error 302.
1996-09-10 17:02:56 +00:00
Guido van Rossum
688bbfc217
simpler version of the previous fix
1996-09-10 12:39:26 +00:00
Guido van Rossum
8535b29f39
compatibility changes suggested by Jack,
...
for tk_menuBar and tk_bindForTraversal
(i.e. don't call these for Tk >= 4.1)
1996-09-10 12:36:34 +00:00
Guido van Rossum
2c349bbc77
Rewritten by Lars Wizenius to add long options
1996-09-09 15:48:24 +00:00
Guido van Rossum
5c1d1ee8a8
Change to allow keyword args for Group,
...
suggested by Nils Fischbeck, adapted by Fred
1996-09-06 21:09:31 +00:00
Guido van Rossum
42b78e6441
Fixed Entry.select_from() to acually call the "select from" widget
...
command instead of the non-existant "select set". (Fred)
1996-09-06 14:20:23 +00:00
Guido van Rossum
c204c70c1a
Added logging support.
1996-09-05 19:07:11 +00:00
Guido van Rossum
e5e46e0d29
Fixed embarrassing logic bug in read_lines_to_outerboundary().
1996-09-05 19:03:36 +00:00
Guido van Rossum
2caac73aa6
Added Menu.insert*() methods [Fred]
1996-09-05 16:46:31 +00:00
Guido van Rossum
e1a7a3b3b3
Add initial values to variables to avoid crash in __del__
1996-09-05 16:45:49 +00:00
Guido van Rossum
f469d5b05d
Get rid of nobody_uid() and import pwd -- not used here.
1996-09-04 23:42:04 +00:00
Guido van Rossum
5ab007b098
Subtle hack so the eps printed is not dependent on the formatting
...
habits of the C library we happen to use...
1996-08-29 19:00:46 +00:00
Guido van Rossum
a9b60d9411
No double underscores for globals please
1996-08-26 22:34:57 +00:00
Guido van Rossum
a8763e54ff
Another batch of updates...
1996-08-26 18:33:32 +00:00
Guido van Rossum
78c9637075
Bump exposed __version__ to 1.4.
...
Correctly handle a URL containing user:password@host when using a proxy.
1996-08-26 18:09:59 +00:00
Guido van Rossum
0c8cf888eb
Don't die when getuid() or getpid() aren't defined.
1996-08-26 16:40:20 +00:00
Guido van Rossum
3df7b5a546
Don't do truncation to 8+3 format -- this is used on NT file systems!
1996-08-26 16:35:26 +00:00
Guido van Rossum
c75db0b7f4
Added Mime writer module (formerly in Grail)
1996-08-26 16:33:30 +00:00
Guido van Rossum
cfd89355ef
typo (cotinue -> continue)
1996-08-26 16:20:31 +00:00
Guido van Rossum
8e44991b34
Three sets of changes from Grail:
...
date: 1996/08/14 17:27:21; author: fdrake; state: Exp; lines: +11 -9
(formatter.py): Establish a consistent space-handling policy, so that all
spaces are handled by the outermost context in which they might be
considered. (I.e., softspaces at element boundaries migrate
outwards.)
For instance: "<A> <IMG> </A>" becomes " <A><IMG></A> ".
This avoids some of those nasty underlined spaces around images. It
does not affect spaces *between* images within an anchor.
date: 1996/08/01 17:02:09; author: fdrake; state: Exp; lines: +3 -2
(formatter.py): Added required parameter to the NullFormatter class; this
was omitted by accident.
Made AbstractFormatter.add_literal_data() handle preceeding softspace
correctly instead of expecting the caller to do it.
date: 1996/07/23 22:18:56; author: fdrake; state: Exp; lines: +1 -1
(formatter.py): Correct assert_line_data() to update all internal conditions;
This now handles headers with only image content immediately followed
by anything.
1996-08-26 16:19:23 +00:00
Guido van Rossum
f8abb38737
Slightly faster (un)quoting.
1996-08-26 15:56:12 +00:00
Guido van Rossum
f480c674b1
Use correct separator for capwords(s, sep).
1996-08-26 15:55:00 +00:00
Guido van Rossum
9e3f42909a
Emacs font-lock de-bogo-kludgificocity
1996-08-26 15:46:13 +00:00
Guido van Rossum
5c8c91bbc5
Changes for Canvas by Fred
1996-08-22 23:18:09 +00:00
Guido van Rossum
f813f56bcd
imghdr.what(): check for not h'. This lets
...
you do:
imghdr.what(None, '')
And still go down the
1996-08-22 21:20:46 +00:00
Guido van Rossum
c417ef8e57
Added a small test program.
1996-08-21 23:38:59 +00:00
Guido van Rossum
4747887880
New batch from Fred
1996-08-21 14:32:37 +00:00
Guido van Rossum
d7abed3b14
Get rid of access statement
1996-08-20 20:40:07 +00:00
Guido van Rossum
3e065ada2c
Attempt at Windows-NT compatibility.
1996-08-20 20:38:59 +00:00
Guido van Rossum
34f173110f
Add optional separator character to capwords(), for completeness.
1996-08-20 20:25:41 +00:00
Guido van Rossum
63f0cf0840
delattr() can raise AttributeError, not KeyError.
...
Use keyword arg to set verbose flag in test func.
1996-08-20 20:25:08 +00:00
Guido van Rossum
422869a75c
Correct description of splitext().
1996-08-20 20:24:17 +00:00