Commit Graph

55 Commits

Author SHA1 Message Date
Fred Drake
79e75e1916 Use string.ascii_letters instead of string.letters (SF bug #226706). 2001-07-20 19:05:50 +00:00
Fred Drake
a94414a287 Remove all remaining uses of the FCNTL module from the standard library. 2001-05-10 15:33:31 +00:00
Sjoerd Mullender
62f1a23ade Fixed syntax error. 2001-02-09 16:34:24 +00:00
Eric S. Raymond
13b3ba4df3 splitfields -> split 2001-02-09 16:25:20 +00:00
Eric S. Raymond
fc170b1fd5 String method conversion. 2001-02-09 11:51:27 +00:00
Fred Drake
132dce2246 Update the code to better reflect recommended style:
Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.
2000-12-12 23:11:42 +00:00
Thomas Wouters
7e47402264 Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
comments, docstrings or error messages. I fixed two minor things in
test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't").

There is a minor style issue involved: Guido seems to have preferred English
grammar (behaviour, honour) in a couple places. This patch changes that to
American, which is the more prominent style in the source. I prefer English
myself, so if English is preferred, I'd be happy to supply a patch myself ;)
2000-07-16 12:04:32 +00:00
Guido van Rossum
0b095bc092 Deleted the stdwin-based test() function. 2000-05-08 17:29:50 +00:00
Guido van Rossum
d28de23bda Fixed a multi-arg append() call, discovered by Mark Favas.
Also removed some unnecessary backslases (inside parens).
2000-02-27 15:34:29 +00:00
Jeremy Hylton
ae3d79208f no real change -- testing syncmail 2000-02-15 21:57:14 +00:00
Fred Drake
d89ffebd85 These modules are now declared obsolete. 2000-02-03 15:26:16 +00:00
Guido van Rossum
11a8d0b684 Dang. Even though this is obsolete code, somebody found a bug, and I
fix it.  Oh well.
1999-02-22 15:19:47 +00:00
Guido van Rossum
e0fbe1c26d Declaring zmod and poly obsolete. They have problems. 1998-11-02 15:38:51 +00:00
Guido van Rossum
068ad97330 Untabified -- to satisfy the tab nanny. 1998-06-09 19:19:40 +00:00
Guido van Rossum
9c93a69335 Put quotes around the filename, so spaces in filenames work.
(Jack)
1998-04-28 16:03:03 +00:00
Fred Drake
153165ca3d Restore ni as an obsolete module. 1998-04-09 04:04:18 +00:00
Guido van Rossum
9694fcab53 Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
Guido van Rossum
8566e474b4 Added pgrep() function, which is like grep/egrep/emgrep but uses Perl
syntax, by virtue of the new re module.
1997-10-22 20:44:58 +00:00
Guido van Rossum
6af6d3511e Turns out whatsound.py and sndhdr.py were identical modules.
Since there's also an imghdr.py file, I propose to make sndhdr.py the
official one.  For compatibility, whatsound.py imports * from
sndhdr.py.
1997-10-04 20:29:17 +00:00
Guido van Rossum
f15d15964b Use sys.exc_info() where needed. 1997-09-29 23:22:12 +00:00
Guido van Rossum
f357d3ef52 This module is now completely obsolete.
Noted this in the XXX comments.
Also, changed all three functions to use the attributes if they exist.
1997-07-18 16:48:30 +00:00
Guido van Rossum
2715bb20db Changes to always call list.append with a single argument. 1996-10-08 14:06:35 +00:00
Guido van Rossum
b7f48e39c3 Change to always call list.append with a single argument. 1996-10-08 14:06:17 +00:00
Guido van Rossum
a62b1003a6 noted obsolescence; exec() -> exec 1995-08-10 19:43:04 +00:00
Guido van Rossum
f68ec3924e added note about obsolescence 1995-08-10 18:00:03 +00:00
Guido van Rossum
7c750e1e09 added html parser and supporting cast 1995-02-27 13:16:55 +00:00
Guido van Rossum
c7acf2a106 handle class exceptions 1995-02-27 13:15:45 +00:00
Guido van Rossum
7e4b2def34 changes for the Mac 1995-01-27 02:41:45 +00:00
Guido van Rossum
b6775db241 Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
Guido van Rossum
19806f4ce2 Module to lock open files using fcntl() 1994-05-03 14:46:18 +00:00
Guido van Rossum
d1df83ba6c urlopen: add basejoin() function.
addpack: new module to add packages to sys.path.
1994-03-07 11:45:36 +00:00
Guido van Rossum
5cfa5dfe97 * calendar.py: all libC functionality now moved to built-in time module
* imghdr.py: added jpeg recognition
* torgb.py: added jpeg conversion
* tzparse.py: use functions from time instead of calendar
* whatsound.py: add /ufs/guido/biin/sgi to $PATH when calling 'whatsound'
1993-06-23 09:30:50 +00:00
Guido van Rossum
17ed1ae163 * toaiff.py: import whatsound instead of sndhdr
* sndhdr.py: renamed to whatsound.py; use new aifc module for AIFF/AIFC
* ftplib.py: added close() (closes without sending QUIT command)
* aifc.py: documented close()
1993-06-01 13:21:04 +00:00
Guido van Rossum
fff3a1ee05 Added help() fn; use os.sep 1992-04-06 14:04:58 +00:00
Guido van Rossum
6a1f089420 Use *args syntax instead of +args 1992-04-06 14:03:53 +00:00
Guido van Rossum
7084ec8167 getattr() is now built-in; no longer need a class to simulate varargs. 1992-04-02 10:37:02 +00:00
Guido van Rossum
d9596e3a79 mac -> os 1992-03-31 19:05:11 +00:00
Guido van Rossum
cb7ce349e2 Add a function to return just the line number of a code object. 1992-03-27 15:13:08 +00:00
Guido van Rossum
babe2bf8f4 Initial revision 1992-01-22 22:21:31 +00:00
Guido van Rossum
e9cde31c47 Now uses varargs syntax to grep more than one file. 1992-01-12 23:33:52 +00:00
Guido van Rossum
9542c58d45 Use module os.
Split off file cache to module 'linecache'.
1992-01-12 23:27:56 +00:00
Guido van Rossum
bdfcfccbe5 New == syntax 1992-01-01 19:35:13 +00:00
Guido van Rossum
5fca8a1b0d Adapted to new "regex" module.
Introduced egrep() and emgrep() variants.
Use '==' for equality test.
.,
1991-12-31 00:00:35 +00:00
Guido van Rossum
decc4b99e1 Use ImportError 1991-12-26 13:06:22 +00:00
Guido van Rossum
946749f6fe Use AttributeError 1991-12-26 13:04:02 +00:00
Guido van Rossum
eee9498b71 Initial revision 1991-11-12 15:38:08 +00:00
Guido van Rossum
668317db89 Added warning comment 1991-08-16 13:28:11 +00:00
Guido van Rossum
fbe0a8e090 macpath.cat --> join 1991-08-16 13:27:45 +00:00
Guido van Rossum
dff84043e4 save match function instead of regexp object 1991-08-16 13:24:42 +00:00
Guido van Rossum
ab2885ee96 Clarify comment. 1991-04-21 19:34:48 +00:00