0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/Lib
Tim Peters 8dd7adeb34 SF bug [#472347] pydoc and properties.
The GUI-mode code to display properties blew up if the property functions
(get, set, etc) weren't simply methods (or functions).

"The problem" here is really that the generic document() method dispatches
to one of .doc{routine, class, module, other}(), but all of those require
a different(!) number of arguments.  Thus document isn't general-purpose
at all:  you have to know exactly what kind of thing is it you're going
to document first, in order to pass the correct number of arguments to
.document for it to pass on.  As an expedient hack, just tacked "*ignored"
on to the end of the formal argument lists for the .docXXX routines so
that .document's caller doesn't have to know in advance which path
.document is going to take.
2001-10-18 19:56:17 +00:00
..
compiler Vastly improved stacksize calculation. 2001-10-17 13:37:29 +00:00
curses Catch curses.error instead of a non-existent global (PyChecker) 2001-08-13 13:47:23 +00:00
distutils With Andrew's blessing: distutils version number is now 1.0.3. 2001-10-05 20:43:09 +00:00
email Two merges from the mimelib project: 2001-10-17 20:51:42 +00:00
encodings Python part of the UTF-7 codec by Brian Quinlan. 2001-09-20 12:56:14 +00:00
hotshot pstats-compatible analysis module. 2001-10-15 22:18:53 +00:00
idlelib merged port binding error message patch 2001-10-07 11:44:49 +00:00
lib-old Use string.ascii_letters instead of string.letters (SF bug #226706). 2001-07-20 19:05:50 +00:00
lib-tk Move grid_location into Misc. Fixes bug #426892. 2001-10-13 09:33:51 +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 Do no regenerate modules that should no longer be here. 2001-05-10 15:52:47 +00:00
plat-riscos SF bug [#469732] os.path.walk docstring inconsistent. 2001-10-10 04:16:20 +00:00
plat-sunos4 Do no regenerate modules that should no longer be here. 2001-05-10 15:52:47 +00:00
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 SF bug [#472347] pydoc and properties. 2001-10-18 19:56:17 +00:00
xml Remove obsolete __dynamic__ distinction. 2001-10-15 22:53:29 +00:00
__future__.py Repair repr of future-features (wasn't updated to include the new 2001-08-24 17:13:54 +00:00
__phello__.foo.py Fix the frozen bytecode for __hello__ (betcha didn't know that existed 2001-10-18 18:49:37 +00:00
aifc.py
anydbm.py Catch only the relevant exceptions instead of using a bare except clause. 2001-05-11 18:27:00 +00:00
asynchat.py Fix from the Madusa mailing list: 2001-04-08 07:23:44 +00:00
asyncore.py Reindent __repr__. 2001-10-18 17:33:19 +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
BaseHTTPServer.py Remove unused imports from previous checkin. 2001-07-25 06:12:16 +00:00
Bastion.py
bdb.py Return self.trace_dispatch from dispatch_return() to enable stepping through generators. (An alternative would be to create a new "yield" debugger event, but that involves many more changes, and might break Bdb subclasses.) 2001-06-25 18:01:24 +00:00
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 Application of patch #401842 by Denis S. Otkidach to support 2001-05-22 15:58:30 +00:00
cgi.py "ib" should be "boundary"; reported by Neal Norwitz. 2001-10-13 18:38:53 +00:00
CGIHTTPServer.py SF patch #467430. 2001-10-17 06:45:56 +00:00
cgitb.py Enhancements: 2001-08-21 06:53:01 +00:00
chunk.py Clean up bare except: when determining whether a file is seekable. 2001-05-11 19:14:51 +00:00
cmd.py Whitespace normalization. 2001-08-09 21:40:30 +00:00
code.py softspace(): be prepared to catch AttributeError as well as TypeError 2001-09-18 13:33:01 +00:00
codecs.py Added new helpers for easy access to codecs. Docs will follow. 2001-09-19 11:24:48 +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 Fix compileall.py so that it fails on SyntaxErrors 2001-04-18 01:20:21 +00:00
ConfigParser.py Apply modified SF patch 467580: ConfigParser.getboolean(): FALSE, TRUE. 2001-10-04 19:58:46 +00:00
Cookie.py Patch #444359: Remove unused imports. 2001-08-02 07:15:29 +00:00
copy_reg.py Changes to copy() and deepcopy() in copy.py to support __reduce__ as a 2001-09-28 18:13:29 +00:00
copy.py Add complex to the dispatch tables, to avoid going through the whole 2001-09-28 18:16:13 +00:00
dbhash.py Fix bug #422702: Make flag argument to open optional, and document it that way. 2001-06-05 05:33:19 +00:00
difflib.py Whitespace normalization. 2001-10-04 05:36:56 +00:00
dircache.py Whitespace normalization. 2001-03-16 08:29:48 +00:00
dis.py Add opcodes for floor division and true division (PEP 238) 2001-08-29 18:02:21 +00:00
doctest.py SF bug [#467336] doctest failures w/ new-style classes. 2001-10-03 04:08:26 +00:00
dospath.py SF bug [#469732] os.path.walk docstring inconsistent. 2001-10-10 04:16:20 +00:00
dumbdbm.py The first batch of changes recommended by the fixdiv tool. These are 2001-09-04 19:14:14 +00:00
FCNTL.py Add a new FCNTL.py backward compatibility module that issues a deprecation 2001-05-09 21:13:23 +00:00
filecmp.py
fileinput.py
fnmatch.py Patch #409973: Speedup glob.glob, add fnmatch.filter. 2001-06-06 06:24:38 +00:00
formatter.py Remove empty __init__ (PyChecker) 2001-08-13 14:55:17 +00:00
fpformat.py
ftplib.py Oops. Catching OverflowError from int() doesn't help, since it raises 2001-10-17 17:21:47 +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 Patch #409973: Speedup glob.glob, add fnmatch.filter. 2001-06-06 06:24:38 +00:00
gopherlib.py Remove unused variable (PyChecker) 2001-08-13 14:52:37 +00:00
gzip.py "f" should be "self"; reported by Neal Norwitz. 2001-10-13 18:33:51 +00:00
hmac.py Whitespace normalization. 2001-09-18 02:26:39 +00:00
htmlentitydefs.py
htmllib.py int() of a string is only expected to through ValueError, so do not use 2001-05-11 18:45:52 +00:00
HTMLParser.py Re-factor the HTMLParser class to use the new markupbase.ParserBase class. 2001-09-24 20:10:28 +00:00
httplib.py Somebody checked in a version of httplib that doesn't even compile -- 2001-10-11 18:15:51 +00:00
ihooks.py
imaplib.py SF bug #469910 by Alfonso Baciero: Bugfix for imaplib for macintosh 2001-10-15 13:47:08 +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 Get rid of __defined__ and tp_defined -- there's no need to 2001-10-15 22:03:32 +00:00
keyword.py Updated keyword.py for "yield". 2001-06-19 00:26:25 +00:00
knee.py
linecache.py Patch from Gordon McMillan. 2001-05-29 04:27:01 +00:00
locale.py Remove some dead code (PyChecker) 2001-08-13 14:50:44 +00:00
macpath.py SF bug [#469732] os.path.walk docstring inconsistent. 2001-10-10 04:16:20 +00:00
macurl2path.py
mailbox.py SF bug #461073: mailbox __iter__ bug, by Andrew Dalke. 2001-09-13 01:29:13 +00:00
mailcap.py Opening a file for reading can raise IOError, so only catch that. 2001-05-11 18:47:54 +00:00
markupbase.py Remove extra param from call to self.error(). 2001-10-13 15:59:47 +00:00
mhlib.py Folder.getlast(): avoid PyChecker warning. 2001-10-17 05:59:26 +00:00
mimetools.py
mimetypes.py Patch #438790: Add additional mappings. 2001-09-07 16:49:12 +00:00
MimeWriter.py
mimify.py Fix for SF bug #425868. 2001-07-04 10:15:58 +00:00
multifile.py Martijn Pieters convinced me that when readline() strips the trailing 2001-10-05 21:22:21 +00:00
mutex.py
netrc.py Fix typo in attribute name (file should be filename) found by 2001-04-15 12:51:42 +00:00
nntplib.py SF patch #462628 (Travers Naran) NNTPLib supports saving BODY to a file. 2001-10-01 13:46:55 +00:00
ntpath.py SF bug [#469732] os.path.walk docstring inconsistent. 2001-10-10 04:16:20 +00:00
nturl2path.py Use string.ascii_letters instead of string.letters. 2001-07-20 18:52:02 +00:00
os.py Unify _Environ processing on riscos with other platforms. 2001-03-07 09:05:45 +00:00
pdb.doc
pdb.py
pickle.py Use cStringIO when available. 2001-10-15 21:29:28 +00:00
pipes.py Patch #444359: Remove unused imports. 2001-08-02 07:15:29 +00:00
popen2.py
poplib.py Only close sockets if they have been created. Reported by Blake Winton. 2001-10-07 08:53:32 +00:00
posixfile.py This module didn't work at all anymore -- blew up with AttributeError 2001-09-18 05:40:24 +00:00
posixpath.py SF bug [#469732] os.path.walk docstring inconsistent. 2001-10-10 04:16:20 +00:00
pprint.py Remove obsolete email address. 2001-10-09 20:53:48 +00:00
pre.py Clean up a bare except where we only expect to catch pcre.error. 2001-05-11 19:20:17 +00:00
profile.doc
profile.py Minor code cleanups based on comments from Neal Norwitz. 2001-10-17 01:49:50 +00:00
pstats.py Put the deprecated .ignore() method back where it was. 2001-10-08 06:28:18 +00:00
pty.py Whitespace normalization. 2001-05-29 06:06:54 +00:00
py_compile.py
pyclbr.py Nick Mathewson: Make sure the recursion is handled properly. 2001-08-13 20:20:51 +00:00
pydoc.py SF bug [#472347] pydoc and properties. 2001-10-18 19:56:17 +00:00
Queue.py
quopri.py Patch 471400: escape single-dot lines; by Jason Hildebrand. 2001-10-15 18:44:26 +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 Ignore execfile() return value; reported by Neal Norwitz. 2001-10-13 18:34:42 +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 Re-factor the SGMLParser class to use the new markupbase.ParserBase class. 2001-09-24 20:15:51 +00:00
shelve.py
shlex.py Unused variable (caught by PyChecker) removed. 2001-04-17 17:20:19 +00:00
shutil.py
SimpleHTTPServer.py
SimpleXMLRPCServer.py _dispatch(): Do no re-define the resolve_dotted_atttribute() function 2001-09-29 04:54:33 +00:00
site.py Correct the URL for the license (only used when the LICENSE[.txt] file 2001-10-02 18:27:09 +00:00
smtpd.py SMTPServer.__init__(): The asyncore.dispatcher base class has a method 2001-10-09 15:46:31 +00:00
smtplib.py SMTPError should be SMTPException; reported by Neal Norwitz. 2001-10-13 18:35:32 +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
SocketServer.py SF bug #471720: ThreadingMixIn/TCPServer forgets close 2001-10-18 18:02:07 +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 fixed #449964: sre.sub raises an exception if the template contains a 2001-09-18 20:55:24 +00:00
sre.py SRE bug #441409: 2001-10-18 19:30:16 +00:00
stat.py
statcache.py
statvfs.py
string.py Added the constants ascii_letters, ascii_lowercase, and ascii_uppercase 2001-07-20 18:38:26 +00:00
StringIO.py StringIO patch #462596: let's [c]StringIO accept read buffers on 2001-09-24 17:34:52 +00:00
stringold.py
sunau.py
sunaudio.py
symbol.py track addition of testlist_safe to Grammar 2001-10-17 13:13:04 +00:00
symtable.py Remove now-unnecessary "from __future__ import nested_scopes" stmts. 2001-07-12 22:36:02 +00:00
tabnanny.py Add the NannyNag exception class and the process_tokens() function to 2001-08-07 17:19:25 +00:00
telnetlib.py Only close sockets if they have been created. Reported by Blake Winton. 2001-10-07 08:53:32 +00:00
tempfile.py Search /tmp before /var/tmp and /usr/tmp -- this seems preferred. 2001-03-02 05:51:16 +00:00
TERMIOS.py
threading.py Whitespace normalization. 2001-09-18 02:26:39 +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 SF bug 431772: traceback.print_exc() causes traceback 2001-06-10 18:58:26 +00:00
tty.py
types.py Don't export generators future info 2001-09-26 19:54:08 +00:00
tzparse.py Add a deprecation warning to this module. 2001-03-20 18:36:48 +00:00
unittest.py Add missing period in docstring. 2001-09-06 19:13:14 +00:00
urllib2.py Fix [ #465502 ] urllib2: urlopen unicode problem 2001-10-09 16:18:45 +00:00
urllib.py Added missing parameter in call to http_error_default(); 2001-10-13 18:37:07 +00:00
urlparse.py Remove unused variable 2001-08-13 14:38:50 +00:00
user.py
UserDict.py Remove the __iter__ method from the UserDict class -- it can silently 2001-08-07 17:40:42 +00:00
UserList.py Patch #424475: Speed-up tp_compare usage, by special-casing the common 2001-06-09 07:34:05 +00:00
UserString.py This patch changes the way the string .encode() method works slightly 2001-05-15 12:00:02 +00:00
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 ReferenceError is now built-in, so pick it up from the right place. 2001-10-05 21:54:09 +00:00
webbrowser.py _os should be os; reported by Neal Norwitz. 2001-10-13 16:00:52 +00:00
whichdb.py Whitespace normalization. 2001-03-16 08:29:48 +00:00
whrandom.py
xdrlib.py Use (c)StringIO for collecting bytes. Fixes bug #451622. 2001-08-16 17:06:44 +00:00
xmllib.py Moved clearing of "literal" flag. The flag is set in setliteral which 2001-03-14 17:03:30 +00:00
xmlrpclib.py test for int and long int overflow (allows operation on 64-bit platforms) 2001-10-17 22:53:33 +00:00
zipfile.py Make these modules work when Python is compiled without Unicode support. 2001-09-21 19:22:34 +00:00