Guido van Rossum
53117ae82a
typo in error message (fname vs. file).
...
(Jack)
1998-04-28 16:01:13 +00:00
Guido van Rossum
b86ba124ea
Support byte-swapped dbhash (bsddb) files. Found by Ben Sayer.
1998-04-28 15:41:03 +00:00
Guido van Rossum
fc1f64d90d
Oops, I had 'n' and 'c' mixed up in my mind. Get rid of the comment
...
that wonders what the difference is and explain them properly.
1998-04-28 15:23:09 +00:00
Guido van Rossum
a5c0998242
Inspired by Ben Sayer, rewritten the code and some of the comments to
...
be more intelligent when the database already exists (use the module
for the existing file, according to whichdb). Noted in the doc
strings that there doesn't seem to be a different between 'c' and 'n'.
1998-04-28 15:19:34 +00:00
Guido van Rossum
e86271af72
When setting the event structure fields, don't die when the widget
...
name is not registered; simply use the string. This happens for
tear-off widgets (e.g. if you've registered enter/leave events for the
menu).
1998-04-27 19:32:59 +00:00
Guido van Rossum
0eae8fba81
Feeble attempt at making urlopen more robust -- don't call splituser()
...
when splithost() returned no useable host, to avoid calling
splituser() on None.
1998-04-27 15:19:17 +00:00
Fred Drake
9291d271fb
parse150(): Simplify RE used to parse the message a little, taking advantage
...
of using re instead of regex.
1998-04-27 14:39:44 +00:00
Guido van Rossum
446898ff4a
Use hex() when outputting the various checksums so the test output is the
...
same on 32 and 64 bit machines.
1998-04-24 18:31:28 +00:00
Guido van Rossum
bb189dbcb0
Small corrections to comments that were cloned from aifc; moreover
...
the description of setparams() was wrong.
wave.py: Include the tag of an unknown format in the exception.
1998-04-23 21:40:02 +00:00
Guido van Rossum
1740b8d2f7
New test sample -- "Nobody expects the Spanish Inquisition!"
1998-04-23 21:37:22 +00:00
Guido van Rossum
e26132cf5e
Move unified findfile() into test_support.py
1998-04-23 20:13:30 +00:00
Guido van Rossum
5fd90684a9
Run the self-test (test.test_MimeWriter) when invoked as a script.
1998-04-23 13:34:57 +00:00
Guido van Rossum
2ad816f47e
Add test for MimeWriter module
1998-04-23 13:33:56 +00:00
Guido van Rossum
e87ed5f6d4
Add writelines() method to Compare class.
1998-04-23 13:33:21 +00:00
Guido van Rossum
9a34523e19
As Tim Peters points out, ``from string import *'' should not set re to None.
...
Also rename safe_env to _safe_env.
1998-04-20 14:01:00 +00:00
Fred Drake
de2f708299
Fix regexp for attrfind; bug reported by Lars Marius Garshol
...
<larsga@ifi.uio.no>.
1998-04-16 21:04:26 +00:00
Fred Drake
ac36c6403f
Open wave files in binary mode.
...
Accept 'rb' and 'wb' as well as 'r' and 'w' as the mode parameter to open().
1998-04-16 16:44:33 +00:00
Guido van Rossum
64d036c8fe
Add connect_ex to list of methods.
1998-04-14 01:30:45 +00:00
Guido van Rossum
fb9b7fd5ee
Be nicer to systems that have neither termios nor msvcrt.
1998-04-13 20:22:21 +00:00
Guido van Rossum
b19e2a383c
Whoops! Add a missing 'instantiated = 1' to load_inst(); otherwise it
...
would still try to call the class...
1998-04-13 18:08:45 +00:00
Guido van Rossum
be14e69742
New revision -- sometimes it's AUTH-LOGIN, sometimes AUTH=LOGIN!
1998-04-11 03:11:51 +00:00
Guido van Rossum
5c7e8cd267
Avoid using the obsolete rand module; and improve the randomness
...
of the boundary chosen by choose_boudary() by using milliseconds
of the timestamp.
1998-04-11 03:06:02 +00:00
Guido van Rossum
38d8f4e1c2
New version doesn't require REV1 capability.
1998-04-11 01:22:34 +00:00
Guido van Rossum
c74521acc4
Oops -- remove some debug print statements!
1998-04-11 01:18:35 +00:00
Guido van Rossum
c296651e10
Add image_types() and image_names() as methods to Misc class.
1998-04-10 19:16:10 +00:00
Guido van Rossum
ce73acf5e6
Tim's version 4, with my mods
1998-04-10 19:14:59 +00:00
Guido van Rossum
4cee3c49c2
Another easter present.
1998-04-10 16:14:34 +00:00
Guido van Rossum
7f5013a9a9
New Java-style threading module. The doc strings are in a separate module.
1998-04-09 22:01:42 +00:00
Guido van Rossum
bb08066053
The usual
1998-04-09 21:47:39 +00:00
Guido van Rossum
b5903ac9fb
Another new utility: getpass() prompts for a password, with echo off.
...
Also contains getuser(), which returns the username (not prompting though).
These work on Unix and Windows!
1998-04-09 20:37:16 +00:00
Guido van Rossum
29e5f5d81f
When getcwd() doesn't exist or raises an exception, don't fail but
...
fall back to using os.curdir instead; if it is fine, don't use
os.curdir at all.
1998-04-09 14:27:57 +00:00
Guido van Rossum
c09e6b1c0a
Clarify that put *blocks* when the queue is full. Add some blank
...
lines to doc strings.
1998-04-09 14:25:32 +00:00
Guido van Rossum
eeec0af307
Piers' new version (but I unfolded a few doc strings).
1998-04-09 14:20:31 +00:00
Guido van Rossum
c2c07fa10c
Piers Lauder's IMAP module.
1998-04-09 13:51:46 +00:00
Guido van Rossum
03774bb5ea
Version with docstrings and some other changes, by Piers Lauder.
...
(Adapted by Just, I believe.)
1998-04-09 13:50:55 +00:00
Fred Drake
3217be9395
Relocating file to Lib/lib-old.
1998-04-09 04:05:43 +00:00
Fred Drake
153165ca3d
Restore ni as an obsolete module.
1998-04-09 04:04:18 +00:00
Guido van Rossum
484772d472
Dave Ascher's pop client code.
1998-04-06 18:27:27 +00:00
Guido van Rossum
8053d89f7b
Add usage message when no arguments.
1998-04-06 14:45:26 +00:00
Guido van Rossum
f4b44fa6ef
Tim's latest version (supports old and new tokenize modules)
1998-04-06 14:41:20 +00:00
Guido van Rossum
986abac1ba
Give in to tabnanny
1998-04-06 14:29:28 +00:00
Guido van Rossum
1ae297ae8b
Remove some long obsolete files...
1998-04-06 14:16:12 +00:00
Guido van Rossum
f62cf61548
Give in to tabnanny.
1998-04-06 14:14:25 +00:00
Guido van Rossum
5810297052
Correction to vonmisesvariate() by Magnus Kessler: it should take and
...
return something between 0 and 2*pi. Also added a reference to the
literature.
1998-04-06 14:12:13 +00:00
Guido van Rossum
56c04b8376
Restructured the event_* calls slightly -- there's really no need to
...
use the default root, and instead of string.split, use splitlist.
1998-04-06 03:10:03 +00:00
Fred Drake
bdc61b1c7b
Relocating file to Lib/lib-old.
1998-04-04 01:05:17 +00:00
Fred Drake
a351f89a94
Relocating file to Lib/lib-old.
1998-04-04 00:54:56 +00:00
Guido van Rossum
8430c583da
AMK's latest
1998-04-03 21:47:12 +00:00
Guido van Rossum
a50547e0c0
Track changes in tokenize.py
1998-04-03 19:56:40 +00:00
Guido van Rossum
18586f4c48
Add optional argument to help().
1998-04-03 17:03:13 +00:00