cpython/Lib
Antoine Pitrou c3b39245a7 Issue #4580: slicing of memoryviews when itemsize != 1 is wrong.
Also fix len() to return number of items rather than length in bytes.

I'm sorry it was not possible for me to work on this without reindenting
a bit some stuff around. The indentation in memoryobject.c is a mess,
I'll open a separate bug for it.
2009-01-03 16:59:18 +00:00
..
ctypes Issue #4580: slicing of memoryviews when itemsize != 1 is wrong. 2009-01-03 16:59:18 +00:00
curses Merged revisions 64623,64640,64665,64687,64689-64690,64719,64721,64735,64742,64744-64746,64756-64761,64767-64769,64771-64772,64774-64775,64788,64793,64835-64836 via svnmerge from 2008-07-16 03:43:04 +00:00
dbm dbm.dumb was opening files without specifying the encoding. Caused problem on 2008-11-24 21:09:58 +00:00
distutils Merged revisions 68081 via svnmerge from 2008-12-30 23:09:20 +00:00
email Issue #4387: binascii now refuses to accept str as binary input. 2008-12-02 06:00:15 +00:00
encodings #1276: Add temporary encoding aliases for non-supported Mac CJK 2008-08-23 08:03:03 +00:00
html #2834: Change re module semantics, so that str and bytes mixing is forbidden, 2008-08-19 17:56:33 +00:00
http Use True/False for ints instead of 1/0. That's so Python 2.0. 2008-12-15 03:00:50 +00:00
idlelib Recorded merge of revisions 68153 via svnmerge from 2009-01-02 13:10:34 +00:00
json merge r66932 and add a few py3k only checks 2008-10-16 21:17:24 +00:00
lib2to3 Merged revisions 68197 via svnmerge from 2009-01-03 16:53:14 +00:00
logging Merged revisions 67511,67536-67537,67543 via svnmerge from 2008-12-07 15:30:06 +00:00
msilib
multiprocessing Merged revisions 67348,67355,67359,67362,67364-67365,67367-67368,67398,67423-67424,67432,67440-67441,67444-67445,67454-67455,67457-67458 via svnmerge from 2008-11-30 22:46:23 +00:00
plat-aix4
plat-atheos
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7 Merged revisions 58221-58741 via svnmerge from 2007-11-01 19:42:39 +00:00
plat-freebsd8
plat-generic
plat-linux2
plat-netbsd1
plat-next3
plat-os2emx Merged revisions 62021,62029,62035-62038,62043-62044,62052-62053 via svnmerge from 2008-03-31 01:51:45 +00:00
plat-sunos5
plat-unixware7
site-packages
sqlite3 Issue #3659: Values of string subclasses were not handled correctly when used 2008-09-22 06:04:51 +00:00
test Issue #4580: slicing of memoryviews when itemsize != 1 is wrong. 2009-01-03 16:59:18 +00:00
tkinter #4406 Directory has to inherit from commondialog.Dialog 2008-12-31 14:51:07 +00:00
urllib Merged revisions 66508,66510,66512-66513,66523-66526,66529-66530,66532,66535,66538,66544,66546 via svnmerge from 2008-09-22 22:10:59 +00:00
wsgiref Make a new urllib package . 2008-06-18 20:49:58 +00:00
xml #2501 xml.sax.parser doesn't terminate when given a filename; enable some more tests! 2008-09-04 02:22:52 +00:00
xmlrpc #3614: Correct a typo in xmlrpc.client. 2008-08-20 21:35:50 +00:00
__future__.py Merged revisions 61952-61953 via svnmerge from 2008-03-26 22:34:47 +00:00
__phello__.foo.py
_abcoll.py Merged revisions 64475,64544-64545,64550,64557-64558,64565,64570,64577,64582-64583,64585,64590,64592-64593,64625,64630,64638,64647,64655-64656,64663-64664 via svnmerge from 2008-07-02 20:22:54 +00:00
_dummy_thread.py Merged revisions 65787 via svnmerge from 2008-08-17 22:31:15 +00:00
_markupbase.py Remove the htmllib and sgmllib modules as per PEP 3108. 2008-06-01 21:25:55 +00:00
_strptime.py #2834: Change re module semantics, so that str and bytes mixing is forbidden, 2008-08-19 17:56:33 +00:00
_threading_local.py Merged revisions 64125 via svnmerge from 2008-06-11 19:14:14 +00:00
_weakrefset.py Add a test suite for WeakSet mostly derived from test_set and fix some 2008-05-18 16:27:29 +00:00
abc.py Merged revisions 66144 via svnmerge from 2008-09-02 10:43:28 +00:00
aifc.py Remove cl usage from aifc and use bytes throughout. 2008-06-07 19:01:03 +00:00
antigravity.py Merged revisions 66887,66891,66902-66903,66905-66906,66911-66913,66922,66927-66928,66936,66939-66940,66962,66964,66973 via svnmerge from 2008-10-19 14:07:49 +00:00
ast.py Merged revisions 66974,66977,66984,66989,66992,66994-66996,66998-67000,67007,67015 via svnmerge from 2008-10-25 15:49:17 +00:00
asynchat.py Fixed bugs 760475, 953599, and 1519. This is a translation of changelist 64768 2008-07-07 05:04:12 +00:00
asyncore.py This fixes issue 4332 for Py3k. 2008-11-19 18:22:41 +00:00
base64.py #2834: Change re module semantics, so that str and bytes mixing is forbidden, 2008-08-19 17:56:33 +00:00
bdb.py Merged revisions 67750-67751 via svnmerge from 2008-12-14 11:50:48 +00:00
binhex.py Remove the Mac modules 2008-05-12 22:25:16 +00:00
bisect.py Merged revisions 64722,64729,64753,64845-64846,64849,64871,64880-64882,64885,64888,64897,64900-64901,64915,64926-64929,64938-64941,64944,64961,64966,64973 via svnmerge from 2008-07-16 12:55:28 +00:00
build_class.py
cProfile.py
calendar.py #3059: Stop decoding Unicode in calendar module. 2008-06-08 08:40:05 +00:00
cgi.py Merged revisions 67528 via svnmerge from 2008-12-04 19:24:50 +00:00
cgitb.py
chunk.py
cmd.py
code.py
codecs.py Make TextIOWrapper's seek/tell work properly with stateful decoders; 2008-03-18 04:51:32 +00:00
codeop.py
collections.py Devil merge! 2008-09-28 02:06:32 +00:00
colorsys.py
compileall.py Merged revisions 61209-61214,61217-61222,61224-61226,61233-61237 via svnmerge from 2008-03-04 23:39:23 +00:00
configparser.py Renamed ConfigParser to configparser. 2008-05-14 22:59:42 +00:00
contextlib.py Merged revisions 62425-62429,62434-62436,62441,62444,62446-62448,62450-62455,62463,62465-62466,62469,62474,62476-62478,62480,62485,62492,62497-62498,62500,62507,62513-62514,62516,62521,62531,62535,62545-62546,62548-62551,62553-62559,62569,62574,62577,62593,62595,62604-62606,62608,62616,62626-62627,62636,62638,62644-62645,62647-62648,62651-62653,62656,62661,62663,62680,62686-62687,62696,62699-62703,62711 via svnmerge from 2008-05-04 22:42:01 +00:00
copy.py Rename the repr module to reprlib. 2008-05-16 07:12:44 +00:00
copyreg.py Rename copy_reg module to copyreg. 2008-05-11 08:55:36 +00:00
csv.py Merged revisions 65795 via svnmerge from 2008-08-18 00:51:19 +00:00
decimal.py Merged revisions 68191 via svnmerge from 2009-01-03 12:11:47 +00:00
difflib.py Merged revisions 59883-59920 via svnmerge from 2008-01-11 16:17:00 +00:00
dis.py Merged revisions 68116-68119,68121,68123-68127 via svnmerge from 2009-01-01 15:05:06 +00:00
doctest.py Merged revisions 67790 via svnmerge from 2008-12-15 12:01:34 +00:00
dummy_threading.py Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875. 2008-05-25 13:05:15 +00:00
filecmp.py Merged revisions 65787 via svnmerge from 2008-08-17 22:31:15 +00:00
fileinput.py
fnmatch.py Change fnmatch.py to use separate caches for str and bytes keys. 2008-10-03 16:38:30 +00:00
formatter.py Fix formatter usage of filter(). Bug #3800. 2008-09-09 19:31:25 +00:00
fractions.py Merged revisions 64722,64729,64753,64845-64846,64849,64871,64880-64882,64885,64888,64897,64900-64901,64915,64926-64929,64938-64941,64944,64961,64966,64973 via svnmerge from 2008-07-16 12:55:28 +00:00
ftplib.py #3911 FTP.makeport was giving bad port numbers 2008-09-27 22:04:16 +00:00
functools.py
genericpath.py Issue #3187: Better support for "undecodable" filenames. Code by Victor 2008-10-02 18:55:37 +00:00
getopt.py Merged revisions 67463,67572,67576,67628 via svnmerge from 2008-12-07 15:15:22 +00:00
getpass.py Merged revisions 62425-62429,62434-62436,62441,62444,62446-62448,62450-62455,62463,62465-62466,62469,62474,62476-62478,62480,62485,62492,62497-62498,62500,62507,62513-62514,62516,62521,62531,62535,62545-62546,62548-62551,62553-62559,62569,62574,62577,62593,62595,62604-62606,62608,62616,62626-62627,62636,62638,62644-62645,62647-62648,62651-62653,62656,62661,62663,62680,62686-62687,62696,62699-62703,62711 via svnmerge from 2008-05-04 22:42:01 +00:00
gettext.py Make gettext Unicode interface consistent and clean up the docs. 2008-07-17 18:15:35 +00:00
glob.py Issue #3187: Better support for "undecodable" filenames. Code by Victor 2008-10-02 18:55:37 +00:00
gzip.py Merged revisions 63412,63445-63447,63449-63450,63452,63454,63459,63463,63465,63470,63483-63484,63496-63497,63499-63501,63530-63531,63540,63614 via svnmerge from 2008-05-25 18:19:30 +00:00
hashlib.py issue3715: docstring representation of hex escaped string needs to be double 2008-08-31 16:35:01 +00:00
heapq.py Merged revisions 63562,63570,63728,63734,63784,63788,63802,63817,63827,63839,63887,63975,63998 via svnmerge from 2008-06-10 17:40:04 +00:00
hmac.py Fixed failing unit tests due to str/bytes mismatch. 2008-03-03 02:59:49 +00:00
imaplib.py Issue #1210: Fixed imaplib 2008-11-05 19:39:50 +00:00
imghdr.py Merged revisions 65713 via svnmerge from 2008-08-16 16:48:16 +00:00
inspect.py change the named tuple returned by inspect.getfullargspec to have a 'kwonlydefaults' (as claimed by the docs) attribute instead of 'kwdefaults' 2008-11-12 21:39:01 +00:00
io.py Merged revisions 67889-67892,67895,67898,67904-67907,67912,67918,67920-67921,67923-67924,67926-67927,67930,67943 via svnmerge from 2008-12-27 16:00:54 +00:00
keyword.py Merged revisions 60151-60159,60161-60168,60170,60172-60173,60175 via svnmerge from 2008-01-21 20:36:10 +00:00
linecache.py Merged revisions 67750-67751 via svnmerge from 2008-12-14 11:50:48 +00:00
locale.py Merged revisions 65237 via svnmerge from 2008-07-25 21:45:08 +00:00
macpath.py Issue3187 for Macintosh platform: 2008-10-03 21:57:20 +00:00
macurl2path.py Make a new urllib package . 2008-06-18 20:49:58 +00:00
mailbox.py Merged revisions 65459,65472,65481,65518,65536,65581,65609,65637,65641,65644-65645 via svnmerge from 2008-08-12 08:35:52 +00:00
mailcap.py
mimetypes.py Make a new urllib package . 2008-06-18 20:49:58 +00:00
modulefinder.py Merged revisions 67028,67040,67044,67046,67052,67065,67070,67077,67082 via svnmerge from 2008-11-03 20:31:38 +00:00
netrc.py
nntplib.py Issue #3714: nntplib module broken by str to unicode conversion 2008-11-05 19:44:21 +00:00
ntpath.py Issue3187 again: test_ntpath failed when run with the -bb option 2008-10-03 20:32:33 +00:00
nturl2path.py follow-up of r64385: rename urllib.quote in nturl2path 2008-06-18 22:38:24 +00:00
numbers.py Forward port only Py3k relevant change in r65642 (giving it a Py3k NEWS entry anyway because of the difference in the changes between the two branches) 2008-08-18 12:31:52 +00:00
opcode.py Merged revisions 67818 via svnmerge from 2008-12-18 11:06:25 +00:00
optparse.py Merged revisions 67348,67355,67359,67362,67364-67365,67367-67368,67398,67423-67424,67432,67440-67441,67444-67445,67454-67455,67457-67458 via svnmerge from 2008-11-30 22:46:23 +00:00
os.py #4401: Re-add os.extsep. 2008-12-05 07:45:54 +00:00
os2emxpath.py Remove os.path.walk 2008-05-08 23:44:58 +00:00
pdb.doc Merged revisions 62998-63003,63005-63006,63009-63012,63014-63017,63019-63020,63022-63024,63026-63029,63031-63041,63043-63045,63047-63054,63056-63062 via svnmerge from 2008-05-16 00:03:33 +00:00
pdb.py Merged revisions 67750-67751 via svnmerge from 2008-12-14 11:50:48 +00:00
pickle.py Fix issue #4374: Pickle tests fail w/o _pickle extension. 2008-12-27 09:30:39 +00:00
pickletools.py Restore _pickle module accelerator module. 2008-06-12 18:26:05 +00:00
pipes.py
pkgutil.py Merged revisions 62350-62355,62358-62359,62364-62365,62370,62372-62375,62378-62379,62381 via svnmerge from 2008-04-19 00:55:37 +00:00
platform.py Merged revisions 66974,66977,66984,66989,66992,66994-66996,66998-67000,67007,67015 via svnmerge from 2008-10-25 15:49:17 +00:00
plistlib.py #2834: Change re module semantics, so that str and bytes mixing is forbidden, 2008-08-19 17:56:33 +00:00
poplib.py Fixed issue #3727: poplib module broken by str to unicode conversion 2008-11-05 19:48:27 +00:00
posixpath.py Issue #3187: Better support for "undecodable" filenames. Code by Victor 2008-10-02 18:55:37 +00:00
pprint.py Merged revisions 63119-63128,63130-63131,63133,63135-63144,63146-63148,63151-63152,63155-63165,63167-63176,63181-63186,63188-63189 via svnmerge from 2008-05-16 02:54:33 +00:00
profile.py
pstats.py Issue #1771: Remove cmp parameter from list.sort() and builtin.sorted(). 2008-01-30 20:15:17 +00:00
pty.py Issue #3782: os.write() must not accept unicode strings 2008-09-15 23:02:56 +00:00
py_compile.py #2834: Change re module semantics, so that str and bytes mixing is forbidden, 2008-08-19 17:56:33 +00:00
pyclbr.py Merged revisions 62425-62429,62434-62436,62441,62444,62446-62448,62450-62455,62463,62465-62466,62469,62474,62476-62478,62480,62485,62492,62497-62498,62500,62507,62513-62514,62516,62521,62531,62535,62545-62546,62548-62551,62553-62559,62569,62574,62577,62593,62595,62604-62606,62608,62616,62626-62627,62636,62638,62644-62645,62647-62648,62651-62653,62656,62661,62663,62680,62686-62687,62696,62699-62703,62711 via svnmerge from 2008-05-04 22:42:01 +00:00
pydoc.py Merged revisions 67953 via svnmerge from 2009-01-01 15:53:14 +00:00
pydoc_topics.py Bump to 3.0rc3 2008-11-21 01:18:21 +00:00
queue.py Merged revisions 64125 via svnmerge from 2008-06-11 19:14:14 +00:00
quopri.py
random.py Merged revisions 65259,65263,65296,65307,65321 via svnmerge from 2008-07-31 20:21:46 +00:00
re.py Merged revisions 68116-68119,68121,68123-68127 via svnmerge from 2009-01-01 15:05:06 +00:00
reprlib.py Rename the repr module file to reprlib.py. 2008-05-16 16:05:36 +00:00
rlcompleter.py Merged revisions 65168 via svnmerge from 2008-07-21 16:32:10 +00:00
runpy.py Merged revisions 67750-67751 via svnmerge from 2008-12-14 11:50:48 +00:00
sched.py Merged revisions 63066-63076,63079,63081-63085,63087-63097,63099,63101-63104 via svnmerge from 2008-05-16 00:41:41 +00:00
shelve.py Merged revisions 65787 via svnmerge from 2008-08-17 22:31:15 +00:00
shlex.py
shutil.py Merged revisions 65459,65472,65481,65518,65536,65581,65609,65637,65641,65644-65645 via svnmerge from 2008-08-12 08:35:52 +00:00
site.py Merged revisions 62954-62959,62961,62963-62967,62969-62970,62972-62973,62975-62976,62978-62982,62984,62987-62996 via svnmerge from 2008-05-15 22:51:26 +00:00
smtpd.py Committing Py3k version of changelist 64080 and 64257, along with updated tests 2008-07-07 04:15:08 +00:00
smtplib.py Remove traces of rfc822. 2008-06-12 22:23:59 +00:00
sndhdr.py
socket.py make FileIO.mode always include 'b' 2008-11-22 00:41:45 +00:00
socketserver.py kill another set_daemon instance 2008-09-20 12:52:07 +00:00
sre_compile.py Merged revisions 66894 via svnmerge from 2008-10-14 23:07:40 +00:00
sre_constants.py #2834: Change re module semantics, so that str and bytes mixing is forbidden, 2008-08-19 17:56:33 +00:00
sre_parse.py Merged revisions 66894 via svnmerge from 2008-10-14 23:07:40 +00:00
ssl.py fix name usage 2008-12-31 04:10:35 +00:00
stat.py Merged revisions 61644,61646-61647,61649-61652,61656-61658,61663,61665,61667 via svnmerge from 2008-03-20 10:49:03 +00:00
string.py #4361: fix string.py docstring, clarify that only ASCII characters are in its constants. 2008-11-22 08:31:09 +00:00
stringprep.py
struct.py
subprocess.py Merged revisions 67511,67536-67537,67543 via svnmerge from 2008-12-07 15:30:06 +00:00
sunau.py #3567: fix sunau for running with -bb and make test_ossaudiodev work. 2008-08-17 00:38:32 +00:00
symbol.py
symtable.py revert 65897 2008-08-20 12:55:31 +00:00
tabnanny.py
tarfile.py Merged revisions 67717 via svnmerge from 2008-12-12 14:58:38 +00:00
telnetlib.py Victor Stinner's patch to make telnetlib use bytes 3725 2008-10-15 20:54:24 +00:00
tempfile.py Fixed test_tempfile. 2008-06-12 01:13:54 +00:00
textwrap.py Issue #4163: textwrap module: allow word splitting on a hyphen preceded by a non-ASCII letter. 2008-12-13 23:20:54 +00:00
this.py
threading.py Issue #874900: fix behaviour of threading module after a fork. 2008-09-06 23:00:03 +00:00
timeit.py
token.py Merged revisions 61038,61042-61045,61047,61050,61053,61055-61056,61061-61064,61066-61080 via svnmerge from 2008-02-26 08:18:30 +00:00
tokenize.py raise a SyntaxError in detect_encoding() when a codec lookup fails like the builtin parser #4021 2008-12-12 01:25:05 +00:00
trace.py Bug #2606: Avoid calling .sort() on a dict_keys object. 2008-04-10 19:02:25 +00:00
traceback.py Remove unnecessary import 2008-12-07 22:42:03 +00:00
tty.py
turtle.py Merged revisions 67279 via svnmerge from 2008-11-19 09:14:30 +00:00
types.py Merged revisions 62194,62197-62198,62204-62205,62214,62219-62221,62227,62229-62231,62233-62235,62237-62239 via svnmerge from 2008-04-09 08:37:03 +00:00
unittest.py Merged revisions 67979 via svnmerge from 2008-12-28 14:29:00 +00:00
uu.py
uuid.py Merged revisions 67295,67301-67302,67318,67330,67342-67343 via svnmerge from 2008-11-22 22:18:04 +00:00
warnings.py forward port r66386 2008-10-16 23:24:44 +00:00
wave.py
weakref.py Committing the patch in issue 2965, so that weakref dicts have a closer 2008-09-04 01:42:51 +00:00
webbrowser.py simplify imports 2008-12-10 06:02:39 +00:00
wsgiref.egg-info
xdrlib.py
zipfile.py Merged revisions 67946 via svnmerge from 2008-12-27 15:50:40 +00:00