cpython/Lib
Gregory P. Smith f21a5f7739 [ sf.net patch # 1121611 ]
A new hashlib module to replace the md5 and sha modules.  It adds
support for additional secure hashes such as SHA-256 and SHA-512.  The
hashlib module uses OpenSSL for fast platform optimized
implementations of algorithms when available.  The old md5 and sha
modules still exist as wrappers around hashlib to preserve backwards
compatibility.
2005-08-21 18:45:59 +00:00
..
bsddb fix import to work with either module name. 2005-06-09 07:11:42 +00:00
compiler PEP 342 implementation. Per Guido's comments, the generator throw() 2005-08-02 00:46:46 +00:00
curses [Bug #1152762] Ensure _end_of_line() returns an x-coordinate that's within the text box 2005-06-02 00:10:04 +00:00
distutils Patch #827386: Support absolute source paths in msvccompiler.py. 2005-08-07 20:51:04 +00:00
email fix broken (unexecuted) test 2005-06-08 04:55:50 +00:00
encodings Reset internal buffers when seek() is called. This fixes SF bug #1156259. 2005-03-14 19:06:30 +00:00
hotshot Move testing code into "if __name__ == '__main__'" so it's not run on import. 2003-03-28 16:28:48 +00:00
idlelib Fix all wrong instances of "it's". 2005-07-22 21:49:32 +00:00
lib-old Removed deprecated tzparse module. 2004-12-05 11:38:18 +00:00
lib-tk Fix a problem in Tkinter introduced by SF patch #869468 (checked in as 2005-07-26 23:57:46 +00:00
logging Documentation clarified re. config socket listener protocol 2005-06-05 20:39:36 +00:00
plat-aix3
plat-aix4
plat-atheos Repair bizarre generated Python. 2004-07-18 06:35:21 +00:00
plat-beos5 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-darwin
plat-freebsd2
plat-freebsd3
plat-freebsd4
plat-freebsd5
plat-freebsd6 Whitespace normalization. 2004-08-20 03:47:14 +00:00
plat-freebsd7 Whitespace normalization. 2005-07-17 23:16:17 +00:00
plat-generic
plat-irix5 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-irix6 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-linux2 Repair bizarre generated Python. 2004-07-18 06:35:21 +00:00
plat-mac [ 1243081 ] repair typos 2005-07-22 18:39:19 +00:00
plat-netbsd1 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-next3
plat-os2emx Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-riscos patch [ 1105730 ] Faster commonprefix in macpath, ntpath, etc. 2005-08-03 07:30:12 +00:00
plat-sunos5 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-unixware7 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
site-packages
test [ sf.net patch # 1121611 ] 2005-08-21 18:45:59 +00:00
xml fix XMLFilterBase.resolveEntity() so the caller gets the result 2005-02-03 17:31:39 +00:00
BaseHTTPServer.py bug [ 1100201 ] Cross-site scripting on BaseHTTPServer 2005-06-26 21:33:14 +00:00
Bastion.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
CGIHTTPServer.py SF patch #1055159 via Titus Brown: Document redirect limitation. 2004-12-22 14:19:09 +00:00
ConfigParser.py Fix all wrong instances of "it's". 2005-07-22 21:49:32 +00:00
Cookie.py bug [ 1108948 ] Cookie.py produces invalid code 2005-06-26 21:02:49 +00:00
DocXMLRPCServer.py Reduce the usage of the types module. 2005-02-07 14:16:21 +00:00
HTMLParser.py remove unnecessary override of base class method 2004-09-08 22:58:36 +00:00
MimeWriter.py
Queue.py Simplified the new get/get_nowait/put/put_nowait implementations a bit. 2004-07-12 01:20:32 +00:00
SimpleHTTPServer.py Use cStringIO where available. 2004-12-31 19:15:26 +00:00
SimpleXMLRPCServer.py Fix all wrong instances of "it's". 2005-07-22 21:49:32 +00:00
SocketServer.py bug [ 957505 ] SocketServer module documentation misleading 2005-07-18 07:38:44 +00:00
StringIO.py SF bug #951915: fix bug in StringIO.truncate - length not changed 2004-12-20 23:51:53 +00:00
UserDict.py Use decorators. 2005-01-16 00:16:11 +00:00
UserList.py Guido grants a Christmas wish: 2003-12-17 20:43:33 +00:00
UserString.py Whitespace normalization. 2005-03-28 01:08:02 +00:00
_LWPCookieJar.py Patch #1117454: Remove code to special-case cookies without values 2005-03-03 10:57:37 +00:00
_MozillaCookieJar.py Patch #1117454: Remove code to special-case cookies without values 2005-03-03 10:57:37 +00:00
__future__.py
__phello__.foo.py
_strptime.py Fix bug of implementation of algorithm for calculating the date from year, week 2004-10-28 04:49:21 +00:00
_threading_local.py Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
aifc.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
anydbm.py
asynchat.py [Patch #1002763] Allow long ints as terminator values; also, treat a terminator of 0 like the empty string or None 2005-06-09 14:59:45 +00:00
asyncore.py [Bug #1011606] Only check file descriptors for exceptional conditions if the fd is readable or writable 2004-09-01 14:04:51 +00:00
atexit.py SF bug #1083202L UnboundLocalError raised by atexit module 2004-12-11 02:49:40 +00:00
audiodev.py
base64.py [Patch #1171487, bug #1170331] Fix error in base64.b32decode when encoding a single null byte; test a null byte in all encodings to be sure it works 2005-06-08 22:51:38 +00:00
bdb.py Bug #1055168: calling pdb.set_trace() calls Bdb.set_trace, which made 2004-11-07 11:35:30 +00:00
binhex.py Remove a useless operation, setting name to itself 2004-06-07 03:45:56 +00:00
bisect.py SF Patch #864863: Bisect C implementation 2004-01-05 10:13:35 +00:00
calendar.py SF bug #1193890: calendar.weekheader not found in __all__ 2005-05-10 03:20:12 +00:00
cgi.py Bring cgi.escape docstring slightly more in line with the library ref 2005-08-02 02:50:25 +00:00
cgitb.py Prevent creating a HTML link to file://?/ 2005-06-26 21:57:55 +00:00
chunk.py
cmd.py Whitespace normalization. 2004-07-07 20:54:48 +00:00
code.py
codecs.py Make attributes and local variables in the StreamReader str objects instead 2005-07-20 22:15:39 +00:00
codeop.py Fix typo fix. 2003-11-20 13:38:01 +00:00
colorsys.py
commands.py
compileall.py Bugs item #1069409 C:\Python24\Lib\compileall.py returns False 2004-12-20 00:29:29 +00:00
cookielib.py Patch #1117454: Remove code to special-case cookies without values 2005-03-03 10:57:37 +00:00
copy.py SF bug #1219361 Fix typo 2005-06-13 01:10:15 +00:00
copy_reg.py Revert previous checkin and just add a comment about constructor_ob. 2003-06-27 16:58:43 +00:00
csv.py Rename csv.set_field_limit to csv.field_size_limit (since it both sets and 2005-01-12 03:45:10 +00:00
dbhash.py typo 2003-05-05 14:16:41 +00:00
decimal.py Apply the _is_special guard. 2005-06-20 09:49:42 +00:00
difflib.py Fix all wrong instances of "it's". 2005-07-22 21:49:32 +00:00
dircache.py Patch #707167: Pass dircache exceptions to the caller. Fixes #682813. 2003-09-20 15:52:21 +00:00
dis.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
doctest.py Fix test cases for doctest. 2005-06-26 23:09:51 +00:00
dumbdbm.py [Bug #1172763] dumbdbm uses eval() on lines, so it chokes if there's an extra \r on the end of a line; fixed by stripping off trailing whitespace. 2005-06-07 19:36:10 +00:00
dummy_thread.py Cause calling interrupt_main in main thread raise KeyboardInterrupt instantly. 2003-06-13 23:56:32 +00:00
dummy_threading.py Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
filecmp.py Removed deprecated use_statcache argument. 2004-12-05 01:58:09 +00:00
fileinput.py
fnmatch.py SF patch #765238: fix fnmatch.__all__ 2003-07-13 16:06:26 +00:00
formatter.py remove the other half of one of the regsub-related comments; the other 2004-12-07 14:08:24 +00:00
fpformat.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
ftplib.py SF bug #1168983: ftplib.py string index out of range 2005-04-05 04:31:09 +00:00
getopt.py
getpass.py
gettext.py Use cStringIO where available. 2004-12-31 19:15:26 +00:00
glob.py Patch #943206: 2005-01-08 13:13:19 +00:00
gopherlib.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
gzip.py [Bug #1074261, patch #1074381] Restrict the size of chunks read from the file in order to avoid overflow or huge memory consumption. Patch by Mark Eichin 2005-06-09 14:19:32 +00:00
hashlib.py [ sf.net patch # 1121611 ] 2005-08-21 18:45:59 +00:00
heapq.py Add key= argument to heapq.nsmallest() and heapq.nlargest(). 2004-12-02 08:59:14 +00:00
hmac.py [ sf.net patch # 1121611 ] 2005-08-21 18:45:59 +00:00
htmlentitydefs.py Add two dictionaries to htmlentitydefs: name2codepoint maps 2003-04-16 09:46:13 +00:00
htmllib.py clean up the API a little; exceptions are defined by this module 2004-09-09 02:24:13 +00:00
httplib.py bug [ 1155638 ] self.length shield exception in httplib 2005-06-26 22:06:54 +00:00
ihooks.py ihooks FancyModuleLoader.load_module() 2004-08-04 02:29:12 +00:00
imaplib.py fixed tag generation to avoid null tags 2005-07-05 04:20:07 +00:00
imghdr.py SF #75103: imghdr -- identify JPEGs in EXIF format 2005-01-07 08:15:41 +00:00
imputil.py ihooks FancyModuleLoader.load_module() 2004-08-04 02:29:12 +00:00
inspect.py Patch #1159931/bug #1143895: inspect.getsource failed when functions, 2005-03-12 16:37:11 +00:00
keyword.py Replace str.find()!=1 with the more readable "in" operator. 2004-05-04 09:21:43 +00:00
linecache.py SF #737473: Show up-to-date source code in tracebacks always. 2004-10-26 09:16:42 +00:00
locale.py SF patch #1051395: locale.getdefaultlocale does not return tuple in some OS 2005-01-01 06:10:26 +00:00
macpath.py patch [ 1105730 ] Faster commonprefix in macpath, ntpath, etc. 2005-08-03 07:30:12 +00:00
macurl2path.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
mailbox.py Patch #880621: the last message of a Babyl mailbox ends in '\037' instead of 2004-08-21 12:30:26 +00:00
mailcap.py
markupbase.py [Patch #965175] Incorporate a suggestion for a better error message 2004-07-10 21:49:45 +00:00
md5.py [ sf.net patch # 1121611 ] 2005-08-21 18:45:59 +00:00
mhlib.py Replace list of constants with tuples of constants. 2005-02-06 06:57:08 +00:00
mimetools.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
mimetypes.py add two more extensions: 2005-03-15 15:52:08 +00:00
mimify.py
modulefinder.py Fix SF item #876278: Unbounded recursion in modulefinder. 2004-05-11 15:10:59 +00:00
multifile.py Stacks based on lists work better and read more clearly when they 2004-05-04 08:21:52 +00:00
mutex.py * Move collections.deque() in from the sandbox 2004-01-29 06:37:52 +00:00
netrc.py SF bug 557704: netrc module can't handle all passwords 2003-04-24 20:11:20 +00:00
new.py
nntplib.py - Bug #1015140: disambiguated the term "article id" in nntplib docs and 2005-07-17 20:27:41 +00:00
ntpath.py patch [ 1105730 ] Faster commonprefix in macpath, ntpath, etc. 2005-08-03 07:30:12 +00:00
nturl2path.py
opcode.py Install two code generation optimizations that depend on NOP. 2004-06-21 16:31:15 +00:00
optparse.py Reduce the usage of the types module. 2005-02-07 14:16:21 +00:00
os.py bug #1177468: don't cache /dev/urandom file descriptor in os.urandom 2005-07-04 17:16:07 +00:00
os2emxpath.py patch [ 1105730 ] Faster commonprefix in macpath, ntpath, etc. 2005-08-03 07:30:12 +00:00
pdb.doc bug #989672: pdb.doc and the help messages for the help_d and help_u methods 2004-08-14 15:19:28 +00:00
pdb.py Bug #1055168: calling pdb.set_trace() calls Bdb.set_trace, which made 2004-11-07 11:35:30 +00:00
pickle.py Revert previous checkin. 2005-02-07 15:28:45 +00:00
pickletools.py An instance of class PicklingError was used here simply as an example of 2005-02-15 16:22:34 +00:00
pipes.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
pkgutil.py SF patch #806246: use basestring where possible 2003-09-17 05:50:59 +00:00
platform.py Added normalization for Windows system name. Closes SF #945665. 2004-06-19 17:17:00 +00:00
popen2.py Fix typo 2005-02-10 13:24:50 +00:00
poplib.py bug [ 1252706 ] poplib list() docstring fix (and docs too) 2005-08-05 21:01:58 +00:00
posixfile.py Add support for FreeBSD 7. 2005-07-17 02:36:59 +00:00
posixpath.py Bug #1213894: os.path.realpath didn't resolve symlinks that were the first 2005-06-03 14:28:50 +00:00
pprint.py Fix pprint to be able to handle objects that don't have a __repr__ 2004-11-15 13:51:41 +00:00
profile.py Patch #645894: Use getrusage for computing the time consumption in 2005-03-03 11:39:45 +00:00
pstats.py Removed deprecated method from pstats. 2004-12-05 03:28:00 +00:00
pty.py Removed no-longer-needed convolutions to recover from damaged modules 2004-08-02 03:55:18 +00:00
py_compile.py Patch #1171150: add a newline to py_compile error output 2005-06-10 17:15:18 +00:00
pyclbr.py PEP-0318, @decorator-style. In Guido's words: 2004-08-02 06:10:11 +00:00
pydoc.py That was one too much. 2005-07-22 21:52:25 +00:00
quopri.py
random.py Implement random.sample() using sets instead of dicts. 2005-08-19 01:36:35 +00:00
re.py
reconvert.py allow triple-quoted string output from reconvert.quote() 2005-01-16 19:31:40 +00:00
regex_syntax.py
regsub.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
repr.py Committing Tim's patch for SF bug #983585: 2004-07-01 20:28:47 +00:00
rexec.py Remove rotor, xreadlines modules 2004-08-31 13:31:42 +00:00
rfc822.py Convert splitlines to for-loop (handles case where input does not have a trailing newline). 2005-02-08 15:39:11 +00:00
rlcompleter.py Fix a bunch of typos in documentation, docstrings and comments. 2003-10-20 14:01:56 +00:00
robotparser.py Patch #1014237: Consistently return booleans throughout. 2004-08-23 20:42:35 +00:00
sched.py Refactor: 2004-12-17 13:52:20 +00:00
sets.py Teach the sets module to correctly compute s-=s and s^=s as the empty set. 2005-08-13 02:29:58 +00:00
sgmllib.py add name that should be considered public to __all__ 2004-09-09 01:49:58 +00:00
sha.py [ sf.net patch # 1121611 ] 2005-08-21 18:45:59 +00:00
shelve.py Removed deprecated method arguments from the shelve module. 2004-12-05 03:58:17 +00:00
shlex.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
shutil.py shutil.copytree: move copystat call for the directory after the loop 2005-01-23 12:20:15 +00:00
site.py Fix bug in addsitedir() to properly handle the lack of a second argument. 2004-07-20 02:28:28 +00:00
smtpd.py Fix for SF bug # 1010102. The default is PureProxy not SMTPProxy. 2004-10-09 21:44:13 +00:00
smtplib.py SMTP.help() was returning a tuple instead of the promised text. 2005-06-26 18:27:36 +00:00
sndhdr.py
socket.py Fix test for socket.getfqdn() to also include the name returned by 2005-03-11 00:04:17 +00:00
sre.py Granted Noam Raphael's request for minor improvements to the re module and 2004-09-24 03:41:05 +00:00
sre_compile.py [Bug #1177831] Fix generation of code for GROUPREF_EXISTS. Thanks to Andre Malo for the fix. 2005-06-02 13:35:52 +00:00
sre_constants.py PEP 292 classes Template and SafeTemplate are added to the string module. 2004-08-25 02:22:30 +00:00
sre_parse.py Complete the previous effort to factor out constant expressions 2005-02-28 19:27:52 +00:00
stat.py
statvfs.py
string.py Remove outdated references to the regsub module. 2004-12-07 07:55:07 +00:00
stringold.py Remove outdated references to the regsub module. 2004-12-07 07:55:07 +00:00
stringprep.py Whitespace normalization. 2004-07-07 20:54:48 +00:00
subprocess.py Whitespace normalization. 2005-03-28 01:08:02 +00:00
sunau.py
sunaudio.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
symbol.py PEP 342 implementation. Per Guido's comments, the generator throw() 2005-08-02 00:46:46 +00:00
symtable.py
tabnanny.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
tarfile.py Fix all wrong instances of "it's". 2005-07-22 21:49:32 +00:00
telnetlib.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
tempfile.py SF bug #1099516: tempfile files not types.FileType 2005-01-11 15:33:03 +00:00
textwrap.py textwrap now processes text chucks at O(n) speed instead of O(n**2). 2005-07-15 06:53:35 +00:00
this.py Back rev 1.3 out per Raymond's request. 2004-02-06 04:40:56 +00:00
threading.py bug [ 1238170 ] threading.Thread uses {} as default argument 2005-07-15 09:13:21 +00:00
timeit.py SF patch #868736: Disable GC for timeit 2004-01-04 03:47:51 +00:00
toaiff.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
token.py PEP-0318, @decorator-style. In Guido's words: 2004-08-02 06:10:11 +00:00
tokenize.py SF bug #1224621: tokenize module does not detect inconsistent dedents 2005-06-21 07:43:58 +00:00
trace.py SF #1062190. Removed an assertion that rendered trace.py unnecessarily 2004-11-08 06:36:42 +00:00
traceback.py SF #737473: Show up-to-date source code in tracebacks always. 2004-10-26 09:16:42 +00:00
tty.py
types.py Oops! Restored the pickle test to test_pyclbr, but changed types.py so 2004-07-18 00:08:11 +00:00
unittest.py Reduce the usage of the types module. 2005-02-07 14:16:21 +00:00
urllib.py Use cStringIO where available. 2004-12-31 19:15:26 +00:00
urllib2.py Whitespace normalization. 2005-07-17 23:16:17 +00:00
urlparse.py add support for svn: and svn+ssh: URL schemes to urlparse 2005-07-29 15:56:32 +00:00
user.py
uu.py
warnings.py bug [ 839151 ] attempt to access sys.argv when it doesn't exist 2005-06-26 22:53:29 +00:00
wave.py Fix SF #1001053, wave.open() with unicode filename fails 2004-08-01 22:48:06 +00:00
weakref.py Bug #1196315: fix weakref.WeakValueDictionary constructor. 2005-06-04 09:20:03 +00:00
webbrowser.py [Patch #981794] Add support for Firefox/Firebird 2004-07-10 22:07:02 +00:00
whichdb.py Replace list of constants with tuples of constants. 2005-02-06 06:57:08 +00:00
xdrlib.py Patch #1049151: adding bool support to xdrlib.py. 2005-02-24 20:22:10 +00:00
xmllib.py Do not use the default namespace for attributes. 2004-05-02 20:37:13 +00:00
xmlrpclib.py Add better datetime support to xmlrpclib module. Closes patch #1120353. 2005-05-14 20:54:16 +00:00
zipfile.py Remove dependency on order of mode flags 2005-02-16 09:27:49 +00:00