cpython/Lib
Christian Heimes cbf3b5cb76 Merged revisions 59275-59303 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
NOTE: The merge does NOT contain the modified file Python/import.c from
      r59288. I can't get it running. Nick, please check in the PEP 366
      manually.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

........
  r59279 | georg.brandl | 2007-12-02 19:17:50 +0100 (Sun, 02 Dec 2007) | 2 lines

  Fix a sentence I missed before. Do not merge to 3k.
........
  r59281 | georg.brandl | 2007-12-02 22:58:54 +0100 (Sun, 02 Dec 2007) | 3 lines

  Add documentation for PySys_* functions.
  Written by Charlie Shepherd for GHOP. Also fixes #1245.
........
  r59288 | nick.coghlan | 2007-12-03 13:55:17 +0100 (Mon, 03 Dec 2007) | 1 line

  Implement PEP 366
........
  r59290 | christian.heimes | 2007-12-03 14:47:29 +0100 (Mon, 03 Dec 2007) | 3 lines

  Applied my patch #1455 with some extra fixes for VS 2005
  The new msvc9compiler module supports VS 2005 and VS 2008. I've also fixed build_ext to support PCbuild8 and PCbuild9 and backported my fix for xxmodule.c from py3k. The old code msvccompiler is still in place in case somebody likes to build an extension with VS 2003 or earlier.
  I've also updated the cygwin compiler module for VS 2005 and VS 2008. It works with VS 2005 but I'm unable to test it with VS 2008. We have to wait for a new version of cygwin.
........
  r59291 | christian.heimes | 2007-12-03 14:55:16 +0100 (Mon, 03 Dec 2007) | 1 line

  Added comment to Misc/NEWS for r59290
........
  r59292 | christian.heimes | 2007-12-03 15:28:04 +0100 (Mon, 03 Dec 2007) | 1 line

  I followed MA Lemberg's suggestion and added comments to the late initialization of the type slots.
........
  r59293 | facundo.batista | 2007-12-03 17:29:52 +0100 (Mon, 03 Dec 2007) | 3 lines


  Speedup and cleaning of __str__.  Thanks Mark Dickinson.
........
  r59294 | facundo.batista | 2007-12-03 18:55:00 +0100 (Mon, 03 Dec 2007) | 4 lines


  Faster _fix function, and some reordering for a more elegant
  coding. Thanks Mark Dickinson.
........
  r59295 | martin.v.loewis | 2007-12-03 20:20:02 +0100 (Mon, 03 Dec 2007) | 5 lines

  Issue #1727780: Support loading pickles of random.Random objects created
  on 32-bit systems on 64-bit systems, and vice versa. As a consequence
  of the change, Random pickles created by Python 2.6 cannot be loaded
  in Python 2.5.
........
  r59297 | facundo.batista | 2007-12-03 20:49:54 +0100 (Mon, 03 Dec 2007) | 3 lines


  Two small fixes. Issue 1547.
........
  r59299 | georg.brandl | 2007-12-03 20:57:02 +0100 (Mon, 03 Dec 2007) | 2 lines

  #1548: fix apostroph placement.
........
  r59300 | christian.heimes | 2007-12-03 21:01:02 +0100 (Mon, 03 Dec 2007) | 3 lines

  Patch #1537 from Chad Austin
  Change GeneratorExit's base class from Exception to BaseException
  (This time I'm applying the patch to the correct sandbox.)
........
  r59302 | georg.brandl | 2007-12-03 21:03:46 +0100 (Mon, 03 Dec 2007) | 3 lines

  Add examples to the xmlrpclib docs.
  Written for GHOP by Josip Dzolonga.
........
2007-12-03 21:02:03 +00:00
..
bsddb Merged revisions 58817-58861 via svnmerge from 2007-11-05 19:43:04 +00:00
ctypes 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
curses
distutils Merged revisions 59275-59303 via svnmerge from 2007-12-03 21:02:03 +00:00
email Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +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 #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
lib-tk 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
logging Merged revisions 58930-58938 via svnmerge from 2007-11-12 01:32:03 +00:00
msilib long integer -> integer. 2007-11-29 18:48:53 +00:00
plat-aix4
plat-atheos Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
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 #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +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 Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
site-packages
sqlite3 Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
test Merged revisions 59275-59303 via svnmerge from 2007-12-03 21:02:03 +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 more types from the types module 2007-11-29 16:21:13 +00:00
_LWPCookieJar.py
_MozillaCookieJar.py
_strptime.py Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
_threading_local.py
abc.py Backmerge -r59233:59232 2007-11-30 15:13:13 +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 In followup to #1310: Remove more exception indexing. 2007-10-22 16:16:13 +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 Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
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 Merged revisions 55795-55816 via svnmerge from 2007-06-07 23:15:56 +00:00
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 Merged revisions 56492-56752 via svnmerge from 2007-08-05 15:29:28 +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 Oops, forgot to test this after the merge. 2007-11-16 00:48:13 +00:00
colorsys.py
commands.py Merged revisions 55225-55227,55229-55269 via svnmerge from 2007-05-11 16:50:42 +00:00
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_reg.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
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 Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
decimal.py Merged revisions 59275-59303 via svnmerge from 2007-12-03 21:02:03 +00:00
difflib.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +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 59193-59201 via svnmerge from 2007-11-27 21:50:00 +00:00
DocXMLRPCServer.py Patch from Georg Brandl and me for #1493 2007-11-25 09:39:14 +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 Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
fileinput.py Patch 1341 by Amaury Forgeot d'Arc. 2007-10-29 17:39:59 +00:00
fnmatch.py
formatter.py Merged revisions 55328-55341 via svnmerge from 2007-05-15 18:46:22 +00:00
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 Merged revisions 55325-55327 via svnmerge from 2007-05-14 22:51:27 +00:00
getopt.py Change a bunch of file encodings from Latin-1 to UTF-8. 2007-07-16 23:10:57 +00:00
getpass.py
gettext.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
glob.py Rip out all the u"..." literals and calls to unicode(). 2007-05-02 19:09:54 +00:00
gzip.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +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 Merged revisions 56125-56153 via svnmerge from 2007-07-03 08:25:58 +00:00
hmac.py Merged revisions 58862-58885 via svnmerge from 2007-11-06 20:51:31 +00:00
htmlentitydefs.py
htmllib.py
HTMLParser.py Rename 'unicode' to 'str' in its tp_name field. Rename 'str' to 'str8'. 2007-05-03 17:18:26 +00:00
httplib.py Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +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 #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
io.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
keyword.py Merged revisions 56020-56124 via svnmerge from 2007-06-30 05:01:58 +00:00
linecache.py Be even more lenient when catching errors from readlines(). 2007-07-10 11:34:31 +00:00
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 Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
mailcap.py
markupbase.py
mhlib.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +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 57221-57391 via svnmerge from 2007-08-24 16:32:05 +00:00
nturl2path.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
numbers.py Check in some documentation tweaks for PEP 3141, add some tests, and implement 2007-09-07 15:15:49 +00:00
opcode.py Remove the simple slicing API. All slicing is now done with slice objects. 2007-08-30 22:57:53 +00:00
optparse.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
os2emxpath.py
os.py Merged revisions 59193-59201 via svnmerge from 2007-11-27 21:50:00 +00:00
pdb.doc Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
pdb.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
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 Merged revisions 58095-58132,58136-58148,58151-58197 via svnmerge from 2007-09-19 03:06:30 +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 57221-57391 via svnmerge from 2007-08-24 16:32:05 +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 Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +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 PEP 3114: rename .next() to .__next__() and add next() builtin. 2007-04-21 15:47:16 +00:00
pydoc.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
Queue.py
quopri.py Patch 1329 (partial) by Christian Heimes. 2007-10-30 17:27:30 +00:00
random.py Merged revisions 59275-59303 via svnmerge from 2007-12-03 21:02:03 +00:00
re.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +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 58221-58741 via svnmerge from 2007-11-01 19:42:39 +00:00
sgmllib.py Merged revisions 56782-56847 via svnmerge from 2007-08-09 14:26:58 +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 Change some uses of cStringIO.StringIO to io.StringIO. 2007-05-18 00:51:22 +00:00
SimpleXMLRPCServer.py Convert the socket module to insist on bytes for input, and to return bytes 2007-11-21 22:09:45 +00:00
site.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
smtpd.py Merged revisions 58221-58741 via svnmerge from 2007-11-01 19:42:39 +00:00
smtplib.py Convert the socket module to insist on bytes for input, and to return bytes 2007-11-21 22:09:45 +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 This is roughly socket2.diff from issue 1378, with a few changes applied 2007-11-16 01:24:05 +00:00
SocketServer.py SF patch# 1764815 by Paul Colomiets. 2007-08-03 19:03:39 +00:00
sre_compile.py Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +00:00
sre_constants.py
sre_parse.py Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
sre.py Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
ssl.py Disable dup() of SSLSocket. I don't think it can be made to work. 2007-11-16 01:28:45 +00:00
stat.py Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
statvfs.py
string.py Rename buffer -> bytearray. 2007-11-21 19:29:53 +00:00
stringprep.py Merged revisions 55007-55179 via svnmerge from 2007-05-07 22:24:25 +00:00
struct.py Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
subprocess.py Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +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 59259-59274 via svnmerge from 2007-12-02 15:22:16 +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 string.maketrans() now produces translation tables for bytes.translate() -- wrong module? 2007-08-31 10:37:15 +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 Patch 1420 by Ron Adam. 2007-11-12 17:40:10 +00:00
trace.py Merged revisions 59107-59186 via svnmerge from 2007-11-26 23:23:18 +00:00
traceback.py #1535: rename __builtin__ module to builtins. 2007-12-02 09:40:06 +00:00
tty.py
types.py Removed more types from the types module 2007-11-29 16:21:13 +00:00
unittest.py Minor cleanup 2007-11-26 10:14:51 +00:00
urllib2.py Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
urllib.py Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
urlparse.py Change some uses of cStringIO.StringIO to io.StringIO. 2007-05-18 00:51:22 +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 Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +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 Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00