cpython/Lib
Christian Heimes fdab48ea2f Merged revisions 60094-60123 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

*** NOTE ***
I haven't merged the files in Doc/c-api/. I got too many conflicts. Georg,
please split them manually.

........
  r60095 | andrew.kuchling | 2008-01-19 21:12:04 +0100 (Sat, 19 Jan 2008) | 2 lines

  Bug 1277: make Maildir use the user-provided factory instead of hard-wiring MaildirMessage.
  2.5.2 bugfix candidate.
........
  r60097 | georg.brandl | 2008-01-19 21:22:13 +0100 (Sat, 19 Jan 2008) | 4 lines

  #1663329: add os.closerange() to close a range of fds,
  ignoring errors, and use this in subprocess to speed up
  subprocess creation in close_fds mode. Patch by Mike Klaas.
........
  r60099 | georg.brandl | 2008-01-19 21:40:24 +0100 (Sat, 19 Jan 2008) | 2 lines

  #1411695: clarify behavior of xml.sax.utils.[un]escape.
........
  r60101 | andrew.kuchling | 2008-01-19 21:47:59 +0100 (Sat, 19 Jan 2008) | 7 lines

  Patch #1019808 from Federico Schwindt: Return correct socket error when
  a default timeout has been set, by using getsockopt() to get the error
  condition (instead of trying another connect() call, which seems to be
  a Linuxism).

  2.5 bugfix candidate, assuming no one reports any problems with this change.
........
  r60102 | gregory.p.smith | 2008-01-19 21:49:02 +0100 (Sat, 19 Jan 2008) | 3 lines

  fix comment typos, use not arg instead of arg == "", add test coverage
  for inside of the final if needquotes: within subprocess.list2cmdline().
........
  r60103 | georg.brandl | 2008-01-19 21:53:07 +0100 (Sat, 19 Jan 2008) | 2 lines

  #1509: fix sqlite3 docstrings and docs w.r.t. cursor.fetchXXX methods.
........
  r60104 | gregory.p.smith | 2008-01-19 21:57:59 +0100 (Sat, 19 Jan 2008) | 6 lines

  Fixes issue1336 - a race condition could occur when forking if the gc
  kicked in during the critical section.  solution: disable gc during
  that section.  Patch contributed by jpa and updated by me to cover the
  race condition still existing what therve from twistedmatrix pointed
  out (already seen and fixed in twisted's own subprocess code).
........
  r60105 | gregory.p.smith | 2008-01-19 22:00:37 +0100 (Sat, 19 Jan 2008) | 2 lines

  note about r60104
........
  r60106 | andrew.kuchling | 2008-01-19 22:00:38 +0100 (Sat, 19 Jan 2008) | 1 line

  Bug 1296: restore text describing OptionGroup
........
  r60109 | georg.brandl | 2008-01-19 23:08:21 +0100 (Sat, 19 Jan 2008) | 2 lines

  Split the monstrous C API manual files in smaller parts.
........
  r60110 | georg.brandl | 2008-01-19 23:14:27 +0100 (Sat, 19 Jan 2008) | 2 lines

  Missed one big file to split up.
........
  r60111 | gregory.p.smith | 2008-01-19 23:23:56 +0100 (Sat, 19 Jan 2008) | 12 lines

  Undo an unnecessary else: and indentation that r60104 added.

  try:
    ...
  except:
    ...
    raise
  else:
    ...

  the else: is unecessary due to the blind except: with a raise.
........
  r60115 | gregory.p.smith | 2008-01-19 23:49:37 +0100 (Sat, 19 Jan 2008) | 3 lines

  Fix issue 1300: Quote command line arguments that contain a '|' character in
  subprocess.list2cmdline (windows).
........
  r60116 | gregory.p.smith | 2008-01-20 00:10:52 +0100 (Sun, 20 Jan 2008) | 3 lines

  Fixes/Accepts Patch for issue1189216 - Work properly with archives
  that have file headers past the 2**31 byte boundary.
........
  r60119 | andrew.kuchling | 2008-01-20 01:00:38 +0100 (Sun, 20 Jan 2008) | 3 lines

  Patch #1048820 from Stefan Wehr: add insert-mode editing to Textbox.
  Fix an off-by-one error I noticed.
........
  r60120 | andrew.kuchling | 2008-01-20 01:12:19 +0100 (Sun, 20 Jan 2008) | 1 line

  Add an interactive test script for exercising curses
........
  r60121 | gregory.p.smith | 2008-01-20 02:21:03 +0100 (Sun, 20 Jan 2008) | 7 lines

  Fix zipfile decryption.  The check for validity only worked on one
  type of encrypted zip files.  Files using extended local headers
  needed to compare the check byte against different values.  (according
  to reading the infozip unzip crypt.c source code)

  Fixes issue1003.
........
  r60122 | gregory.p.smith | 2008-01-20 02:26:04 +0100 (Sun, 20 Jan 2008) | 2 lines

  note for r60121
........
  r60123 | gregory.p.smith | 2008-01-20 02:32:00 +0100 (Sun, 20 Jan 2008) | 4 lines

  Document that zipfile decryption is insanely slow and fix a typo and
  blatant lie in a docstring (it is not useful for security regardless of
  how you spell it).
........
2008-01-20 09:06:41 +00:00
..
bsddb Merged revisions 58817-58861 via svnmerge from 2007-11-05 19:43:04 +00:00
ctypes Merged revisions 60001,60003-60004,60008 via svnmerge from 2008-01-17 18:46:55 +00:00
curses Merged revisions 60094-60123 via svnmerge from 2008-01-20 09:06:41 +00:00
distutils Missed one because of indirection. 2008-01-06 21:41:49 +00:00
email Merged revisions 60053-60078 via svnmerge from 2008-01-19 16:21:02 +00:00
encodings The bz2 codec isn't supported any more. I've also commented out several codecs which were removed in the past. 2007-12-02 15:27:38 +00:00
idlelib Merged revisions 59595-59604 via svnmerge from 2007-12-28 14:08:13 +00:00
lib-tk Merged revisions 59642-59665 via svnmerge from 2008-01-02 18:30:52 +00:00
logging Merged revisions 60043-60052 via svnmerge from 2008-01-18 18:40:46 +00:00
msilib long integer -> integer. 2007-11-29 18:48:53 +00:00
plat-aix4
plat-atheos
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6 Merged revisions 58221-58741 via svnmerge from 2007-11-01 19:42:39 +00:00
plat-freebsd7 Merged revisions 58221-58741 via svnmerge from 2007-11-01 19:42:39 +00:00
plat-freebsd8 Merged revisions 58221-58741 via svnmerge from 2007-11-01 19:42:39 +00:00
plat-generic
plat-linux2
plat-mac Fix more exception slicing. 2008-01-06 21:13:42 +00:00
plat-netbsd1
plat-next3
plat-os2emx Run 2to3's fix_has_key over Lib/plat-os2emx/. 2007-09-01 20:35:04 +00:00
plat-sunos5 Merged revisions 56492-56752 via svnmerge from 2007-08-05 15:29:28 +00:00
plat-unixware7
site-packages
sqlite3 Merged revisions 59628-59641 via svnmerge from 2008-01-01 14:42:15 +00:00
test Merged revisions 60094-60123 via svnmerge from 2008-01-20 09:06:41 +00:00
wsgiref Issue #1066: implement PEP 3109, 2/3 of PEP 3134. 2007-08-31 00:04:24 +00:00
xml Removed the new module 2007-11-28 08:28:28 +00:00
__future__.py
__phello__.foo.py
_abcoll.py Removed PyInt_GetMax and sys.maxint 2007-12-04 23:02:19 +00:00
_LWPCookieJar.py
_markupbase.py rename markupbase to _markupbase 2007-12-07 11:10:11 +00:00
_MozillaCookieJar.py
_strptime.py
_threading_local.py
abc.py Copied doc for reload() from trunk's function.rst to imp.rst 2008-01-07 17:19:16 +00:00
aifc.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
anydbm.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
asynchat.py Fix test_smtplib by munging asynchat some more. 2007-08-31 00:20:14 +00:00
asyncore.py Fix exception slicing. 2008-01-06 18:23:30 +00:00
base64.py Rename buffer -> bytearray. 2007-11-21 19:29:53 +00:00
BaseHTTPServer.py make sure to write bytes instead of strings to underlying socket channel 2007-10-30 18:13:17 +00:00
bdb.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
binhex.py Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +00:00
bisect.py
build_class.py
calendar.py Merged revisions 58939-58946 via svnmerge from 2007-11-12 15:01:33 +00:00
cgi.py Merged revisions 58211-58220 via svnmerge from 2007-09-20 18:22:40 +00:00
CGIHTTPServer.py Kill execfile(), use exec() instead 2007-08-12 00:43:29 +00:00
cgitb.py
chunk.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
cmd.py Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +00:00
code.py Fix issue #1707. When raw_input() was removed, it was incorrectly replaced 2008-01-02 02:55:27 +00:00
codecs.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
codeop.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
collections.py Merged revisions 59883-59920 via svnmerge from 2008-01-11 16:17:00 +00:00
colorsys.py
commands.py
compileall.py Improve error handling; don't die from unicode errors or syntax errors. 2007-07-15 13:01:48 +00:00
ConfigParser.py Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +00:00
contextlib.py Merged revisions 58742-58816 via svnmerge from 2007-11-02 23:46:40 +00:00
Cookie.py Fix test_cookie.py. 2007-07-20 00:30:38 +00:00
cookielib.py Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +00:00
copy.py Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
copy_reg.py Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +00:00
cProfile.py Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +00:00
csv.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
dbhash.py
decimal.py Merged revisions 59985-60000,60002,60005-60007,60009-60042 via svnmerge from 2008-01-18 09:56:22 +00:00
difflib.py Merged revisions 59883-59920 via svnmerge from 2008-01-11 16:17:00 +00:00
dircache.py
dis.py Removed the API to create unbound methods and simplified the API for bound methods. The signature is PyMethod_New(func, instance). 2007-11-27 10:40:20 +00:00
doctest.py Merged revisions 59883-59920 via svnmerge from 2008-01-11 16:17:00 +00:00
DocXMLRPCServer.py Merged revisions 59450-59464 via svnmerge from 2007-12-11 01:06:40 +00:00
dumbdbm.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
dummy_thread.py
dummy_threading.py
filecmp.py Fix more exception slicing. 2008-01-06 21:13:42 +00:00
fileinput.py Patch 1341 by Amaury Forgeot d'Arc. 2007-10-29 17:39:59 +00:00
fnmatch.py
formatter.py
fpformat.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
ftplib.py Change the default encoding for ftplib.FTP to latin1 so that bytes can be in 2007-10-08 19:48:15 +00:00
functools.py
genericpath.py
getopt.py Change a bunch of file encodings from Latin-1 to UTF-8. 2007-07-16 23:10:57 +00:00
getpass.py Patch #1703 by Philip Jenvey -- getpass() should flush after writing prompt. 2008-01-01 16:30:47 +00:00
gettext.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
glob.py
gzip.py Removed PyInt_GetMax and sys.maxint 2007-12-04 23:02:19 +00:00
hashlib.py Adds stand alone _md5 and _sha1 modules for use by hashlib on systems 2007-09-09 06:44:34 +00:00
heapq.py
hmac.py Merged revisions 58862-58885 via svnmerge from 2007-11-06 20:51:31 +00:00
htmlentitydefs.py Use strings for all entity values, as that is now possible 2007-12-29 18:38:41 +00:00
htmllib.py
HTMLParser.py rename markupbase to _markupbase 2007-12-07 11:10:11 +00:00
httplib.py Merged revisions 59407-59422 via svnmerge from 2007-12-08 17:28:33 +00:00
ihooks.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
imaplib.py Merged revisions 58095-58132,58136-58148,58151-58197 via svnmerge from 2007-09-19 03:06:30 +00:00
imghdr.py Improved patches for sndhdr and imghdr by Victor Stinner, who writes: 2007-08-13 17:50:00 +00:00
imputil.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
inspect.py Merged revisions 59883-59920 via svnmerge from 2008-01-11 16:17:00 +00:00
io.py Fix issue1753: TextIOWrapper.write writes utf BOM for every string. 2008-01-07 18:30:48 +00:00
keyword.py
linecache.py
locale.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
macpath.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
macurl2path.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
mailbox.py Merged revisions 60094-60123 via svnmerge from 2008-01-20 09:06:41 +00:00
mailcap.py
mhlib.py Removed PyInt_GetMax and sys.maxint 2007-12-04 23:02:19 +00:00
mimetools.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
mimetypes.py Merged revisions 58221-58741 via svnmerge from 2007-11-01 19:42:39 +00:00
modulefinder.py Merged revisions 59193-59201 via svnmerge from 2007-11-27 21:50:00 +00:00
multifile.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
mutex.py
netrc.py Patch # 1331 by Christian Heimes. 2007-10-26 04:29:23 +00:00
nntplib.py
ntpath.py Merged revisions 59703-59773 via svnmerge from 2008-01-06 16:59:19 +00:00
nturl2path.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
numbers.py Update the py3k version of the rational module to expose only methods needed by 2008-01-17 07:36:30 +00:00
opcode.py Merged revisions 59541-59561 via svnmerge from 2007-12-19 02:07:34 +00:00
optparse.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
os.py Merged revisions 59193-59201 via svnmerge from 2007-11-27 21:50:00 +00:00
os2emxpath.py
pdb.doc
pdb.py Merged revisions 59985-60000,60002,60005-60007,60009-60042 via svnmerge from 2008-01-18 09:56:22 +00:00
pickle.py Rename buffer -> bytearray. 2007-11-21 19:29:53 +00:00
pickletools.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
pipes.py Merged revisions 57620-57771 via svnmerge from 2007-08-30 22:15:33 +00:00
pkgutil.py Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +00:00
platform.py Fix bug introduced by r59746. 2008-01-05 21:20:19 +00:00
poplib.py Merged revisions 58095-58132,58136-58148,58151-58197 via svnmerge from 2007-09-19 03:06:30 +00:00
posixpath.py Merged revisions 59703-59773 via svnmerge from 2008-01-06 16:59:19 +00:00
pprint.py SF patch# 1770008 by Christian Heimes (plus some extras). 2007-08-09 01:03:29 +00:00
profile.py Kill execfile(), use exec() instead 2007-08-12 00:43:29 +00:00
pstats.py The final occurrences of exception slicing. 2008-01-06 21:38:54 +00:00
pty.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
py_compile.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
pyclbr.py
pydoc.py #1867: fix a few 3.0 incompatibilities in pydoc. 2008-01-19 20:44:32 +00:00
Queue.py Sync-up Queue.py with Py2.6 2008-01-17 00:13:27 +00:00
quopri.py Patch 1329 (partial) by Christian Heimes. 2007-10-30 17:27:30 +00:00
random.py Take Tim's advice and have random.sample() support only sequences and sets. 2008-01-14 01:00:53 +00:00
rational.py Merged revisions 60053-60078 via svnmerge from 2008-01-19 16:21:02 +00:00
re.py Merged revisions 59565-59594 via svnmerge from 2007-12-24 08:52:31 +00:00
repr.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
rfc822.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
rlcompleter.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
robotparser.py Merged revisions 57620-57771 via svnmerge from 2007-08-30 22:15:33 +00:00
runpy.py Merged revisions 59275-59303 via svnmerge from 2007-12-03 21:02:03 +00:00
sched.py Merged revisions 59985-60000,60002,60005-60007,60009-60042 via svnmerge from 2008-01-18 09:56:22 +00:00
sgmllib.py rename markupbase to _markupbase 2007-12-07 11:10:11 +00:00
shelve.py Change shelve to require a bytes-oriented dict as 2007-08-11 06:57:14 +00:00
shlex.py Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +00:00
shutil.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
SimpleHTTPServer.py
SimpleXMLRPCServer.py Fixed two of the three failing xml rpc tests 2007-12-08 18:38:20 +00:00
site.py Remove several mentions of old Python versions that don't apply anymore. 2008-01-05 20:00:55 +00:00
smtpd.py Merged revisions 58221-58741 via svnmerge from 2007-11-01 19:42:39 +00:00
smtplib.py Merged revisions 59985-60000,60002,60005-60007,60009-60042 via svnmerge from 2008-01-18 09:56:22 +00:00
sndhdr.py Improved patches for sndhdr and imghdr by Victor Stinner, who writes: 2007-08-13 17:50:00 +00:00
socket.py update to fix leak in SSL code 2007-12-14 22:08:56 +00:00
SocketServer.py Merged revisions 60080-60089,60091-60093 via svnmerge from 2008-01-19 20:08:23 +00:00
sre.py
sre_compile.py Merged revisions 59666-59679 via svnmerge from 2008-01-03 23:01:04 +00:00
sre_constants.py
sre_parse.py Removed PyInt_GetMax and sys.maxint 2007-12-04 23:02:19 +00:00
ssl.py update to fix leak in SSL code 2007-12-14 22:08:56 +00:00
stat.py
statvfs.py
string.py Rename buffer -> bytearray. 2007-11-21 19:29:53 +00:00
stringprep.py
struct.py Merged revisions 59696-59702 via svnmerge from 2008-01-04 03:08:33 +00:00
subprocess.py Merged revisions 60094-60123 via svnmerge from 2008-01-20 09:06:41 +00:00
sunau.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
sunaudio.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
symbol.py Regenerate Lib/symbol.py. 2007-08-31 07:58:27 +00:00
symtable.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
tabnanny.py
tarfile.py Merged revisions 59703-59773 via svnmerge from 2008-01-06 16:59:19 +00:00
telnetlib.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
tempfile.py Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
textwrap.py Merged revisions 60080-60089,60091-60093 via svnmerge from 2008-01-19 20:08:23 +00:00
this.py
threading.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
timeit.py Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +00:00
token.py
tokenize.py Merged revisions 60080-60089,60091-60093 via svnmerge from 2008-01-19 20:08:23 +00:00
trace.py Merged revisions 60080-60089,60091-60093 via svnmerge from 2008-01-19 20:08:23 +00:00
traceback.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
tty.py
types.py Fix docstring of types.py. 2007-12-21 08:16:54 +00:00
unittest.py Minor cleanup 2007-11-26 10:14:51 +00:00
urllib.py Remove dead code brought in by merge glitch @ r59667 2008-01-05 19:03:18 +00:00
urllib2.py Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
urlparse.py Merged revisions 59921-59932 via svnmerge from 2008-01-12 19:39:10 +00:00
user.py Kill execfile(), use exec() instead 2007-08-12 00:43:29 +00:00
UserDict.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
UserList.py Remove the simple slicing API. All slicing is now done with slice objects. 2007-08-30 22:57:53 +00:00
UserString.py Removed PyInt_GetMax and sys.maxint 2007-12-04 23:02:19 +00:00
uu.py Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +00:00
uuid.py Rename buffer -> bytearray. 2007-11-21 19:29:53 +00:00
warnings.py Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +00:00
wave.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
weakref.py #1061 (mainly by Thomas Wouters): use weak sets for abc caches. 2007-10-23 06:26:46 +00:00
webbrowser.py Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +00:00
whichdb.py Remove RISCOS support 2007-08-16 14:35:24 +00:00
wsgiref.egg-info
xdrlib.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
xmlrpclib.py Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
zipfile.py Merged revisions 60094-60123 via svnmerge from 2008-01-20 09:06:41 +00:00