cpython/Lib
Marc-André Lemburg a866df806d This patch changes the default behaviour of the builtin charmap
codec to not apply Latin-1 mappings for keys which are not found
in the mapping dictionaries, but instead treat them as undefined
mappings.

The patch was originally written by Martin v. Loewis with some
additional (cosmetic) changes and an updated test script
by Marc-Andre Lemburg.

The standard codecs were recreated from the most current files
available at the Unicode.org site using the Tools/scripts/gencodec.py
tool.

This patch closes the bugs #116285 and #119960.
2001-01-03 21:29:14 +00:00
..
compiler a few small optimizations that seem to give a 5-10% speedup; the 2000-11-06 16:03:52 +00:00
curses Make isspace(chr(32)) return true 2000-12-26 16:07:59 +00:00
distutils Add forgotten initialization. Fixes bug #120994, "Traceback with 2000-12-20 00:48:12 +00:00
encodings This patch changes the default behaviour of the builtin charmap 2001-01-03 21:29:14 +00:00
idlelib Fixes for Python 1.6 compatibility - socket bind and connect get a 2000-09-24 06:29:50 +00:00
lib-old Update the code to better reflect recommended style: 2000-12-12 23:11:42 +00:00
lib-tk Patch by kragen@pobox.com: When tracing is turned on, lines shorter 2001-01-01 19:11:07 +00:00
plat-aix3
plat-aix4
plat-beos5 Donn Cave <donn@oz.net>: 2000-10-07 12:25:17 +00:00
plat-freebsd2
plat-freebsd3
plat-freebsd4 tg@freebsd.org 2000-08-31 02:42:11 +00:00
plat-freebsd5 tg@freebsd.org 2000-08-31 02:42:11 +00:00
plat-generic Use python$EXE instead of python, for Darwin. (Patch by Tony 2000-10-09 19:34:12 +00:00
plat-irix5 Update the code to better reflect recommended style: 2000-12-12 23:11:42 +00:00
plat-irix6 Update the code to better reflect recommended style: 2000-12-12 23:11:42 +00:00
plat-linux1
plat-linux2
plat-netbsd1
plat-next3
plat-sunos4
plat-sunos5
site-packages Add a README file so that cvs update -P doesn't obliterate this 2000-03-31 20:03:56 +00:00
test This patch changes the default behaviour of the builtin charmap 2001-01-03 21:29:14 +00:00
xml Patch #102485 ] Check for legal children when adding children to a DOM node 2000-12-31 03:50:23 +00:00
aifc.py Convert some old-style string exceptions to class exceptions. 2000-08-17 05:06:49 +00:00
anydbm.py
asynchat.py Match Sam Rushing's current version of asyncore.py and asynchat.py 2000-09-08 20:30:39 +00:00
asyncore.py Untabify. When compiling in -tt mode, an inconsistent Tab use error 2000-09-11 04:00:46 +00:00
atexit.py Added the atexit module and documentation from Skip Montanaro 2000-06-28 15:07:31 +00:00
audiodev.py Convert some old-style string exceptions to class exceptions. 2000-08-17 05:06:49 +00:00
base64.py a couple of nits from Patch #100933 2000-07-25 14:34:38 +00:00
BaseHTTPServer.py updated occurences of fqdn algorithm (closes patch #101197) 2000-08-16 20:30:21 +00:00
Bastion.py
bdb.py
binhex.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
bisect.py Fred, THIS NEEDS DOCS! The function docstrings tell the tale. 2000-12-29 02:06:45 +00:00
builtin.py
calendar.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
cgi.py Make Traceback header conform to new traceback ("innermost last" -> 2000-12-27 19:12:58 +00:00
CGIHTTPServer.py An honest attempt to make this work on Unix, Windows, and even 2000-09-19 04:01:01 +00:00
chunk.py
cmd.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
code.py Make Traceback header conform to new traceback ("innermost last" -> 2000-12-27 19:12:58 +00:00
codecs.py This patch changes the default behaviour of the builtin charmap 2001-01-03 21:29:14 +00:00
codeop.py
colorsys.py
commands.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
compileall.py
ConfigParser.py Make ConfigParser.Error inherit from Exception. 2000-12-11 18:13:19 +00:00
Cookie.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
copy.py Patch by Finn Bock to support PyStringMap in Jython. 2000-11-27 21:53:14 +00:00
copy_reg.py In the module docstring, clarify that this is used to register pickle 2000-10-11 22:16:45 +00:00
dbhash.py
dircache.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
dis.py Add missing opcodes. Thanx to jeremy for reminding me ;) 2000-08-24 22:44:53 +00:00
dospath.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
dumbdbm.py Apply rstrip() to the lines read from _dirfile in _update(), so that a 2000-12-11 20:33:52 +00:00
filecmp.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
fileinput.py Implement suggestion from Lawrence Kesteloot in PR#280, to change the 2000-04-10 17:16:12 +00:00
fnmatch.py typos fixed by Rob Hooft 2000-06-28 14:48:01 +00:00
formatter.py
fpformat.py
ftplib.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
getopt.py getopt used to sort the long option names, in an attempt to simplify 2000-12-29 02:17:56 +00:00
getpass.py Simple changes by Gerrit Holl - move author acknowledgements out of 2000-02-28 15:12:25 +00:00
gettext.py find(): Application of (slightly modified) SF patch #101928 by Ulf 2000-10-16 15:47:50 +00:00
glob.py
gopherlib.py Fredrik Lundh: 2000-03-28 21:45:46 +00:00
gzip.py SF patch #100740: Add optional size arguments to .readline() and 2000-07-29 20:15:26 +00:00
htmlentitydefs.py
htmllib.py
httplib.py Get rid of string functions. 2000-12-15 15:09:42 +00:00
ihooks.py Thomas Heller <thomas.heller@ion-tof.com>: 2000-04-13 14:52:27 +00:00
imaplib.py Piers Lauder <piers@cs.su.oz.au>: 2000-05-25 03:25:26 +00:00
imghdr.py
imputil.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
keyword.py
knee.py
linecache.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
locale.py Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
macpath.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
macstat.py
macurl2path.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
mailbox.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
mailcap.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
Makefile
mhlib.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
mimetools.py Get rid of string functions. 2000-12-15 15:49:08 +00:00
mimetypes.py
MimeWriter.py
mimify.py
multifile.py Remove superfluous semicolons 2000-12-23 14:20:24 +00:00
mutex.py
netrc.py Remove superfluous semicolons 2000-12-23 14:20:24 +00:00
nntplib.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
ntpath.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
nturl2path.py Add 'r' to docstrings to avoid expanded backslash escapes. (Ka-Ping Yee) 2000-05-30 13:25:35 +00:00
os.py popen4(): Added for Unix. 2000-09-28 19:10:56 +00:00
pdb.doc
pdb.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
persist.py
pickle.py Minimal fix for the complaints about pickling Unicode objects. (SF 2000-12-19 01:29:00 +00:00
pipes.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
popen2.py test_popen2 broke on Windows shortly after 2.0b2 was released. Fixed it. 2000-10-03 23:07:13 +00:00
poplib.py Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
posixfile.py Do not try to fix bugs while sleeping. 2000-09-09 06:29:35 +00:00
posixpath.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
pprint.py Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
pre.py Correct docstring about return value when group didn't participate in match 2000-09-04 03:19:48 +00:00
profile.doc
profile.py remove all occurence of math.rint() from the sources 2000-08-10 04:23:30 +00:00
pstats.py Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
pty.py Fix bug #379, reported by Phillip Porch <root@theproch.com>: 2000-07-03 13:44:25 +00:00
py_compile.py Support \r in source files. Closes bug #101425. 2000-09-15 06:57:26 +00:00
pyclbr.py
Queue.py typos fixed by Rob Hooft 2000-06-28 14:48:01 +00:00
quopri.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
random.py Repair senseless random.seed docstring (reported on c.l.py). 2000-09-16 04:02:48 +00:00
re.py My fix to the URL accidentally also switched back to the "pre" module. 2000-08-01 21:22:16 +00:00
reconvert.py Add 'r' to docstrings to avoid expanded backslash escapes. (Ka-Ping Yee) 2000-05-30 13:25:35 +00:00
regex_syntax.py
regsub.py Adding a warning about the regsub module. This also disables further 2000-12-19 18:25:58 +00:00
repr.py
rexec.py Add support for "import re" -- it uses pre, but user code does not need 2000-10-05 20:42:44 +00:00
rfc822.py Duh. Instead of string.whitespace and string.digits, use isspace() 2001-01-02 20:36:32 +00:00
rlcompleter.py Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
robotparser.py Skip Montanaro: 2000-03-27 19:29:31 +00:00
sched.py
sgmllib.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
shelve.py
shlex.py Remove superfluous semicolons 2000-12-23 14:20:24 +00:00
shutil.py apply patch #100868 from Moshe Zadka: 2000-07-12 09:55:30 +00:00
SimpleHTTPServer.py For this server to work on Windows, directories should use "/" as the 2000-09-04 15:55:31 +00:00
site.py The ".pth" code knew about the layout of Python trees on unix and 2000-12-12 22:39:04 +00:00
smtplib.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
sndhdr.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
socket.py Mention in the module's doc string that other functions of the socket API 2000-09-30 11:34:30 +00:00
SocketServer.py Changing allow_reuse_address's default value, and documenting it. 2000-12-13 20:39:22 +00:00
sre.py - fixed yet another gcc -pedantic warning 2000-09-21 17:03:25 +00:00
sre_compile.py Fixed too ambitious "nothing to repeat" check. Closes bug #114033. 2000-10-07 17:38:23 +00:00
sre_constants.py Fixed too ambitious "nothing to repeat" check. Closes bug #114033. 2000-10-07 17:38:23 +00:00
sre_parse.py -- properly reset groups in findall (bug #117612) 2000-10-28 19:30:41 +00:00
stat.py
statcache.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
statvfs.py
string.py Make string.translate(s, table) work for Unicode s. Two things are 2000-12-19 02:39:08 +00:00
StringIO.py Untabify! (Barry, this is gonna cost you a bottle of wine! ;) 2000-12-13 20:23:11 +00:00
stringold.py Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
sunau.py Fix a couple of typos in docstrings. 2000-10-06 20:28:46 +00:00
sunaudio.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
symbol.py Update for augmented assignment. 2000-08-24 21:08:39 +00:00
tabnanny.py Added tabnanny.py, by Tim Peters, formerly from Tools/scripts, to the 2000-02-23 15:32:19 +00:00
telnetlib.py Caolan McNamara: 2000-05-02 14:32:11 +00:00
tempfile.py Patch by tg@FreeBSD.org to try /var/tmp first. 2000-08-29 14:55:03 +00:00
threading.py Comment out a debugging print statement that triggered a complaint in 2000-12-15 20:08:39 +00:00
toaiff.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
token.py Update for augmented assignment. 2000-08-24 21:08:39 +00:00
tokenize.py Possible fix for Skip's bug 116136 (sre recursion limit hit in tokenize.py). 2000-10-07 05:09:39 +00:00
traceback.py Patch by Toby Dickenson: don't die when an error occurs during string 2000-08-22 02:04:46 +00:00
tty.py
types.py Marc-Andre Lemburg: add UnicodeType. 2000-03-10 23:18:11 +00:00
tzparse.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
urllib.py Get rid of string functions, except maketrans() (which is *not* 2000-12-15 15:01:37 +00:00
urllib2.py two fixes for redirects: 2000-10-12 18:54:18 +00:00
urlparse.py Be explicit about scheme_chars -- string.letters is locale dependent 2000-12-19 16:48:13 +00:00
user.py Lawrence Kesteloot noted: Lib/user.py has a comment that says that the 2000-03-30 15:00:33 +00:00
UserDict.py Add popitem(). 2000-12-12 22:06:00 +00:00
UserList.py __getslice__(): Make this use the constructor form that gets a sequence 2000-10-06 19:26:01 +00:00
UserString.py Fix two typos in __imul__. Closes Bug #117745. 2000-10-25 21:58:20 +00:00
uu.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
warnings.py Improve error messages for invalid warning arguments; don't raise 2000-12-19 03:04:50 +00:00
wave.py When the classes in wave.py opened files themselves, their .close() methods 2000-10-09 23:43:55 +00:00
webbrowser.py Typo for Mac code, fixing SF bug 12195. 2000-11-13 20:30:57 +00:00
whichdb.py Add missing 'try:'. Patch by Rob W. W. Hooft, #101071 (closed.) 2000-08-04 08:46:59 +00:00
whrandom.py Line-wrap and properly indent a couple of docstrings. 2000-06-30 19:33:35 +00:00
xdrlib.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
xmllib.py Update the code to better reflect recommended style: 2000-12-12 23:20:45 +00:00
zipfile.py Delay import of py_compile until needed, since is is only used by the 2000-10-02 21:14:52 +00:00