Commit Graph

39 Commits

Author SHA1 Message Date
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
Guido van Rossum d9d2c8246c This is no longer needed, since all these functions are now built-in
(with different interfaces).
Change the module definition to call the built-in functions,
for compatibility.
1991-04-07 13:43:34 +00:00
Guido van Rossum fa54064967 Support packing whole trees. 1991-04-07 13:40:56 +00:00
Guido van Rossum 17d82ce78a Added readfile() and readopenfile() functions. 1991-02-19 13:04:40 +00:00
Guido van Rossum 217a5fa3c3 Initial revision 1990-12-26 15:40:07 +00:00
Guido van Rossum c636014c43 Initial revision 1990-10-13 19:23:40 +00:00