cpython/Lib
Raymond Hettinger 5dec096e6a Maintain peepholer's cumlc invariant by updating the running total
everytime a LOAD_CONSTANT is encountered, created, or overwritten.

Added two tests to cover cases affected by the patch.
2004-11-02 04:20:10 +00:00
..
bsddb Purged Berkeley code of references to the long-obsolete whrandom. 2004-08-08 00:54:21 +00:00
compiler This is jiwon's patch to fix: 2004-10-11 15:35:53 +00:00
curses Display helpful message; print repr() of return value so the whitespace is clearer 2004-10-19 19:36:09 +00:00
distutils Fix [1055540 ] bdist_wininst broken for pure Python distributions 2004-10-27 21:54:33 +00:00
email Whitespace normalization. 2004-10-12 21:51:32 +00:00
encodings SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now support 2004-09-07 20:24:22 +00:00
hotshot Move testing code into "if __name__ == '__main__'" so it's not run on import. 2003-03-28 16:28:48 +00:00
idlelib format_paragraph_event(): Patch 961387 introduced a bug here, causing 2004-10-24 23:45:42 +00:00
lib-old Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
lib-tk Convert boolean results back to strings. Fixes #807871. 2004-09-18 16:01:23 +00:00
logging Fixed bug in handling of args in LogRecord.__init__. 2004-10-21 21:24:27 +00:00
plat-aix3
plat-aix4
plat-atheos Repair bizarre generated Python. 2004-07-18 06:35:21 +00:00
plat-beos5 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-darwin
plat-freebsd2
plat-freebsd3
plat-freebsd4
plat-freebsd5
plat-freebsd6 Whitespace normalization. 2004-08-20 03:47:14 +00:00
plat-generic
plat-irix5 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-irix6 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-linux2 Repair bizarre generated Python. 2004-07-18 06:35:21 +00:00
plat-mac Made <data> output match Apple's exactly. To do that I had to add a custom 2004-10-26 10:30:55 +00:00
plat-netbsd1 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-next3
plat-os2emx Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-riscos Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists in glob.glob. 2004-08-30 10:19:56 +00:00
plat-sunos5 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-unixware7 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
site-packages
test Maintain peepholer's cumlc invariant by updating the running total 2004-11-02 04:20:10 +00:00
xml when only using half of the return value of os.path.split(), use 2004-10-20 11:08:35 +00:00
BaseHTTPServer.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
Bastion.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
CGIHTTPServer.py Patch #727483: Add AUTH_TYPE and REMOTE_USER. 2004-08-29 16:53:26 +00:00
ConfigParser.py SF bug #997050: Document, test, & check for non-string values in ConfigParser. Moved the new string-only restriction added in rev. 1.65 to the SafeConfigParser class, leaving existing ConfigParser & RawConfigParser behavior alone, and documented the conditions under which non-string values work. 2004-10-03 15:55:09 +00:00
Cookie.py
DocXMLRPCServer.py Use multi-line import 2004-08-31 11:38:12 +00:00
HTMLParser.py remove unnecessary override of base class method 2004-09-08 22:58:36 +00:00
MimeWriter.py
Queue.py Simplified the new get/get_nowait/put/put_nowait implementations a bit. 2004-07-12 01:20:32 +00:00
SimpleHTTPServer.py Patch #1011123: Use urllib.quote() instead of cgi.escape() for encoding the 2004-08-21 10:43:29 +00:00
SimpleXMLRPCServer.py Fix a small typo in the docstring for system_methodSignature . 2004-10-03 23:21:44 +00:00
SocketServer.py
StringIO.py Arghh, checked in wrong draft. Replacing with correct one. 2004-09-23 07:00:47 +00:00
UserDict.py The default argument in dict.setdefault() defaults to None. 2004-05-27 09:41:04 +00:00
UserList.py
UserString.py Remove .width() and .iswide() from UserString as well. 2004-08-04 08:01:06 +00:00
_LWPCookieJar.py Use multi-line import 2004-08-31 11:38:12 +00:00
_MozillaCookieJar.py Whitespace normalization. 2004-09-01 13:10:32 +00:00
__future__.py
__phello__.foo.py
_strptime.py Fix bug of implementation of algorithm for calculating the date from year, week 2004-10-28 04:49:21 +00:00
_threading_local.py Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
aifc.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
anydbm.py
asynchat.py Trivial bug fix: deque == [] is not a good way to check if a deque is empty. 2004-09-27 17:49:00 +00:00
asyncore.py [Bug #1011606] Only check file descriptors for exceptional conditions if the fd is readable or writable 2004-09-01 14:04:51 +00:00
atexit.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
audiodev.py
base64.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
bdb.py SF bug #1052503: pdb runcall should accept keyword arguments 2004-10-24 00:32:24 +00:00
binhex.py Remove a useless operation, setting name to itself 2004-06-07 03:45:56 +00:00
bisect.py
calendar.py There is no reason to have an underscore after self 2004-06-07 03:47:06 +00:00
cgi.py Let cgi.parse_header() properly unquote headers (patch #1008597). 2004-08-14 15:39:34 +00:00
cgitb.py Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
chunk.py
cmd.py Whitespace normalization. 2004-07-07 20:54:48 +00:00
code.py
codecs.py SF #1048865: Fix a trivial typo that breaks StreamReader.readlines() 2004-10-17 23:51:21 +00:00
codeop.py
colorsys.py
commands.py
compileall.py Patch #975885: print file name in err msg in quiet mode 2004-06-20 20:59:56 +00:00
cookielib.py Remove unnecessary imports 2004-10-17 16:23:52 +00:00
copy.py Refactor the copy dispatcher code in copy.py. Simplifies and shortens 2004-03-08 05:59:33 +00:00
copy_reg.py
csv.py
dbhash.py
decimal.py SF patch #1053375. 2004-10-27 06:21:46 +00:00
difflib.py Typo fix: 'comparisions' is not a word 2004-09-10 12:59:54 +00:00
dircache.py
dis.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
doctest.py Fixed a small bug. doctest didn't handle unicode docstrings containing 2004-10-13 14:15:32 +00:00
dumbdbm.py
dummy_thread.py
dummy_threading.py Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
filecmp.py
fileinput.py
fnmatch.py
formatter.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
fpformat.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
ftplib.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
getopt.py
getpass.py
gettext.py This change implements the following gettext features, as 2004-07-22 18:44:01 +00:00
glob.py Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists in glob.glob. 2004-08-30 10:19:56 +00:00
gopherlib.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
gzip.py Ack, removed useless import of os I just introduced. 2004-07-27 21:05:21 +00:00
heapq.py Fix erroneous docstring comment. 2004-09-06 07:04:09 +00:00
hmac.py Speed HMAC.copy() by installing a secret backdoor argument to 2004-03-20 20:11:29 +00:00
htmlentitydefs.py
htmllib.py clean up the API a little; exceptions are defined by this module 2004-09-09 02:24:13 +00:00
httplib.py SF bug #1046855: httplib index out of range 2004-10-14 15:23:38 +00:00
ihooks.py ihooks FancyModuleLoader.load_module() 2004-08-04 02:29:12 +00:00
imaplib.py Fix bug in _checkquote that raised an exception on empty "arg". 2004-10-08 04:05:39 +00:00
imghdr.py
imputil.py ihooks FancyModuleLoader.load_module() 2004-08-04 02:29:12 +00:00
inspect.py Import no longer needed. 2004-09-20 18:08:31 +00:00
keyword.py Replace str.find()!=1 with the more readable "in" operator. 2004-05-04 09:21:43 +00:00
linecache.py SF #737473: Show up-to-date source code in tracebacks always. 2004-10-26 09:16:42 +00:00
locale.py Patch #962487: Don't crash for empty locale names. 2004-07-26 12:45:18 +00:00
macpath.py Whitespace normalization. 2004-08-30 13:39:50 +00:00
macurl2path.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
mailbox.py Patch #880621: the last message of a Babyl mailbox ends in '\037' instead of 2004-08-21 12:30:26 +00:00
mailcap.py
markupbase.py [Patch #965175] Incorporate a suggestion for a better error message 2004-07-10 21:49:45 +00:00
mhlib.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
mimetools.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
mimetypes.py
mimify.py
modulefinder.py Fix SF item #876278: Unbounded recursion in modulefinder. 2004-05-11 15:10:59 +00:00
multifile.py Stacks based on lists work better and read more clearly when they 2004-05-04 08:21:52 +00:00
mutex.py
netrc.py
new.py
nntplib.py Patch #823072: add option to NOT use ~/.netrc in nntplib.NNTP(). 2004-08-03 14:36:32 +00:00
ntpath.py Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists in glob.glob. 2004-08-30 10:19:56 +00:00
nturl2path.py
opcode.py Install two code generation optimizations that depend on NOP. 2004-06-21 16:31:15 +00:00
optparse.py Update optparse module and test suite to Optik 1.5a2. 2004-10-27 02:20:04 +00:00
os.py Document that on Unix, the 'cmd' argument to the os.popen2/3/4 and 2004-10-11 18:12:20 +00:00
os2emxpath.py Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists in glob.glob. 2004-08-30 10:19:56 +00:00
pdb.doc bug #989672: pdb.doc and the help messages for the help_d and help_u methods 2004-08-14 15:19:28 +00:00
pdb.py SF bug #1052503: pdb runcall should accept keyword arguments 2004-10-24 00:32:24 +00:00
pickle.py Make 'bin' argument trigger DeprecationWarning 2004-08-07 16:27:24 +00:00
pickletools.py Add argument to docstring 2004-08-07 16:51:30 +00:00
pipes.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
pkgutil.py
platform.py Added normalization for Windows system name. Closes SF #945665. 2004-06-19 17:17:00 +00:00
popen2.py Document that on Unix, the 'cmd' argument to the os.popen2/3/4 and 2004-10-11 18:12:20 +00:00
poplib.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
posixfile.py Add support for FreeBSD 6. 2004-08-18 15:13:41 +00:00
posixpath.py Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists in glob.glob. 2004-08-30 10:19:56 +00:00
pprint.py typo - fixes 954030. 2004-05-14 16:31:56 +00:00
profile.doc
profile.py Using repr() generates entries that the current stats package can't 2004-07-12 23:38:02 +00:00
pstats.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
pty.py Removed no-longer-needed convolutions to recover from damaged modules 2004-08-02 03:55:18 +00:00
py_compile.py
pyclbr.py PEP-0318, @decorator-style. In Guido's words: 2004-08-02 06:10:11 +00:00
pydoc.py Patch #934356: if a module defines __all__, believe that rather than using 2004-08-30 14:13:04 +00:00
quopri.py
random.py Use floor division operator. 2004-09-27 15:29:05 +00:00
re.py
reconvert.py Remove specific Python version from #! 2004-04-06 19:42:34 +00:00
regex_syntax.py
regsub.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
repr.py Committing Tim's patch for SF bug #983585: 2004-07-01 20:28:47 +00:00
rexec.py Remove rotor, xreadlines modules 2004-08-31 13:31:42 +00:00
rfc822.py Bug #1030125: rfc822 __iter__ problem 2004-09-22 17:17:32 +00:00
rlcompleter.py
robotparser.py Patch #1014237: Consistently return booleans throughout. 2004-08-23 20:42:35 +00:00
sched.py
sets.py
sgmllib.py add name that should be considered public to __all__ 2004-09-09 01:49:58 +00:00
shelve.py
shlex.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
shutil.py Bug #1048941: shutil.rmtree error handling was always broken 2004-10-31 12:05:31 +00:00
site.py Fix bug in addsitedir() to properly handle the lack of a second argument. 2004-07-20 02:28:28 +00:00
smtpd.py Fix for SF bug # 1010102. The default is PureProxy not SMTPProxy. 2004-10-09 21:44:13 +00:00
smtplib.py Debug output is now printed to sys.stderr . 2004-07-10 23:14:30 +00:00
sndhdr.py
socket.py Patch #1003700: Add socketpair function to socket module. 2004-08-09 04:51:41 +00:00
sre.py Granted Noam Raphael's request for minor improvements to the re module and 2004-09-24 03:41:05 +00:00
sre_compile.py make sure to check for this limit even if we're running with -O 2004-10-15 06:15:08 +00:00
sre_constants.py PEP 292 classes Template and SafeTemplate are added to the string module. 2004-08-25 02:22:30 +00:00
sre_parse.py Minor aesthetic change in sre_parse.py, as suggested by Mike Coleman. 2004-09-03 20:15:56 +00:00
stat.py
statcache.py
statvfs.py
string.py SF patch #1056967, changes the semantics of Template.safe_substitute() to not 2004-11-01 03:52:43 +00:00
stringold.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
stringprep.py Whitespace normalization. 2004-07-07 20:54:48 +00:00
subprocess.py Fix docstring formatting of escape sequences. 2004-10-17 16:36:53 +00:00
sunau.py
sunaudio.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
symbol.py SF patch #1007189, multi-line imports, for instance: 2004-08-31 10:07:13 +00:00
symtable.py
tabnanny.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
tarfile.py [Patch #1043972, for bug #1017553] filemode() returns an incorrect value for the mode 07111 2004-10-20 11:48:42 +00:00
telnetlib.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
tempfile.py Record that FCNTL.py has gone away; remove FCNTL hack in tempfile.py; 2004-07-18 23:58:17 +00:00
textwrap.py SF #965425: fix so hyphenated words surrounded by punctuation are 2004-06-03 01:59:41 +00:00
this.py
threading.py Thread.__delete: Discussion of internal obscurities belongs in comments 2004-07-21 03:36:52 +00:00
timeit.py
toaiff.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
token.py PEP-0318, @decorator-style. In Guido's words: 2004-08-02 06:10:11 +00:00
tokenize.py PEP-0318, @decorator-style. In Guido's words: 2004-08-02 06:10:11 +00:00
trace.py Open file in universal newline mode when passing to compile(). Solution 2004-04-16 03:28:19 +00:00
traceback.py SF #737473: Show up-to-date source code in tracebacks always. 2004-10-26 09:16:42 +00:00
tty.py
types.py Oops! Restored the pickle test to test_pyclbr, but changed types.py so 2004-07-18 00:08:11 +00:00
tzparse.py
unittest.py Added an __iter__ method for test suites. 2004-08-28 15:22:12 +00:00
urllib.py Added a usegmt flag to email.Utils.formatdate - this allows it to be 2004-10-11 13:53:08 +00:00
urllib2.py Added a usegmt flag to email.Utils.formatdate - this allows it to be 2004-10-11 13:53:08 +00:00
urlparse.py rsync is now a recognized protocol that uses "netloc" (i.e. specifies a network 2004-06-29 04:02:40 +00:00
user.py
uu.py
warnings.py Stop producing or using OverflowWarning. PEP 237 thought this would 2004-08-25 02:14:08 +00:00
wave.py Fix SF #1001053, wave.open() with unicode filename fails 2004-08-01 22:48:06 +00:00
weakref.py Use multi-line import 2004-08-31 11:38:12 +00:00
webbrowser.py [Patch #981794] Add support for Firefox/Firebird 2004-07-10 22:07:02 +00:00
whichdb.py SF patch #1038388: __main__ for whichdb.py 2004-10-20 07:17:16 +00:00
whrandom.py Trigger DeprecationWarning 2004-08-07 21:44:37 +00:00
xdrlib.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
xmllib.py Do not use the default namespace for attributes. 2004-05-02 20:37:13 +00:00
xmlrpclib.py removed info@pythonware.com reference 2004-10-13 06:48:37 +00:00
zipfile.py Make struct formats for specifying file size to be unsigned instead of signed 2004-07-10 19:09:20 +00:00