cpython/Lib
Senthil Kumaran 3853586e0c Fix issue11442 - Add a charset parameter to the Content-type to avoid XSS attacks.
Patch by Tom N. (Backported from py3k codeline).
2011-03-17 12:34:18 +08:00
..
bsddb * fix failing test_recno.py - backport from trunk. 2007-11-07 07:25:20 +00:00
compiler Patch #1638243: the compiler package is now able to correctly compile 2007-01-27 17:43:07 +00:00
ctypes Fix issue #3547 for MingW, update comments (backport from trunk). 2008-09-29 20:04:02 +00:00
curses Fix off-by-one error that resulted in missed characters 2008-01-19 23:44:39 +00:00
distutils Issue #2234: distutils failed with mingw binutils 2.18.50.20080109. 2008-08-18 19:33:42 +00:00
email In response to this SF bug: 2007-07-13 21:20:38 +00:00
encodings Fixed bug #1915: Python compiles with --enable-unicode=no again. However several extension methods and modules do not work without unicode support. 2008-01-23 14:20:41 +00:00
hotshot
idlelib Prepare for 2.5.5. 2010-01-31 12:38:29 +00:00
lib-tk Issue #3767: Convert Tk object to string in tkColorChooser. 2008-12-13 15:09:44 +00:00
logging Issue #7403: logging: Fixed possible race condition in lock creation. 2009-11-27 15:34:35 +00:00
msilib Properly generate logical file ids. Fixes #1515998. 2006-07-06 19:28:03 +00:00
plat-aix3
plat-aix4
plat-atheos
plat-beos5
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
plat-irix6
plat-linux2
plat-mac Fix issue 2520 (cannot import macerrors) 2008-05-02 21:54:32 +00:00
plat-netbsd1
plat-next3
plat-os2emx
plat-riscos Bug #649974: make docstrings for url2pathname consistent 2005-12-26 22:53:56 +00:00
plat-sunos5
plat-unixware7
site-packages
sqlite3 The sqlite3 module did cut off data from the SQLite database at the first null 2006-07-02 17:48:30 +00:00
test Add .hgeol file and fix newlines in the 2.5 branch. 2011-03-05 15:02:28 +01:00
wsgiref Sync w/external release 0.1.2. Please see PEP 360 before making changes to external packages. 2006-06-12 04:04:32 +00:00
xml #1433694: minidom's .normalize() failed to set .nextSibling for last element. 2008-02-23 17:21:44 +00:00
BaseHTTPServer.py Typo fix 2006-03-07 16:16:07 +00:00
Bastion.py Backport r54787 - better error messages in rexec and bastion 2007-04-21 07:23:36 +00:00
CGIHTTPServer.py Whitespace normalization 2007-04-25 06:42:41 +00:00
ConfigParser.py Fix all wrong instances of "it's". 2005-07-22 21:49:32 +00:00
Cookie.py Whitespace normalization. 2006-08-15 00:25:04 +00:00
DocXMLRPCServer.py [Bug #1473048] 2006-05-31 14:08:48 +00:00
HTMLParser.py Reverting previous checkin. This breaks too much of HTMLParser to be applied 2005-09-01 06:25:34 +00:00
MimeWriter.py
Queue.py Fix nit in comment. 2006-12-02 01:57:21 +00:00
SimpleHTTPServer.py Fix issue11442 - Add a charset parameter to the Content-type to avoid XSS attacks. 2011-03-17 12:34:18 +08:00
SimpleXMLRPCServer.py Whitespace normalization. 2006-06-01 13:41:46 +00:00
SocketServer.py Bug #1531963: Make SocketServer.TCPServer's server_address always be equal to calling getsockname() on the server's socket. Fixed by patch #1545011. 2007-03-10 03:31:44 +00:00
StringIO.py [Bug #1622533] Make docstrings raw strings because they contain control characters (\0, \1) 2007-01-05 14:24:36 +00:00
UserDict.py - Patch 1433928: 2006-02-25 22:38:04 +00:00
UserList.py
UserString.py Cleanup: Remove import of types to get StringTypes, we can just use basestring. 2006-06-12 02:07:24 +00:00
_LWPCookieJar.py Remove unused import. 2006-05-18 06:18:06 +00:00
_MozillaCookieJar.py Make use of new str.startswith/endswith semantics. 2006-06-09 20:43:48 +00:00
__future__.py I could have sworn this was part of the change to not abbreviate ABSOLUTE 2006-04-03 06:58:51 +00:00
__phello__.foo.py
_strptime.py Backport of r55752: make time.strptime() behave better when whitespace is in 2007-06-04 00:14:06 +00:00
_threading_local.py Finally figured out why this module did its imports at the 2006-04-18 03:28:32 +00:00
aifc.py Add a length check to aifc to ensure it doesn't write a bogus file 2006-05-30 00:26:01 +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 No need to import exceptions, they are builtins 2005-09-01 00:45:28 +00:00
atexit.py SF bug #1083202L UnboundLocalError raised by atexit module 2004-12-11 02:49:40 +00:00
audiodev.py
base64.py ("Forward-port" of r46506) 2006-05-28 19:13:17 +00:00
bdb.py Patch #721464: pdb.Pdb instances can now be given explicit stdin and 2006-05-10 17:13:20 +00:00
binhex.py Patch #1220874: Update the binhex module for Mach-O. 2006-07-15 16:53:15 +00:00
bisect.py SF 1602378 Clarify docstrings for bisect 2007-04-03 00:01:09 +00:00
cProfile.py Added the cProfile module. 2006-02-08 12:53:56 +00:00
calendar.py Backport r60653: 2008-02-07 19:58:37 +00:00
cgi.py Chris McDonough's patch to defend against certain DoS attacks on FieldStorage. 2006-08-10 17:41:07 +00:00
cgitb.py HTML-escape the plain traceback in cgitb's HTML output, to prevent 2007-05-15 20:19:39 +00:00
chunk.py Patch #1373643: The chunk module can now read chunks larger than 2006-02-18 21:10:56 +00:00
cmd.py
code.py
codecs.py Fix codecs.EncodedFile which did not use file_encoding in 2.5.0, and 2006-10-29 08:39:27 +00:00
codeop.py Conversion of exceptions over from faked-up classes to new-style C types. 2006-05-27 12:29:24 +00:00
colorsys.py r879@spiff: Fredrik | 2005-11-12 14:38:03 +0100 2005-11-12 15:21:05 +00:00
commands.py
compileall.py Bugs item #1069409 C:\Python24\Lib\compileall.py returns False 2004-12-20 00:29:29 +00:00
contextlib.py Fix issue #1705170 (backport from trunk) 2007-11-07 12:26:40 +00:00
cookielib.py Little cleanup 2006-05-18 06:51:46 +00:00
copy.py Whitespace normalization. 2006-02-26 04:21:50 +00:00
copy_reg.py Patch #1462313, bug #1443328: the pickle modules now can handle classes 2006-03-31 18:25:44 +00:00
csv.py Issue #2432: give DictReader the dialect and line_num attributes 2008-03-21 20:01:55 +00:00
dbhash.py
decimal.py Issue #4084: fix bug in handling of NaNs in Decimal.max, Decimal.min, 2008-12-11 09:06:49 +00:00
difflib.py SF #1637850: make_table in difflib did not work with unicode 2007-03-08 21:30:55 +00:00
dircache.py
dis.py
doctest.py back in these go - thanks to Titus Brown for the fix 2007-11-24 14:31:16 +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 Backport of 64903. 2008-07-13 01:20:19 +00:00
dummy_threading.py
filecmp.py Removed deprecated use_statcache argument. 2004-12-05 01:58:09 +00:00
fileinput.py Whitespace normalization. 2006-02-19 21:26:07 +00:00
fnmatch.py
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
ftplib.py Whitespace normalization 2007-04-25 06:42:41 +00:00
functools.py [Bug #1576241] Let functools.wraps work with built-in functions 2006-10-27 16:42:19 +00:00
getopt.py
getpass.py Bug #1445068: getpass.getpass() can now be given an explicit stream 2006-03-31 18:42:16 +00:00
gettext.py Patch #1349274: gettext.install() now optionally installs additional 2006-02-19 13:26:36 +00:00
glob.py Revert rev. 54198, it's not really backwards compatible. 2007-03-10 08:06:14 +00:00
gopherlib.py Changed the new deprecation warning to show the 2006-02-18 04:00:23 +00:00
gzip.py Try to squash struct.pack warnings on the "amd64 gentoo trunk" 2006-08-02 04:12:36 +00:00
hashlib.py backport r66093 from trunk. 2008-08-31 16:36:21 +00:00
heapq.py Fix stability of heapq's nlargest() and nsmallest(). 2007-01-04 17:53:16 +00:00
hmac.py Backport r58868: 2007-11-06 00:32:04 +00:00
htmlentitydefs.py
htmllib.py clean up the API a little; exceptions are defined by this module 2004-09-09 02:24:13 +00:00
httplib.py Patch #1966: Break infinite loop in httplib when the servers 2008-02-12 18:48:23 +00:00
ihooks.py
imaplib.py #1389051: IMAP module tries to read entire message in one chunk. Patch by Fredrik Lundh. 2008-02-23 19:06:54 +00:00
imghdr.py SF #75103: imghdr -- identify JPEGs in EXIF format 2005-01-07 08:15:41 +00:00
imputil.py Patch #685268: Consider a package's __path__ in imputil. 2007-02-13 08:35:01 +00:00
inspect.py Patch #1739696: use code.co_code only if really necessary 2007-07-12 08:11:32 +00:00
keyword.py Regenerate. 2006-02-28 22:50:17 +00:00
linecache.py Linecache contains support for PEP302 loaders, but fails to deal with loaders 2006-06-13 11:19:56 +00:00
locale.py Patch #1710352: add missing public functions to locale.__all__. 2007-05-01 06:08:20 +00:00
macpath.py Bug #1266283: lexists() is not exported from os.path 2005-08-22 18:02:59 +00:00
macurl2path.py Bug #649974: make docstrings for url2pathname consistent 2005-12-26 22:53:56 +00:00
mailbox.py Bug 1277: make Maildir use the user-provided factory instead of hard-wiring MaildirMessage. 2008-01-19 20:14:40 +00:00
mailcap.py
markupbase.py Normalized a few cases of whitespace in function declarations. 2006-06-06 12:46:55 +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 Bug #1250170, Patch #1462230: handle socket.gethostname() 2006-03-31 17:18:06 +00:00
mimetypes.py Bug #1202018: add some common mime.types locations. 2006-06-14 08:42:11 +00:00
mimify.py
modulefinder.py
multifile.py
mutex.py
netrc.py
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 SF bug #1473760 TempFile can hang on Windows. 2006-04-21 21:18:10 +00:00
nturl2path.py Bug #649974: make docstrings for url2pathname consistent 2005-12-26 22:53:56 +00:00
opcode.py PEP 343 -- the with-statement. 2006-02-27 22:32:47 +00:00
optparse.py Backport r66813: per Greg Ward, optparse is no longer being externally maintained. 2008-11-14 00:17:12 +00:00
os.py Fix os.walk docstring example - issue2707 2008-05-06 07:06:44 +00:00
os2emxpath.py Bug #1266283: lexists() is not exported from os.path 2005-08-22 18:02:59 +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 In the recursive debug command, pass Pdb arguments (completekey, stdin, stdout) 2008-02-13 18:41:48 +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
pkgutil.py Bug #1529871: The speed enhancement patch #921466 broke Python's compliance 2006-07-28 21:12:07 +00:00
platform.py Issue #3762: platform.architecture() fails if python is lanched via its symbolic link. 2008-09-04 11:21:28 +00:00
popen2.py Fix check for empty list (vs. None). 2006-07-21 17:36:31 +00:00
poplib.py In stdlib, use hashlib instead of deprecated md5 and sha modules. 2006-04-30 08:57:35 +00:00
posixfile.py Add support for FreeBSD 7. 2005-07-17 02:36:59 +00:00
posixpath.py Bug #1713: posixpath.ismount() claims symlink to a mountpoint is a mountpoint. 2008-01-04 13:22:36 +00:00
pprint.py pprint functions used to sort a dict (by key) if and only if 2006-06-02 23:22:51 +00:00
profile.py test and fix for buggy handling of exceptions raised by C functions, 2005-09-20 18:50:13 +00:00
pstats.py Bug #1603321: make pstats.Stats accept Unicode file paths. 2006-11-26 19:27:51 +00:00
pty.py [Patch #783050 from Patrick Lynch] The emulation of forkpty() is incorrect; 2007-01-31 07:48:49 +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 Bug #1560617: in pyclbr, return full module name not only for classes, 2006-09-30 11:06:55 +00:00
pydoc.py #4259: update the URL pattern for module documentation 2008-12-11 02:09:36 +00:00
quopri.py
random.py SF# 1635892: Fix docs for betavariate's input parameters . 2007-01-19 18:03:13 +00:00
re.py Backport doc fixes from 2.6. These are all things that were already 2008-02-05 17:31:37 +00:00
repr.py Bug #1153: repr.repr() now doesn't require set and dictionary items 2007-09-12 19:00:10 +00:00
rexec.py Backport r54787 - better error messages in rexec and bastion 2007-04-21 07:23:36 +00:00
rfc822.py Bug #1249573: fix rfc822.parsedate not accepting a certain date format 2007-01-22 21:10:43 +00:00
rlcompleter.py Bug #2220: handle rlcompleter attribute match failure more gracefully. 2008-03-06 07:46:26 +00:00
robotparser.py backport r57626 2007-08-28 23:26:55 +00:00
runpy.py Revert the __module_name__ changes made in rev 47142. We'll revisit this in Python 2.6 2006-07-06 12:53:04 +00:00
sched.py #2803: fix heappush invocation (backport). 2008-05-11 15:21:42 +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 As mentioned on python-dev, reverting patch #1504333 because it introduced 2006-09-11 04:05:18 +00:00
sha.py [ sf.net patch # 1121611 ] 2005-08-21 18:45:59 +00:00
shelve.py Bug #1339007: Shelf objects now don't raise an exception in their 2006-06-14 06:08:31 +00:00
shlex.py
shutil.py #3134: shutil referenced undefined WindowsError symbol 2008-08-12 08:39:33 +00:00
site.py Patch #1540892: site.py Quitter() class attempts to close sys.stdin 2006-08-16 05:01:42 +00:00
smtpd.py Backport 58618: 2007-10-24 03:52:50 +00:00
smtplib.py Issue #4302: Minor corrections to smtplib. (Backport r60975) 2008-12-10 09:54:59 +00:00
sndhdr.py
socket.py Backport r62627 + r62744 from trunk to fix issue 2632. 2008-07-06 04:04:07 +00:00
sre.py Bug #1675967: re patterns pickled with older Python versions can 2007-03-21 20:37:39 +00:00
sre_compile.py Issue #1700, reported by Nguyen Quan Son, fix by Fredruk Lundh: 2008-01-03 19:08:15 +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 Bug #1202493: Fixing SRE parser to handle '{}' as perl does, rather than 2005-09-14 08:54:39 +00:00
stat.py
statvfs.py
string.py Cookie.py shouldn't "bogusly" use string._idmap. 2006-08-14 22:01:24 +00:00
stringold.py Remove outdated references to the regsub module. 2004-12-07 07:55:07 +00:00
stringprep.py Avoid forward-declaring the methods array. 2006-03-10 11:20:04 +00:00
struct.py Typo fix 2006-07-30 16:41:30 +00:00
subprocess.py (backport from trunk r64756) 2008-08-04 03:23:25 +00:00
sunau.py
sunaudio.py
symbol.py PEP 343 -- the with-statement. 2006-02-27 22:32:47 +00:00
symtable.py Get symtable to limp along, can run compiler/symbols.py. Not saying much, needs more work. 2005-11-25 03:14:00 +00:00
tabnanny.py Make tabnanny recognize IndentationErrors raised by tokenize. 2006-08-14 21:34:08 +00:00
tarfile.py Avoid EOFError being passed to the caller (restoring the 2009-03-22 21:34:05 +00:00
telnetlib.py Patch #825417: Fix timeout processing in expect, 2006-07-03 13:01:35 +00:00
tempfile.py Backport relevant part of issue 2021 fix (r60695): Support with statement properly in tempfile.NamedTemporaryFile 2008-02-11 12:53:42 +00:00
textwrap.py Whitespace normalization. 2006-06-11 19:42:51 +00:00
this.py
threading.py Backport of r66275/r66274 from trunk/py3k. This is the last bit of 2008-09-07 01:03:35 +00:00
timeit.py
toaiff.py
token.py
tokenize.py Issue2495: tokenize.untokenize did not insert space between two consecutive string literals: 2008-03-27 23:41:59 +00:00
trace.py back in these go - thanks to Titus Brown for the fix 2007-11-24 14:31:16 +00:00
traceback.py Fix a bug in traceback.format_exception_only() that led to an error 2006-09-24 12:50:28 +00:00
tty.py
types.py Patch #1520294: Support for getset and member descriptors in types.py, 2006-07-27 23:43:15 +00:00
unittest.py backport rev. 54207: add a few sanity checks in unittest.TestSuite.addTest(s). 2007-03-07 11:55:25 +00:00
urllib.py Bug #767111: fix long-standing bug in urllib which caused an 2007-03-14 08:27:57 +00:00
urllib2.py Issue #2670: urllib2.build_opener() failed when two handlers 2008-04-22 21:17:18 +00:00
urlparse.py Forgot to backport the rest of #1637. 2008-01-06 02:40:07 +00:00
user.py
uu.py Jython compatibility fix: if uu.decode() opened its output file, be sure to 2006-11-20 13:39:57 +00:00
uuid.py Bug #1541863: uuid.uuid1 failed to generate unique identifiers 2006-08-18 03:40:13 +00:00
warnings.py Ignore ImportWarning by default 2006-07-06 13:35:27 +00:00
wave.py Also commit the patch ;) 2007-03-15 07:43:22 +00:00
weakref.py SF #1479988: add methods to allow access to weakrefs for the 2006-05-02 06:53:59 +00:00
webbrowser.py Fix a few webbrowser.py problems. 2007-07-01 08:11:40 +00:00
whichdb.py Replace list of constants with tuples of constants. 2005-02-06 06:57:08 +00:00
wsgiref.egg-info Sync w/external release 0.1.2. Please see PEP 360 before making changes to external packages. 2006-06-12 04:04:32 +00:00
xdrlib.py Make xdrlib use floor division instead of classic division. 2006-03-28 10:07:46 +00:00
xmllib.py
xmlrpclib.py [Bug #1164912] Ensure Datetime wrapper class .value attribute is an 8-bit string, not a Unicode string 2005-12-04 19:11:17 +00:00
zipfile.py backport r60116 - fix zipfile to work with archives having file 2008-01-19 23:16:01 +00:00