cpython/Lib
Gregory P. Smith 60d241f135 For PEP3137: Adds missing methods to the mutable PyBytes object (soon
to be called a buffer).  Shares code with stringobject when possible.
Adds unit tests with common code that should be usable to test the PEPs
mutable buffer() and immutable bytes() types.

 http://bugs.python.org/issue1261
2007-10-16 06:31:30 +00:00
..
bsddb Merge 58450: fix uncollectable reference caused by bsddb.db.DBShelf.append 2007-10-13 23:23:58 +00:00
ctypes Breaking ground for PEP 3137 implementation: 2007-10-08 02:46:15 +00:00
curses
distutils Fix yet another stray 2.x-ism (maybe merged?). 2007-10-15 01:27:53 +00:00
email Restore test_email for a1. It passes completely. 2007-08-31 11:19:21 +00:00
encodings More raise statement normalization. 2007-08-30 18:18:27 +00:00
idlelib Finish bug fix applied at 58398. I missed a piece, Tal Einat found the error. 2007-10-15 02:40:08 +00:00
lib-tk Fix turtle module: None and int are not comparable, map returns an iterator. 2007-09-23 13:37:00 +00:00
logging Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
msilib Raise statement normalization in Lib/. 2007-08-30 01:19:48 +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
plat-freebsd7
plat-generic
plat-linux2
plat-mac Fixing the spelling of "writeable" to "writable", particularly PyBUF_WRITEABLE. 2007-09-17 17:55:36 +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 Breaking ground for PEP 3137 implementation: 2007-10-08 02:46:15 +00:00
test For PEP3137: Adds missing methods to the mutable PyBytes object (soon 2007-10-16 06:31:30 +00:00
wsgiref Issue #1066: implement PEP 3109, 2/3 of PEP 3134. 2007-08-31 00:04:24 +00:00
xml r698@Silves: collinwinter | 2007-08-24 10:57:15 -0700 2007-08-24 18:57:22 +00:00
BaseHTTPServer.py Fixes by John Reese and Jacques Frechet that make test_xmlrpc pass. 2007-08-22 23:45:42 +00:00
CGIHTTPServer.py Kill execfile(), use exec() instead 2007-08-12 00:43:29 +00:00
ConfigParser.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
Cookie.py Fix test_cookie.py. 2007-07-20 00:30:38 +00:00
DocXMLRPCServer.py Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
HTMLParser.py Rename 'unicode' to 'str' in its tp_name field. Rename 'str' to 'str8'. 2007-05-03 17:18:26 +00:00
Queue.py
SimpleHTTPServer.py Change some uses of cStringIO.StringIO to io.StringIO. 2007-05-18 00:51:22 +00:00
SimpleXMLRPCServer.py Merged revisions 57152-57220 via svnmerge from 2007-08-20 19:06:03 +00:00
SocketServer.py SF patch# 1764815 by Paul Colomiets. 2007-08-03 19:03:39 +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 Remove the simple slicing API. All slicing is now done with slice objects. 2007-08-30 22:57:53 +00:00
_LWPCookieJar.py
_MozillaCookieJar.py
__future__.py
__phello__.foo.py
_abcoll.py Breaking ground for PEP 3137 implementation: 2007-10-08 02:46:15 +00:00
_strptime.py Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
_threading_local.py
abc.py Thomas Wouters pointed out that _Abstract.__new__ should use super().__new__() 2007-09-11 20:42:30 +00:00
aifc.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +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 Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
base64.py Forgot one. This makes test_urllib2.py pass. 2007-08-29 02:30:49 +00:00
bdb.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
binhex.py Convert various string literals to bytes. 2007-08-29 17:26:34 +00:00
bisect.py Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
build_class.py Implement PEP 3115 -- new metaclass syntax and semantics. 2007-03-18 15:41:51 +00:00
cProfile.py Kill execfile(), use exec() instead 2007-08-12 00:43:29 +00:00
calendar.py Merged revisions 57620-57771 via svnmerge from 2007-08-30 22:15:33 +00:00
cgi.py Merged revisions 58211-58220 via svnmerge from 2007-09-20 18:22:40 +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 Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
code.py Merged revisions 56492-56752 via svnmerge from 2007-08-05 15:29:28 +00:00
codecs.py Make the BOM constants in codecs.py bytes. 2007-05-04 13:05:09 +00:00
codeop.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
collections.py Merged revisions 58095-58132,58136-58148,58151-58197 via svnmerge from 2007-09-19 03:06:30 +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
contextlib.py Fix a poorly-translated raise statement in contextlib. 2007-09-01 20:27:58 +00:00
cookielib.py SF patch# 1770008 by Christian Heimes (plus some extras). 2007-08-09 01:03:29 +00:00
copy.py Merged revisions 55795-55816 via svnmerge from 2007-06-07 23:15:56 +00:00
copy_reg.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +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 58211-58220 via svnmerge from 2007-09-20 18:22:40 +00:00
difflib.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
dircache.py
dis.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
doctest.py Make _load_testfile() use its encoding argument when __loader__ is defined. 2007-10-12 19:18:19 +00:00
dumbdbm.py Make dumbdbm use bytes for keys consistently. 2007-08-28 00:09:54 +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 Raise statement normalization in Lib/. 2007-08-30 01:19:48 +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 Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
glob.py Rip out all the u"..." literals and calls to unicode(). 2007-05-02 19:09:54 +00:00
gzip.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +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 Changes in anticipation of stricter str vs. bytes enforcement. 2007-08-27 17:23:59 +00:00
htmlentitydefs.py
htmllib.py
httplib.py Merged revisions 58095-58132,58136-58148,58151-58197 via svnmerge from 2007-09-19 03:06:30 +00:00
ihooks.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +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 Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
inspect.py Fix docstring for getfullargspec(). 2007-09-07 02:12:14 +00:00
io.py Make the docstring for io.open() a raw string so that the explanation for the 2007-10-15 20:52:41 +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 Raise statement normalization in Lib/. 2007-08-30 01:19:48 +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 Force test_mailbox and test_old_mailbox into submission. 2007-08-31 04:25:05 +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 55325-55327 via svnmerge from 2007-05-14 22:51:27 +00:00
modulefinder.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
multifile.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
mutex.py
netrc.py
new.py Merged revisions 55795-55816 via svnmerge from 2007-06-07 23:15:56 +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 Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
os.py Make the _wrap_close type (which is returned by os.popen) iterable. 2007-09-04 11:27:47 +00:00
os2emxpath.py
pdb.doc Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
pdb.py Repair a bad translation of the exec statement. 2007-09-12 19:44:18 +00:00
pickle.py Random changes having to do with readline() and bytes. 2007-10-10 18:00:50 +00:00
pickletools.py Change string literals to bytes, since they are compared to bytes. 2007-08-29 19:07:40 +00:00
pipes.py Merged revisions 57620-57771 via svnmerge from 2007-08-30 22:15:33 +00:00
pkgutil.py Remove RISCOS support 2007-08-16 14:35:24 +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 Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
pty.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
py_compile.py A small tweak to avoid calling traceback.format_exception_only() with 2007-08-10 17:36:34 +00:00
pyclbr.py PEP 3114: rename .next() to .__next__() and add next() builtin. 2007-04-21 15:47:16 +00:00
pydoc.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
quopri.py Fix quopri to operate consistently on bytes. 2007-07-28 17:52:25 +00:00
random.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
re.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
repr.py Merged revisions 58095-58132,58136-58148,58151-58197 via svnmerge from 2007-09-19 03:06:30 +00:00
rfc822.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
rlcompleter.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
robotparser.py Merged revisions 57620-57771 via svnmerge from 2007-08-30 22:15:33 +00:00
runpy.py Merge the trunk changes in. Breaks socket.ssl for now. 2007-08-28 21:37:11 +00:00
sched.py Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +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 Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
shutil.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
site.py Three patches from issue #1047, by Amaury Forgeot d'Arc: 2007-08-29 18:38:11 +00:00
smtpd.py Merged revisions 56753-56781 via svnmerge from 2007-08-06 23:33:07 +00:00
smtplib.py Merged revisions 58095-58132,58136-58148,58151-58197 via svnmerge from 2007-09-19 03:06:30 +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 Merged revisions 58095-58132,58136-58148,58151-58197 via svnmerge from 2007-09-19 03:06:30 +00:00
sre.py Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
sre_compile.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
sre_constants.py
sre_parse.py Remove the simple slicing API. All slicing is now done with slice objects. 2007-08-30 22:57:53 +00:00
ssl.py Merged revisions 58095-58132,58136-58148,58151-58197 via svnmerge from 2007-09-19 03:06:30 +00:00
stat.py Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
statvfs.py
string.py Changed some ValueError's to KeyError and IndexError. 2007-09-04 23:04:22 +00:00
stringprep.py Merged revisions 55007-55179 via svnmerge from 2007-05-07 22:24:25 +00:00
struct.py Make struct tests pass. 2007-05-27 09:19:04 +00:00
subprocess.py Breaking ground for PEP 3137 implementation: 2007-10-08 02:46:15 +00:00
sunau.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +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 Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
telnetlib.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
tempfile.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +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 Merged revisions 55407-55513 via svnmerge from 2007-05-22 18:11:13 +00:00
token.py Make ELLIPSIS a separate token. This makes it a syntax error to write ". . ." for Ellipsis. 2007-03-18 19:01:53 +00:00
tokenize.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
trace.py Kill execfile(), use exec() instead 2007-08-12 00:43:29 +00:00
traceback.py Merged revisions 56492-56752 via svnmerge from 2007-08-05 15:29:28 +00:00
tty.py
types.py Breaking ground for PEP 3137 implementation: 2007-10-08 02:46:15 +00:00
unittest.py Add a test for fail*AlmostEqual, including the new support for complex numbers. 2007-09-07 15:00:39 +00:00
urllib.py Merged revisions 58203-58210 via svnmerge from 2007-09-19 21:19:28 +00:00
urllib2.py merge this from trunk: 2007-09-09 23:55:55 +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
uu.py Changes in anticipation of stricter str vs. bytes enforcement. 2007-08-27 17:23:59 +00:00
uuid.py Make uuid.py thread-safe. Fix by Yuri Ginsburg. 2007-08-24 04:13:42 +00:00
warnings.py Merged revisions 55795-55816 via svnmerge from 2007-06-07 23:15:56 +00:00
wave.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
weakref.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00
webbrowser.py Merged revisions 56154-56264 via svnmerge from 2007-07-11 13:09:30 +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 Fix fall-out of str.decode removal. 2007-08-31 14:07:27 +00:00
zipfile.py Raise statement normalization in Lib/. 2007-08-30 01:19:48 +00:00