cpython/Lib
Jeremy Hylton 7abf520d6c Add support for // and //=.
Avoid if/elif/elif/else tests where the final else is supposed to
handle exactly one case instead of all other cases.  When the list of
operators is extended, the catchall else treats all new operators as
the last operator in the set of tests.  Instead, raise an exception if
an unexpected operator occurs.
2001-08-29 18:12:30 +00:00
..
compiler Add support for // and //=. 2001-08-29 18:12:30 +00:00
curses Catch curses.error instead of a non-existent global (PyChecker) 2001-08-13 13:47:23 +00:00
distutils Patch by Bill Noon: added 'dylib' as a library type along with 2001-08-27 15:08:16 +00:00
encodings Fix typo (PyChecker) 2001-08-13 13:48:55 +00:00
idlelib further work on font config and general feel improvements 2001-08-13 04:36:58 +00:00
lib-old Use string.ascii_letters instead of string.letters (SF bug #226706). 2001-07-20 19:05:50 +00:00
lib-tk Don't make even the _slightest_ modification between test and checkin, 2001-08-23 13:25:59 +00:00
plat-aix3 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-aix4 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-beos5 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-freebsd2 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-freebsd3 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-freebsd4 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-freebsd5 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-generic Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-irix5 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-irix6 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-linux1 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-linux2 Regenerate for glibc 2.2.3. 2001-08-09 12:48:17 +00:00
plat-netbsd1 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-next3 Do no regenerate modules that should no longer be here. 2001-05-10 15:52:47 +00:00
plat-riscos Use string.ascii_letters instead of string.letters (SF bug #226706). 2001-07-20 19:05:50 +00:00
plat-sunos4 Do no regenerate modules that should no longer be here. 2001-05-10 15:52:47 +00:00
plat-sunos5 Regenerate for Solaris 8. 2001-08-09 12:33:32 +00:00
plat-unixware7 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
site-packages
test Add tests for augmented floor division 2001-08-29 17:50:27 +00:00
xml Make sure XMLGenerator uses quoteattr() instead of escape() to quote 2001-08-07 19:14:46 +00:00
__future__.py Repair repr of future-features (wasn't updated to include the new 2001-08-24 17:13:54 +00:00
aifc.py added __all__ lists to a number of Python modules 2001-01-20 19:54:20 +00:00
anydbm.py Catch only the relevant exceptions instead of using a bare except clause. 2001-05-11 18:27:00 +00:00
asynchat.py Fix from the Madusa mailing list: 2001-04-08 07:23:44 +00:00
asyncore.py Whitespace normalization. 2001-08-20 21:48:00 +00:00
atexit.py Bug #128475: mimetools.encode (sometimes) fails when called from a thread. 2001-01-21 03:40:37 +00:00
audiodev.py Commenting out the getfillable() method -- it's broken, and nobody 2001-08-13 15:04:33 +00:00
base64.py check in for patch #430846 2001-06-07 18:56:13 +00:00
BaseHTTPServer.py Remove unused imports from previous checkin. 2001-07-25 06:12:16 +00:00
Bastion.py added __all__ lists to a number of Python modules 2001-01-20 19:54:20 +00:00
bdb.py Return self.trace_dispatch from dispatch_return() to enable stepping through generators. (An alternative would be to create a new "yield" debugger event, but that involves many more changes, and might break Bdb subclasses.) 2001-06-25 18:01:24 +00:00
binhex.py Turn an octal constant into a hex constant. 2001-08-01 18:17:23 +00:00
bisect.py removed __all__ from several modules 2001-02-18 03:30:53 +00:00
calendar.py Application of patch #401842 by Denis S. Otkidach to support 2001-05-22 15:58:30 +00:00
cgi.py Whitespace normalization. 2001-08-09 21:40:30 +00:00
CGIHTTPServer.py Apply two small changes to the Windows code, according to SF bug 2001-08-07 19:55:10 +00:00
cgitb.py Enhancements: 2001-08-21 06:53:01 +00:00
chunk.py Clean up bare except: when determining whether a file is seekable. 2001-05-11 19:14:51 +00:00
cmd.py Whitespace normalization. 2001-08-09 21:40:30 +00:00
code.py A fiddled version of the rest of Michael Hudson's SF patch 2001-08-17 22:11:27 +00:00
codecs.py Patch #444359: Remove unused imports. 2001-08-02 07:15:29 +00:00
codeop.py A fiddled version of the rest of Michael Hudson's SF patch 2001-08-17 22:11:27 +00:00
colorsys.py added __all__ lists to a number of Python modules 2001-01-20 19:54:20 +00:00
commands.py added __all__ lists to a number of Python modules 2001-01-20 19:54:20 +00:00
compileall.py Fix compileall.py so that it fails on SyntaxErrors 2001-04-18 01:20:21 +00:00
compilerlike.py Whitespace normalization. 2001-08-20 21:48:00 +00:00
ConfigParser.py Patch #445762: Support --disable-unicode 2001-08-17 18:39:25 +00:00
Cookie.py Patch #444359: Remove unused imports. 2001-08-02 07:15:29 +00:00
copy.py Patch #445762: Support --disable-unicode 2001-08-17 18:39:25 +00:00
copy_reg.py added __all__ lists to a number of Python modules 2001-01-20 19:54:20 +00:00
dbhash.py Fix bug #422702: Make flag argument to open optional, and document it that way. 2001-06-05 05:33:19 +00:00
difflib.py SF patch #445412 extract ndiff functionality to difflib, from 2001-08-12 22:25:01 +00:00
dircache.py Whitespace normalization. 2001-03-16 08:29:48 +00:00
dis.py Add opcodes for floor division and true division (PEP 238) 2001-08-29 18:02:21 +00:00
doctest.py Remove the horrid generators hack from doctest.py. This relies on a 2001-08-18 00:05:50 +00:00
dospath.py Use string.ascii_letters instead of string.letters (SF bug #226706). 2001-07-20 19:05:50 +00:00
dumbdbm.py Replace __import__ with import as. 2001-07-19 10:06:39 +00:00
FCNTL.py Add a new FCNTL.py backward compatibility module that issues a deprecation 2001-05-09 21:13:23 +00:00
filecmp.py more __all__ updates 2001-01-20 23:34:12 +00:00
fileinput.py more __all__ updates 2001-01-20 23:34:12 +00:00
fnmatch.py Patch #409973: Speedup glob.glob, add fnmatch.filter. 2001-06-06 06:24:38 +00:00
formatter.py Remove empty __init__ (PyChecker) 2001-08-13 14:55:17 +00:00
fpformat.py more __all__ updates 2001-01-20 23:34:12 +00:00
ftplib.py Change the 227 response parser to use a more liberal regular 2001-08-17 17:24:29 +00:00
getopt.py more __all__ updates 2001-01-20 23:34:12 +00:00
getpass.py Remove two redundant statements (PyChecker). 2001-08-13 15:30:22 +00:00
gettext.py added a few more __all__ lists 2001-01-23 15:35:05 +00:00
glob.py Patch #409973: Speedup glob.glob, add fnmatch.filter. 2001-06-06 06:24:38 +00:00
gopherlib.py Remove unused variable (PyChecker) 2001-08-13 14:52:37 +00:00
gzip.py Remove redefinition of writelines() method 2001-08-13 14:54:12 +00:00
htmlentitydefs.py removed __all__ from several modules 2001-02-18 03:30:53 +00:00
htmllib.py int() of a string is only expected to through ValueError, so do not use 2001-05-11 18:45:52 +00:00
HTMLParser.py Deal more appropriately with bare ampersands and pointy brackets; this 2001-08-20 21:24:19 +00:00
httplib.py Resolve patch #449367. 2001-08-18 09:20:23 +00:00
ihooks.py String method conversion. 2001-02-09 10:18:37 +00:00
imaplib.py Remove redundant 'import sys' (PyChecker). 2001-08-13 15:34:41 +00:00
imghdr.py a few more modules get __all__ 2001-01-24 06:27:27 +00:00
imputil.py Patch #443337: Fix incompatibilities in imputil's behavior. 2001-07-28 20:33:41 +00:00
inspect.py Preliminary support for "from __future__ import generators" to enable 2001-07-15 21:08:29 +00:00
keyword.py Updated keyword.py for "yield". 2001-06-19 00:26:25 +00:00
knee.py String method conversion. 2001-02-09 09:48:45 +00:00
linecache.py Patch from Gordon McMillan. 2001-05-29 04:27:01 +00:00
locale.py Remove some dead code (PyChecker) 2001-08-13 14:50:44 +00:00
macpath.py Typo fix (spelling mistake in error message). 2001-08-08 20:55:10 +00:00
macurl2path.py String method conversion. 2001-02-09 09:48:45 +00:00
mailbox.py Remove redundant imports (PyChecker). 2001-08-13 15:37:02 +00:00
mailcap.py Opening a file for reading can raise IOError, so only catch that. 2001-05-11 18:47:54 +00:00
mhlib.py Clean up a bare except: clause. 2001-07-04 07:01:29 +00:00
mimetools.py Do not hide a failure to create a temporary file; if it fails the work 2001-02-23 20:04:54 +00:00
mimetypes.py Add some fairly important file extensions: bmp css doc mid midi mp2 mp3 xls. 2001-08-18 04:06:54 +00:00
MimeWriter.py String method conversion. 2001-02-09 09:39:08 +00:00
mimify.py Fix for SF bug #425868. 2001-07-04 10:15:58 +00:00
multifile.py Patch #444359: Remove unused imports. 2001-08-02 07:15:29 +00:00
mutex.py removed __all__ from several modules 2001-02-18 03:30:53 +00:00
netrc.py Fix typo in attribute name (file should be filename) found by 2001-04-15 12:51:42 +00:00
nntplib.py String method conversion. 2001-02-09 07:02:17 +00:00
ntpath.py One more crack at join(): stop trying to pretend this isn't a mass of 2001-07-27 08:09:54 +00:00
nturl2path.py Use string.ascii_letters instead of string.letters. 2001-07-20 18:52:02 +00:00
os.py Unify _Environ processing on riscos with other platforms. 2001-03-07 09:05:45 +00:00
pdb.doc
pdb.py SF bug #131560: pdb imports 'repr', causing name collision 2001-02-09 23:28:07 +00:00
pickle.py pickle.py, load_int(): Match cPickle's just-repaired ability to unpickle 2001-08-28 22:21:18 +00:00
pipes.py Patch #444359: Remove unused imports. 2001-08-02 07:15:29 +00:00
popen2.py Whitespace normalization. 2001-02-09 20:06:00 +00:00
poplib.py Initialize msg to avoid unbound locals. 2001-07-31 08:40:21 +00:00
posixfile.py Add forgotten import (PyChecker) 2001-08-13 14:47:12 +00:00
posixpath.py In walk(), don't die when os.lstat() raises os.error, e.g. because a 2001-04-16 18:12:04 +00:00
pprint.py pprint's workhorse _safe_repr() function took time quadratic in the # of 2001-05-14 18:39:41 +00:00
pre.py Clean up a bare except where we only expect to catch pcre.error. 2001-05-11 19:20:17 +00:00
profile.doc
profile.py Fix two bugs detected by PyChecker: there's no need for redundant 2001-08-09 21:22:15 +00:00
pstats.py Remove unused variable (PyChecker) 2001-08-13 14:52:37 +00:00
pty.py Whitespace normalization. 2001-05-29 06:06:54 +00:00
py_compile.py __all__ for several more modules 2001-02-12 02:00:42 +00:00
pyclbr.py Nick Mathewson: Make sure the recursion is handled properly. 2001-08-13 20:20:51 +00:00
pydoc.py Oh, ok, so plainpager is probably marginally better. 2001-07-23 19:48:10 +00:00
Queue.py removed __all__ from several modules 2001-02-18 03:30:53 +00:00
quopri.py Whitespace normalization; the plat-riscos file didn't even get by 2001-07-02 04:57:30 +00:00
random.py Whitespace normalization. 2001-02-15 23:56:39 +00:00
re.py bunch more __all__ lists 2001-02-15 22:15:14 +00:00
reconvert.py bunch more __all__ lists 2001-02-15 22:15:14 +00:00
regex_syntax.py removed __all__ from several modules 2001-02-18 03:30:53 +00:00
regsub.py bunch more __all__ lists 2001-02-15 22:15:14 +00:00
repr.py Use type(x).__name__ to get the name of the type instead of parsing 2001-08-09 18:56:27 +00:00
rexec.py Remove redundant import (PyChecker). 2001-08-13 15:58:26 +00:00
rfc822.py Add content-type header to ftp URLs (SF patch #454553) 2001-08-27 20:16:53 +00:00
rlcompleter.py bunch more __all__ lists 2001-02-15 22:15:14 +00:00
robotparser.py Remove unused import (PyChecker) 2001-08-13 14:43:43 +00:00
sched.py bunch more __all__ lists 2001-02-15 22:15:14 +00:00
sgmllib.py Patch #444359: Remove unused imports. 2001-08-02 07:15:29 +00:00
shelve.py bunch more __all__ lists 2001-02-15 22:15:14 +00:00
shlex.py Unused variable (caught by PyChecker) removed. 2001-04-17 17:20:19 +00:00
shutil.py bunch more __all__ lists 2001-02-15 22:15:14 +00:00
SimpleHTTPServer.py Correction after translation test. 2001-02-09 10:26:06 +00:00
site.py Patch #445762: Support --disable-unicode 2001-08-17 18:39:25 +00:00
smtpd.py found_terminator(): Add a debug print showing the data. 2001-08-13 21:18:01 +00:00
smtplib.py Remove redundant import 2001-08-13 14:41:39 +00:00
sndhdr.py Amazing. This would open the sound file in text mode. Fixed. 2001-07-31 06:27:07 +00:00
socket.py Inspired by Greg Stein's proposed simplification of the _closesocket 2001-08-18 21:00:39 +00:00
SocketServer.py Patch #401196: Use getaddrinfo and AF_INET6 in TCP servers and clients. 2001-07-24 20:34:08 +00:00
sre.py Disable the sub() optimization until Fredrik has time to look into SF 2001-08-10 14:56:54 +00:00
sre_compile.py Whitespace normalization, plus: 2001-07-21 01:41:30 +00:00
sre_constants.py added martin's BIGCHARSET patch to SRE 2.1.1. martin reports 2x 2001-07-02 16:58:38 +00:00
sre_parse.py sre 2.1b2 update: 2001-03-22 15:50:10 +00:00
stat.py removed __all__ from several modules 2001-02-18 03:30:53 +00:00
statcache.py bunch more __all__ lists 2001-02-15 22:15:14 +00:00
statvfs.py removed __all__ from several modules 2001-02-18 03:30:53 +00:00
string.py Added the constants ascii_letters, ascii_lowercase, and ascii_uppercase 2001-07-20 18:38:26 +00:00
StringIO.py Remove silly EMPTYSTRING global. Saves a global lookup. 2001-02-09 13:37:37 +00:00
stringold.py Nuke accurate but confusing and unhelpful comments about split vs splitfields. 2001-02-09 20:18:41 +00:00
sunau.py Whitespace normalization. 2001-01-15 01:36:40 +00:00
sunaudio.py Whitespace normalization. 2001-01-15 01:36:40 +00:00
symbol.py Updated this file to match reality. 2001-07-13 18:05:46 +00:00
symtable.py Remove now-unnecessary "from __future__ import nested_scopes" stmts. 2001-07-12 22:36:02 +00:00
tabnanny.py Add the NannyNag exception class and the process_tokens() function to 2001-08-07 17:19:25 +00:00
telnetlib.py Initialize msg to avoid unbound locals. 2001-07-31 08:40:21 +00:00
tempfile.py Search /tmp before /var/tmp and /usr/tmp -- this seems preferred. 2001-03-02 05:51:16 +00:00
TERMIOS.py No need to call filterwarnings() to suppress further warnings from this 2001-02-27 21:51:47 +00:00
threading.py Added new BoundedSemaphore class. Closes bug 452836. 2001-08-20 20:27:58 +00:00
toaiff.py Capture exception message (PyChecker) 2001-08-13 14:40:47 +00:00
token.py Remove redundant 'import string' (PyChecker). 2001-08-13 15:48:06 +00:00
tokenize.py Add new tokens // and //=, in support of PEP 238. 2001-08-08 05:04:07 +00:00
traceback.py SF bug 431772: traceback.print_exc() causes traceback 2001-06-10 18:58:26 +00:00
tty.py final round of __all__ lists (I hope) - skipped urllib2 because Moshe may be 2001-03-01 04:27:19 +00:00
types.py Patch #445762: Support --disable-unicode 2001-08-17 18:39:25 +00:00
tzparse.py Add a deprecation warning to this module. 2001-03-20 18:36:48 +00:00
unittest.py Merged in bugfix from PyUnit CVS for problem reported by Gary Todd. 2001-08-08 07:57:26 +00:00
urllib.py Add content-type header to ftp URLs (SF patch #454553) 2001-08-27 20:16:53 +00:00
urllib2.py Add content-type header to ftp URLs (SF patch #454553) 2001-08-27 20:16:53 +00:00
urlparse.py Remove unused variable 2001-08-13 14:38:50 +00:00
user.py
UserDict.py Remove the __iter__ method from the UserDict class -- it can silently 2001-08-07 17:40:42 +00:00
UserList.py Patch #424475: Speed-up tp_compare usage, by special-casing the common 2001-06-09 07:34:05 +00:00
UserString.py This patch changes the way the string .encode() method works slightly 2001-05-15 12:00:02 +00:00
uu.py decode(): Raise a uu.Error if no out_file is given but the file 2001-08-17 19:59:34 +00:00
warnings.py Ignore OverflowWarning by default. To enable the warning, use 2001-08-23 03:07:42 +00:00
wave.py final round of __all__ lists (I hope) - skipped urllib2 because Moshe may be 2001-03-01 04:27:19 +00:00
weakref.py Make sure that WeakValueDictionary[] raises KeyError instead of TypeError 2001-08-03 04:11:27 +00:00
webbrowser.py Fix malformed line (PyChecker) 2001-08-13 14:37:23 +00:00
whichdb.py Whitespace normalization. 2001-03-16 08:29:48 +00:00
whrandom.py Whitespace normalization. Top level of Lib now fixed-point for reindent.py! 2001-01-15 03:34:38 +00:00
xdrlib.py Use (c)StringIO for collecting bytes. Fixes bug #451622. 2001-08-16 17:06:44 +00:00
xmllib.py Moved clearing of "literal" flag. The flag is set in setliteral which 2001-03-14 17:03:30 +00:00
xmlrpclib.py untabification 2001-08-23 20:13:08 +00:00
zipfile.py Make sure path names inserted into ZIP files are normalized to use "/" as 2001-07-19 19:44:25 +00:00