0
0
mirror of https://github.com/python/cpython.git synced 2024-11-30 18:51:15 +01:00
cpython/Lib
Guido van Rossum 65e5399081 Don't write "if self.dict: self.dict.close()"; just write
"self.dict.close()" and ignore the exception.  The "if self.dict:"
part would be calculated through len(self.dict.keys()), which is very
expensive for a large dictionary...
1998-03-26 22:12:22 +00:00
..
dos-8x3 New module added. 1997-12-31 00:11:03 +00:00
lib-old Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
lib-stdwin
lib-tk Get rid of the Emacs cruft now that Python-mode guess the desired settings! 1998-03-26 19:30:30 +00:00
plat-aix3
plat-aix4
plat-freebsd2
plat-generic
plat-irix5 Mass check-in after untabifying all files that need it. 1998-03-26 20:23:01 +00:00
plat-irix6 Mass check-in after untabifying all files that need it. 1998-03-26 20:23:01 +00:00
plat-linux1
plat-linux2
plat-netbsd1 More generated files for netbsd 1.x, by Anders Andersen. 1997-12-03 18:44:57 +00:00
plat-next3
plat-sunos4
plat-sunos5 Added stropts.h to the list of files automatically regenerated. 1997-12-02 14:37:20 +00:00
plat-win Reindented with tabs only (seems fair to the Windows crowd). 1998-03-26 20:22:30 +00:00
test Mass check-in after untabifying all files that need it. 1998-03-26 19:42:58 +00:00
addpack.py
aifc.py
anydbm.py
audiodev.py
base64.py
BaseHTTPServer.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
Bastion.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
bdb.py
binhex.py A few lines were indented using spaces instead of tabs -- fix them. 1998-03-26 20:56:10 +00:00
bisect.py A few lines were indented using spaces instead of tabs -- fix them. 1998-03-26 20:56:10 +00:00
builtin.py
calendar.py
cgi.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
CGIHTTPServer.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
cmd.py
cmp.py
cmpcache.py
code.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
codehack.py
colorsys.py
commands.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
compileall.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
ConfigParser.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
copy_reg.py
copy.py A few lines were indented using spaces instead of tabs -- fix them. 1998-03-26 20:56:10 +00:00
dbhash.py
dircache.py
dircmp.py
dis.py Added docstrings (contributed by Martin von Loewis). 1997-11-18 15:47:55 +00:00
dospath.py Faster implementation of normcase (using string.lower( 1998-02-19 21:08:36 +00:00
dumbdbm.py
dump.py
exceptions.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
fileinput.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
find.py
fmt.py Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
fnmatch.py Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
formatter.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
fpformat.py re -> regex conversions by Sjoerd. 1997-10-24 14:46:16 +00:00
ftplib.py A few lines were indented using spaces instead of tabs -- fix them. 1998-03-26 20:56:10 +00:00
getopt.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
glob.py Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
gopherlib.py A few lines were indented using spaces instead of tabs -- fix them. 1998-03-26 20:56:10 +00:00
grep.py Added pgrep() function, which is like grep/egrep/emgrep but uses Perl 1997-10-22 20:44:58 +00:00
gzip.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
htmlentitydefs.py
htmllib.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
httplib.py Patch by Tim O'Malley for servers that send a response looking just like 1998-01-19 22:25:24 +00:00
ihooks.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
imghdr.py Allow open file as parameter (must be seekable) (Jack) 1997-10-08 15:22:32 +00:00
keyword.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
knee.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
linecache.py
locale.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
lockfile.py
macpath.py Instead of 'import mac', use 'import os' -- this way, the path syntax 1998-03-03 21:49:01 +00:00
macstat.py
macurl2path.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
mailbox.py A few lines were indented using spaces instead of tabs -- fix them. 1998-03-26 20:56:10 +00:00
mailcap.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
Makefile Remove .pyo files like .pyc files. 1997-10-20 23:16:58 +00:00
mhlib.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
mimetools.py Support uue and x-uue as short names for uuencode. 1997-12-10 18:54:36 +00:00
mimetypes.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
MimeWriter.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
mimify.py Sjoerd writes: When a multipart message is incomplete, mimify crashes. 1998-02-27 14:40:38 +00:00
multifile.py A few lines were indented using spaces instead of tabs -- fix them. 1998-03-26 20:56:10 +00:00
mutex.py
newdir.py
newimp.py
nntplib.py A few lines were indented using spaces instead of tabs -- fix them. 1998-03-26 20:56:10 +00:00
ntpath.py (1) Change normpath() to *not* also call normcase(). 1998-02-18 13:48:31 +00:00
nturl2path.py
os.py Reindented according to new standard, without tabs. 1997-12-05 21:24:30 +00:00
packmail.py
Para.py
pdb.doc
pdb.py A working version of the 'args' command (it prints the current values 1998-02-25 20:50:32 +00:00
persist.py
pickle.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
pipes.py Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
poly.py
popen2.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
posixfile.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
posixpath.py Added doc strings and reindented according to new standard, without tabs. 1997-12-05 19:04:51 +00:00
pprint.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
profile.doc
profile.py A few lines were indented using spaces instead of tabs -- fix them. 1998-03-26 20:56:10 +00:00
pstats.py Give in to Timmy's Tedious Tab Theorem. 1998-03-23 15:31:22 +00:00
pty.py
py_compile.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
pyclbr.py re -> regex conversions by Sjoerd. 1997-10-24 14:46:16 +00:00
Queue.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
quopri.py A few lines were indented using spaces instead of tabs -- fix them. 1998-03-26 20:56:10 +00:00
rand.py
random.py Fixed a bug in the gauss() function. The bug was reported by Mike 1998-02-19 21:17:42 +00:00
re.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
reconvert.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
regex_syntax.py Added "new" symbol defns for RE_ANSI_HEX and RE_NO_GNU_EXTENSIONS -- 1997-10-22 16:28:53 +00:00
regsub.py
repr.py
rexec.py A few lines were indented using tabs instead of spaces -- fix them. 1998-03-26 22:10:50 +00:00
rfc822.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
rlcompleter.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
robotparser.py
sched.py
sgmllib.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
shelve.py Don't write "if self.dict: self.dict.close()"; just write 1998-03-26 22:12:22 +00:00
shutil.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
SimpleHTTPServer.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
site.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
smtplib.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
sndhdr.py
SocketServer.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
stat.py
statcache.py
string.py A few lines were indented using spaces instead of tabs -- fix them. 1998-03-26 20:56:10 +00:00
StringIO.py
stringold.py A few lines were indented using spaces instead of tabs -- fix them. 1998-03-26 20:56:10 +00:00
sunau.py
sunaudio.py
symbol.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
tb.py
telnetlib.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
tempfile.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
toaiff.py
token.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
tokenize.py New, fixed version with proper r"..." and R"..." support from Ka-Ping. 1997-10-27 21:17:24 +00:00
traceback.py Add obvious needed else clause to format_exception(). 1998-03-18 17:48:06 +00:00
tty.py
types.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
tzparse.py Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
urllib.py A few lines were indented using spaces instead of tabs -- fix them. 1998-03-26 21:01:39 +00:00
urlopen.py
urlparse.py Add Gopher to list of protocols that support query strings. 1998-01-19 22:27:21 +00:00
user.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
UserDict.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
UserList.py
util.py
uu.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
wave.py
whatsound.py Turns out whatsound.py and sndhdr.py were identical modules. 1997-10-04 20:29:17 +00:00
whichdb.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
whrandom.py Andrew Kuchling writes: 1998-02-16 14:52:42 +00:00
xdrlib.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
xmllib.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
zmod.py