cpython/Lib
Barry Warsaw b67a25c079 Store the current regex syntax along with the regular expression
string as the key to the cache.  This means that changing the syntax
will return the correct compiled pattern.

clear_cache(): New function.
1997-02-18 18:52:55 +00:00
..
aix3 New AIX specific subdirs 1996-08-08 18:24:58 +00:00
aix4 New AIX specific subdirs 1996-08-08 18:24:58 +00:00
dos-8x3 The usual; added several test modules, too. 1996-12-10 16:02:14 +00:00
dos_8x3 The usual; added several test modules, too. 1996-12-10 16:02:14 +00:00
freebsd2 FreeBSD platform specific modules 1996-07-30 21:05:10 +00:00
generic Use fcntl.h instead of sys/fcntl.h; use h2py.py from Tools/scripts 1996-08-08 18:25:40 +00:00
irix5 Added QUADRO. 1996-12-13 00:19:15 +00:00
irix6 Irix 6 specific files -- thanks Sjoerd! 1997-01-15 19:19:19 +00:00
lib-old Changes to always call list.append with a single argument. 1996-10-08 14:06:35 +00:00
lib-stdwin Fixed conversion between seconds and milliseconds. 1996-12-12 23:42:20 +00:00
lib-tk Require _tkinter -- don't attempt to import tkinter when _tkinter does 1997-02-15 18:33:24 +00:00
linux1 more recent linux header files 1996-01-26 17:43:46 +00:00
linux2 New versions generated on a Linux 2.x system by AMK 1996-07-22 23:46:00 +00:00
next3 regen for Next 1996-08-16 18:14:41 +00:00
plat-aix3 New AIX specific subdirs 1996-08-08 18:24:58 +00:00
plat-aix4 New AIX specific subdirs 1996-08-08 18:24:58 +00:00
plat-freebsd2 FreeBSD platform specific modules 1996-07-30 21:05:10 +00:00
plat-generic Use fcntl.h instead of sys/fcntl.h; use h2py.py from Tools/scripts 1996-08-08 18:25:40 +00:00
plat-irix5 Added QUADRO. 1996-12-13 00:19:15 +00:00
plat-irix6 Irix 6 specific files -- thanks Sjoerd! 1997-01-15 19:19:19 +00:00
plat-linux1 more recent linux header files 1996-01-26 17:43:46 +00:00
plat-linux2 New versions generated on a Linux 2.x system by AMK 1996-07-22 23:46:00 +00:00
plat-next3 regen for Next 1996-08-16 18:14:41 +00:00
plat-sunos4 Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
plat-sunos5 added TERMIOS.py 1995-03-31 11:34:23 +00:00
plat-win Get rid of debug print statements 1996-08-20 20:00:51 +00:00
stdwin Fixed conversion between seconds and milliseconds. 1996-12-12 23:42:20 +00:00
sunos4 Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
sunos5 added TERMIOS.py 1995-03-31 11:34:23 +00:00
test Added test for ratecv (from Sjoerd, reformatted). 1997-02-14 15:58:00 +00:00
tkinter Require _tkinter -- don't attempt to import tkinter when _tkinter does 1997-02-15 18:33:24 +00:00
win Get rid of debug print statements 1996-08-20 20:00:51 +00:00
AST.py New batch from Fred 1996-08-21 14:32:37 +00:00
BaseHTTPServer.py fix several bogus var refs in error reporting 1996-02-12 23:58:38 +00:00
Bastion.py Removed RCS crud from official Python release version. 1996-10-08 14:14:49 +00:00
CGIHTTPServer.py real test for executable script 1996-01-25 18:23:50 +00:00
Complex.py new files 1995-01-12 12:29:47 +00:00
Makefile Added Makefile with clean and clobber targets 1994-01-04 23:24:22 +00:00
MimeWriter.py Removed RCS crud from official Python release version. 1996-10-08 14:14:49 +00:00
Para.py Changes to always call list.append with a single argument. 1996-10-08 14:06:35 +00:00
Queue.py Some minute changes. 1993-12-29 15:33:08 +00:00
SimpleHTTPServer.py Get rid of nobody_uid() and import pwd -- not used here. 1996-09-04 23:42:04 +00:00
SocketServer.py Make self.rfile unbuffered (self.wfile already is). This should fix 1996-10-23 14:30:23 +00:00
StringIO.py Sjoerd's StringIO speed-up 1996-06-19 14:54:19 +00:00
UserDict.py * test_*.py: new lambda syntax (also affects tests for filter, map, 1993-11-30 13:43:54 +00:00
UserList.py added * and + operators 1996-05-28 22:56:16 +00:00
addpack.py urlopen: add basejoin() function. 1994-03-07 11:45:36 +00:00
aifc.py Use newer struct, which handles unsigned long right 1997-01-11 19:21:09 +00:00
anydbm.py inherit error from _mod.error 1996-01-25 18:26:57 +00:00
audiodev.py Added support for 4-channel on SGI. 1996-12-13 00:19:56 +00:00
base64.py Use binascii module (resulting in a 60-fold speedup:-) 1995-10-04 16:39:20 +00:00
bdb.py Allow code objects to be passed to run() and eval(). 1996-10-15 14:40:21 +00:00
binhex.py Merged in Jack's fixes. This brings some lines beyond 79 chars again; 1997-02-11 16:39:31 +00:00
bisect.py Added a _v21 def to FL.py and added two new input field types 1992-09-02 20:43:20 +00:00
builtin.py added builtin b/w compat module. 1993-10-22 14:24:22 +00:00
calendar.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
cgi.py Put back #! /usr/local/bin/python. For cgi scripts, /usr/bin/env is 1997-02-18 16:55:33 +00:00
cmd.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
cmp.py fix buffer size 1994-10-09 22:34:40 +00:00
cmpcache.py fix buffer size 1994-10-09 22:34:40 +00:00
codehack.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
colorsys.py New module 'colorsys' implements conversions between different color systems. 1992-09-07 09:41:48 +00:00
commands.py Added clarifying comment 1995-01-04 19:20:00 +00:00
compileall.py Don't trip over empty string in sys.path. 1996-07-31 21:18:42 +00:00
copy.py Memoize _deepcopy_tuple() -- maybe this helps Tommy's problem. 1996-06-17 17:10:11 +00:00
dbhash.py backward compatible interface for bsddb 1996-01-25 18:33:39 +00:00
dircache.py posix -> os 1992-03-31 18:55:40 +00:00
dircmp.py * Got entirely rid of path.py. 1992-12-14 12:57:56 +00:00
dis.py Of course, when the type of the argument to dis() is unsupported, it 1997-01-17 20:08:18 +00:00
dospath.py redefined normcase() 1995-08-10 19:27:42 +00:00
dumbdbm.py export error == IOError 1996-05-28 22:58:40 +00:00
dump.py New == syntax 1992-01-01 19:35:13 +00:00
emacs.py Added emacs.py (for misc/py-connect.el). 1992-08-09 13:54:50 +00:00
find.py changes for the Mac 1995-01-27 02:41:45 +00:00
fmt.py Change to always call list.append with a single argument. 1996-10-08 14:06:17 +00:00
fnmatch.py changes for the Mac 1995-01-27 02:41:45 +00:00
formatter.py (formatter.py): Add a flush() method to the writer interface. This really 1996-12-31 20:50:51 +00:00
fpformat.py Initial revision 1992-03-15 21:37:43 +00:00
ftplib.py (ftplib.py): Added parse150() function and FTP.ntransfercmd(). This allows 1997-01-10 18:26:09 +00:00
getopt.py Layout and cleanup by Fred 1996-09-11 19:43:52 +00:00
glob.py Never return a non-existing pathname. 1992-01-12 23:32:11 +00:00
gopherlib.py Changed makefile() args from r/w to rb/wb, for non-unix compatability. 1996-02-14 16:06:24 +00:00
grep.py Use *args syntax instead of +args 1992-04-06 14:03:53 +00:00
htmlentitydefs.py added &quot def 1996-05-28 23:18:55 +00:00
htmllib.py improved test() 1996-02-13 00:02:10 +00:00
httplib.py In the HTTP reply header, be more accepting in the HTTP version. 1996-12-10 15:58:22 +00:00
ihooks.py Set the __file__ attribute of the imported module in both versions of 1996-10-07 23:41:54 +00:00
imghdr.py imghdr.what(): check for not h'. This lets 1996-08-22 21:20:46 +00:00
linecache.py don't print Cannot open/stat messages 1995-08-10 19:32:22 +00:00
lockfile.py Module to lock open files using fcntl() 1994-05-03 14:46:18 +00:00
macpath.py Added splitext() 1996-07-23 02:28:32 +00:00
macstat.py * Lib/linecache.py: don't crash on empty filename 1994-08-23 13:32:20 +00:00
macurl2path.py Added warning not to import directly. 1996-10-15 14:40:41 +00:00
mailbox.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
mailcap.py typo (cotinue -> continue) 1996-08-26 16:20:31 +00:00
mhlib.py When removing a messge from all sequences, don't remove from 'cur', 1996-11-12 04:15:47 +00:00
mimetools.py Added getparamnames() to Message class -- return a list of all 1996-10-04 20:14:02 +00:00
mimify.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
multifile.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
mutex.py Change to always call list.append with a single argument. 1996-10-08 14:06:17 +00:00
newdir.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
newimp.py Official version 1.26 directly from Ken 1995-07-12 15:34:34 +00:00
ni.py Fix type in loop stripping '__.' from name 1996-09-10 17:38:20 +00:00
ni1.py Fix type in loop stripping '__.' from name 1996-09-10 17:38:20 +00:00
nntplib.py Changed makefile() args from r/w to rb/wb, for non-unix compatability. 1996-02-14 16:06:24 +00:00
ntpath.py Fix splitext() to go up to the last dot, not the first. 1997-01-22 00:17:26 +00:00
nturl2path.py url2path for NT 1996-06-26 19:47:56 +00:00
os.py Added hook to os.environ to call putenv(), if it exists. 1996-07-24 00:55:17 +00:00
ospath.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
packmail.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
pdb.doc Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
pdb.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
persist.py * ftplib.py: added abort() command (sends oob data). 1993-05-24 14:16:22 +00:00
pickle.py Compromise on test in find_class(): a user-defined function is okay, 1996-10-07 14:34:20 +00:00
pipes.py * Mass change: get rid of all init() methods, in favor of __init__() 1993-12-17 15:25:27 +00:00
poly.py fix bug in poly.minus 1994-10-20 22:02:03 +00:00
popen2.py pass the command to sh -c 1995-08-07 20:17:23 +00:00
posixfile.py Added linux2 specific code :-( 1996-09-10 17:40:16 +00:00
posixpath.py Correct description of splitext(). 1996-08-20 20:24:17 +00:00
profile.doc Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
profile.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
pstats.py more robust coding, adapted for mac 1995-09-30 16:48:54 +00:00
pty.py New tty/pty modules by Steen; new urlparser. 1994-09-12 10:36:35 +00:00
py_compile.py Cast mtime gotten from stat() to long int -- else it won't work 1996-10-24 13:42:30 +00:00
pyclbr.py Don't add names that start with _ 1996-10-10 16:00:28 +00:00
quopri.py improved test/main program 1995-09-18 21:49:24 +00:00
rand.py Added warning comment 1991-08-16 13:28:11 +00:00
random.py Changes to use default argument values where possible 1994-05-06 14:28:19 +00:00
regex_syntax.py Initial revision 1991-12-30 16:03:05 +00:00
regexp.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
regsub.py Store the current regex syntax along with the regular expression 1997-02-18 18:52:55 +00:00
repr.py use getattr() instead of eval(), fix string representations 1995-01-12 12:29:17 +00:00
rexec.py Make sure ok_builtin_modules, ok_dynamic_modules and 1996-12-12 21:31:52 +00:00
rfc822.py Added support for RFC 850 style dates, as used by some HTTP servers 1996-12-27 15:42:35 +00:00
robotparser.py Skip Montanaro's robots.txt parser. 1997-01-30 03:18:23 +00:00
sched.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
sgmllib.py (sgmllib.py): Partial acceptance of patch from David Leonard 1996-12-16 21:56:27 +00:00
shelve.py Fix bogus len() call 1996-09-10 17:39:56 +00:00
shutil.py posix -> os 1992-03-31 18:55:40 +00:00
site.py site customization hook... 1996-08-17 19:56:26 +00:00
sndhdr.py sndhdr.py: restored lost file; audiodev.py: import platform specific 1994-01-14 16:46:14 +00:00
stat.py * Lib/linecache.py: don't crash on empty filename 1994-08-23 13:32:20 +00:00
statcache.py Use global statement instead of importing ourselves to get to global 1995-12-07 10:16:45 +00:00
string.py Use correct separator for capwords(s, sep). 1996-08-26 15:55:00 +00:00
stringold.py Use correct separator for capwords(s, sep). 1996-08-26 15:55:00 +00:00
sunau.py Get rid of access statement 1996-08-20 20:40:07 +00:00
sunaudio.py Remove reference to obsolete module 'audio' 1992-06-03 16:47:49 +00:00
symbol.py New batch from Fred 1996-08-21 14:32:37 +00:00
tb.py noted obsolescence; exec() -> exec 1995-08-10 19:43:04 +00:00
tempfile.py Attempt at Windows-NT compatibility. 1996-08-20 20:38:59 +00:00
toaiff.py * Mass change: get rid of all init() methods, in favor of __init__() 1993-12-17 15:25:27 +00:00
token.py New batch from Fred 1996-08-21 14:32:37 +00:00
tokenize.py * test_select.py: (some) tests for built-in select module 1993-11-11 10:31:23 +00:00
traceback.py Changes to always call list.append with a single argument. 1996-10-08 14:06:35 +00:00
tty.py New tty/pty modules by Steen; new urlparser. 1994-09-12 10:36:35 +00:00
types.py Ellipses -> Ellipsis rename (the dictionary really says that it should 1996-10-11 16:25:41 +00:00
tzparse.py Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
urllib.py Put a new, more useful, set of references in the leading comment. 1997-02-10 17:51:56 +00:00
urlopen.py urlopen: add basejoin() function. 1994-03-07 11:45:36 +00:00
urlparse.py Added characteristics of shttp, https, and snews. 1997-01-02 18:18:27 +00:00
util.py Clarify comment. 1991-04-21 19:34:48 +00:00
uu.py Fixed two minor errors. 1995-10-04 16:36:53 +00:00
wave.py Get rid of access statement 1996-08-20 20:40:07 +00:00
whatsound.py * calendar.py: all libC functionality now moved to built-in time module 1993-06-23 09:30:50 +00:00
whichdb.py Use new struct which supports standardized sizes 1997-01-11 19:22:11 +00:00
whrandom.py Properly parenthesize a long Boolean combination. Formerly, you could 1997-01-02 18:13:35 +00:00
xdrlib.py Raise ConversionError instances the new fangled way, e.g.: 1997-01-14 17:11:02 +00:00
zmod.py New == syntax 1992-01-01 19:35:13 +00:00