cpython/Lib
Tim Peters a40c793d06 Rework the way we try to check for libm overflow, given that C99 no longer
requires that errno ever get set, and it looks like glibc is already
playing that game.  New rules:

+ Never use HUGE_VAL.  Use the new Py_HUGE_VAL instead.

+ Never believe errno.  If overflow is the only thing you're interested in,
  use the new Py_OVERFLOWED(x) macro.  If you're interested in any libm
  errors, use the new Py_SET_ERANGE_IF_OVERFLOW(x) macro, which attempts
  to set errno the way C89 said it worked.

Unfortunately, none of these are reliable, but they work on Windows and I
*expect* under glibc too.
2001-09-05 22:36:56 +00:00
..
compiler Fix _convert_NAME() so that it doesn't store locals for class bodies. 2001-08-30 20:25:55 +00:00
curses Catch curses.error instead of a non-existent global (PyChecker) 2001-08-13 13:47:23 +00:00
distutils Implement PEP250: Use Lib/site-packages under windows. 2001-09-05 13:00:40 +00:00
encodings Fix typo (PyChecker) 2001-08-13 13:48:55 +00:00
idlelib further work on font config and general feel improvements 2001-08-13 04:36:58 +00:00
lib-old
lib-tk class Listbox: add itemcget, to satisfy SF patch #457713. 2001-09-05 19:29:56 +00:00
plat-aix3 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-aix4 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-beos5 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-freebsd2 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-freebsd3 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-freebsd4 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-freebsd5 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-generic Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-irix5 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-irix6 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-linux1 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-linux2 Regenerate for glibc 2.2.3. 2001-08-09 12:48:17 +00:00
plat-netbsd1 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-next3
plat-riscos
plat-sunos4
plat-sunos5 Regenerate for Solaris 8. 2001-08-09 12:33:32 +00:00
plat-unixware7 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
site-packages
test Rework the way we try to check for libm overflow, given that C99 no longer 2001-09-05 22:36:56 +00:00
xml Make sure XMLGenerator uses quoteattr() instead of escape() to quote 2001-08-07 19:14:46 +00:00
BaseHTTPServer.py
Bastion.py
CGIHTTPServer.py Apply two small changes to the Windows code, according to SF bug 2001-08-07 19:55:10 +00:00
ConfigParser.py Patch #445762: Support --disable-unicode 2001-08-17 18:39:25 +00:00
Cookie.py Patch #444359: Remove unused imports. 2001-08-02 07:15:29 +00:00
FCNTL.py
HTMLParser.py HTMLParser is allowed to be more strict than sgmllib, so let's not 2001-09-04 16:26:03 +00:00
MimeWriter.py
Queue.py
SimpleHTTPServer.py
SocketServer.py
StringIO.py
TERMIOS.py
UserDict.py Remove the __iter__ method from the UserDict class -- it can silently 2001-08-07 17:40:42 +00:00
UserList.py
UserString.py
__future__.py Repair repr of future-features (wasn't updated to include the new 2001-08-24 17:13:54 +00:00
aifc.py
anydbm.py
asynchat.py
asyncore.py Whitespace normalization. 2001-08-20 21:48:00 +00:00
atexit.py
audiodev.py Commenting out the getfillable() method -- it's broken, and nobody 2001-08-13 15:04:33 +00:00
base64.py The first batch of changes recommended by the fixdiv tool. These are 2001-09-04 19:14:14 +00:00
bdb.py
binhex.py The first batch of changes recommended by the fixdiv tool. These are 2001-09-04 19:14:14 +00:00
bisect.py The first batch of changes recommended by the fixdiv tool. These are 2001-09-04 19:14:14 +00:00
calendar.py
cgi.py Class FieldStorage: add two new methods, getfirst() and getlist(), 2001-09-05 19:45:34 +00:00
cgitb.py Enhancements: 2001-08-21 06:53:01 +00:00
chunk.py
cmd.py Whitespace normalization. 2001-08-09 21:40:30 +00:00
code.py A fiddled version of the rest of Michael Hudson's SF patch 2001-08-17 22:11:27 +00:00
codecs.py Patch #444359: Remove unused imports. 2001-08-02 07:15:29 +00:00
codeop.py A fiddled version of the rest of Michael Hudson's SF patch 2001-08-17 22:11:27 +00:00
colorsys.py
commands.py
compileall.py
compilerlike.py Whitespace normalization. 2001-08-20 21:48:00 +00:00
copy.py Patch #445762: Support --disable-unicode 2001-08-17 18:39:25 +00:00
copy_reg.py
dbhash.py
difflib.py SF patch #445412 extract ndiff functionality to difflib, from 2001-08-12 22:25:01 +00:00
dircache.py
dis.py Add opcodes for floor division and true division (PEP 238) 2001-08-29 18:02:21 +00:00
doctest.py Remove the horrid generators hack from doctest.py. This relies on a 2001-08-18 00:05:50 +00:00
dospath.py
dumbdbm.py The first batch of changes recommended by the fixdiv tool. These are 2001-09-04 19:14:14 +00:00
filecmp.py
fileinput.py
fnmatch.py
formatter.py Remove empty __init__ (PyChecker) 2001-08-13 14:55:17 +00:00
fpformat.py
ftplib.py Change the 227 response parser to use a more liberal regular 2001-08-17 17:24:29 +00:00
getopt.py
getpass.py win_getpass(): if sys.stdin is not sys.__stdin__, use 2001-08-30 15:07:44 +00:00
gettext.py
glob.py
gopherlib.py Remove unused variable (PyChecker) 2001-08-13 14:52:37 +00:00
gzip.py Remove redefinition of writelines() method 2001-08-13 14:54:12 +00:00
htmlentitydefs.py
htmllib.py
httplib.py Resolve patch #449367. 2001-08-18 09:20:23 +00:00
ihooks.py
imaplib.py Remove redundant 'import sys' (PyChecker). 2001-08-13 15:34:41 +00:00
imghdr.py
imputil.py Added docstring by Neal Norwitz. This closes SF bug #450979. 2001-09-04 18:39:45 +00:00
inspect.py The first batch of changes recommended by the fixdiv tool. These are 2001-09-04 19:14:14 +00:00
keyword.py
knee.py
linecache.py
locale.py Remove some dead code (PyChecker) 2001-08-13 14:50:44 +00:00
macpath.py Typo fix (spelling mistake in error message). 2001-08-08 20:55:10 +00:00
macurl2path.py
mailbox.py Remove redundant imports (PyChecker). 2001-08-13 15:37:02 +00:00
mailcap.py
mhlib.py
mimetools.py
mimetypes.py Add some fairly important file extensions: bmp css doc mid midi mp2 mp3 xls. 2001-08-18 04:06:54 +00:00
mimify.py
multifile.py Patch #444359: Remove unused imports. 2001-08-02 07:15:29 +00:00
mutex.py
netrc.py
nntplib.py
ntpath.py SF bug #456621: normpath on Win32 not collapsing c:\\.. 2001-08-30 22:05:26 +00:00
nturl2path.py
os.py
pdb.doc
pdb.py
pickle.py pickle.py, load_int(): Match cPickle's just-repaired ability to unpickle 2001-08-28 22:21:18 +00:00
pipes.py Patch #444359: Remove unused imports. 2001-08-02 07:15:29 +00:00
popen2.py
poplib.py Initialize msg to avoid unbound locals. 2001-07-31 08:40:21 +00:00
posixfile.py Add forgotten import (PyChecker) 2001-08-13 14:47:12 +00:00
posixpath.py
pprint.py Make pprint more locale-friendly; patch contributed by Denis S. Otkidach. 2001-09-04 19:43:26 +00:00
pre.py
profile.doc
profile.py Fix two bugs detected by PyChecker: there's no need for redundant 2001-08-09 21:22:15 +00:00
pstats.py Remove unused variable (PyChecker) 2001-08-13 14:52:37 +00:00
pty.py
py_compile.py
pyclbr.py Nick Mathewson: Make sure the recursion is handled properly. 2001-08-13 20:20:51 +00:00
pydoc.py
quopri.py The first batch of changes recommended by the fixdiv tool. These are 2001-09-04 19:14:14 +00:00
random.py
re.py Added docstrings by Neal Norwitz. This closes SF bug #450980. 2001-09-04 19:10:20 +00:00
reconvert.py Suppress the warning about regex here. 2001-09-04 15:18:54 +00:00
regex_syntax.py
regsub.py
repr.py Another / that should be a // (previously not caught because of 2001-09-05 02:27:04 +00:00
rexec.py Remove redundant import (PyChecker). 2001-08-13 15:58:26 +00:00
rfc822.py The first batch of changes recommended by the fixdiv tool. These are 2001-09-04 19:14:14 +00:00
rlcompleter.py
robotparser.py Remove unused import (PyChecker) 2001-08-13 14:43:43 +00:00
sched.py
sgmllib.py Patch #444359: Remove unused imports. 2001-08-02 07:15:29 +00:00
shelve.py
shlex.py
shutil.py
site.py Patch #445762: Support --disable-unicode 2001-08-17 18:39:25 +00:00
smtpd.py found_terminator(): Add a debug print showing the data. 2001-08-13 21:18:01 +00:00
smtplib.py Remove redundant import 2001-08-13 14:41:39 +00:00
sndhdr.py Amazing. This would open the sound file in text mode. Fixed. 2001-07-31 06:27:07 +00:00
socket.py Inspired by Greg Stein's proposed simplification of the _closesocket 2001-08-18 21:00:39 +00:00
sre.py Convert docstring to "raw" string. 2001-09-04 19:20:06 +00:00
sre_compile.py Added docstrings by Neal Norwitz. This closes SF bug #450980. 2001-09-04 19:10:20 +00:00
sre_constants.py Added docstrings by Neal Norwitz. This closes SF bug #450980. 2001-09-04 19:10:20 +00:00
sre_parse.py Added docstrings by Neal Norwitz. This closes SF bug #450980. 2001-09-04 19:10:20 +00:00
stat.py
statcache.py
statvfs.py
string.py
stringold.py
sunau.py
sunaudio.py
symbol.py
symtable.py
tabnanny.py Add the NannyNag exception class and the process_tokens() function to 2001-08-07 17:19:25 +00:00
telnetlib.py Initialize msg to avoid unbound locals. 2001-07-31 08:40:21 +00:00
tempfile.py
threading.py Patch #428326: New class threading.Timer. 2001-09-05 13:44:54 +00:00
toaiff.py Capture exception message (PyChecker) 2001-08-13 14:40:47 +00:00
token.py Remove redundant 'import string' (PyChecker). 2001-08-13 15:48:06 +00:00
tokenize.py SF patch #455966: Allow leading 0 in float/imag literals. 2001-08-30 20:51:59 +00:00
traceback.py
tty.py
types.py Patch #445762: Support --disable-unicode 2001-08-17 18:39:25 +00:00
tzparse.py
unittest.py Merged in bugfix from PyUnit CVS for problem reported by Gary Todd. 2001-08-08 07:57:26 +00:00
urllib.py Add content-type header to ftp URLs (SF patch #454553) 2001-08-27 20:16:53 +00:00
urllib2.py Add content-type header to ftp URLs (SF patch #454553) 2001-08-27 20:16:53 +00:00
urlparse.py Remove unused variable 2001-08-13 14:38:50 +00:00
user.py
uu.py decode(): Raise a uu.Error if no out_file is given but the file 2001-08-17 19:59:34 +00:00
warnings.py Allow for the possibility that globals['__name__'] does not exist; 2001-08-31 17:46:35 +00:00
wave.py The first batch of changes recommended by the fixdiv tool. These are 2001-09-04 19:14:14 +00:00
weakref.py Make sure that WeakValueDictionary[] raises KeyError instead of TypeError 2001-08-03 04:11:27 +00:00
webbrowser.py Fix malformed line (PyChecker) 2001-08-13 14:37:23 +00:00
whichdb.py
whrandom.py
xdrlib.py Use (c)StringIO for collecting bytes. Fixes bug #451622. 2001-08-16 17:06:44 +00:00
xmllib.py
xmlrpclib.py Added docstring by Neal Norwitz. This closes SF bug #450981. 2001-09-04 18:55:03 +00:00
zipfile.py [ #458701 ] Patch to zipfile.py for Java 2001-09-05 18:40:33 +00:00