0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 03:01:36 +01:00
cpython/Lib
Guido van Rossum 4fb5b28dfc Three independent changes:
- Don't use "from copy_reg import *".

- Use cls.__module__ instead of calling whichobject(cls, cls.__name__);
  also try __module__ in whichmodule(), just in case.

- After calling save_reduce(), add the object to the memo.
1997-09-12 20:07:24 +00:00
..
dos-8x3 The usual. 1997-08-15 00:45:26 +00:00
lib-old This module is now completely obsolete. 1997-07-18 16:48:30 +00:00
lib-stdwin Fixed conversion between seconds and milliseconds. 1996-12-12 23:42:20 +00:00
lib-tk Add missing comma to make a tuple of (tagOrId). 1997-08-18 14:44:04 +00:00
plat-aix3 New AIX specific subdirs 1996-08-08 18:24:58 +00:00
plat-aix4 New AIX specific subdirs 1996-08-08 18:24:58 +00:00
plat-freebsd2 FreeBSD platform specific modules 1996-07-30 21:05:10 +00:00
plat-generic Use fcntl.h instead of sys/fcntl.h; use h2py.py from Tools/scripts 1996-08-08 18:25:40 +00:00
plat-irix5 Added QUADRO. 1996-12-13 00:19:15 +00:00
plat-irix6 Irix 6 specific files -- thanks Sjoerd! 1997-01-15 19:19:19 +00:00
plat-linux1 more recent linux header files 1996-01-26 17:43:46 +00:00
plat-linux2 Regenerated on a newer Linux version. 1997-05-09 02:21:06 +00:00
plat-next3 regen for Next 1996-08-16 18:14:41 +00:00
plat-sunos4
plat-sunos5 Regenerated on newer Solaris version 1997-05-13 17:45:56 +00:00
plat-win Get rid of debug print statements 1996-08-20 20:00:51 +00:00
test Added test for __all__. 1997-09-08 16:06:20 +00:00
addpack.py
aifc.py Use newer struct, which handles unsigned long right 1997-01-11 19:21:09 +00:00
anydbm.py inherit error from _mod.error 1996-01-25 18:26:57 +00:00
AST.py New batch from Fred 1996-08-21 14:32:37 +00:00
audiodev.py Added support for 4-channel on SGI. 1996-12-13 00:19:56 +00:00
base64.py Set correct RFC number. Open input in binary. 1997-05-08 23:10:42 +00:00
BaseHTTPServer.py Treat all HTTP/1.* versions the same. 1997-08-12 14:46:13 +00:00
Bastion.py Removed RCS crud from official Python release version. 1996-10-08 14:14:49 +00:00
bdb.py Normalize whitespace. 1997-07-11 13:43:31 +00:00
binhex.py Merged in Jack's fixes. This brings some lines beyond 79 chars again; 1997-02-11 16:39:31 +00:00
bisect.py
builtin.py
calendar.py
cgi.py Changes suggested by Jim fulton: 1997-08-12 18:18:13 +00:00
CGIHTTPServer.py Remove some bogus code that would cause a NameError if a -r option was passed. 1997-02-19 20:07:38 +00:00
cmd.py
cmp.py
cmpcache.py
code.py Checking in new module code.py -- utilities dealing with code objects. 1997-07-18 16:57:52 +00:00
codehack.py This module is now completely obsolete. 1997-07-18 16:48:30 +00:00
colorsys.py
commands.py Added docstrings by Sue Williams, re-indented to 4 spaces / level. 1997-06-12 16:17:00 +00:00
compileall.py Don't trip over empty string in sys.path. 1996-07-31 21:18:42 +00:00
copy_reg.py Added some minimal comments and tweaked lay-out a bit. 1997-05-20 18:03:22 +00:00
copy.py Make sure the objects returned by __getinitargs__() are kept alive (in 1997-08-20 22:26:19 +00:00
dbhash.py backward compatible interface for bsddb 1996-01-25 18:33:39 +00:00
dircache.py
dircmp.py
dis.py Modernized for 1.5 1997-05-09 03:21:44 +00:00
dospath.py
dumbdbm.py export error == IOError 1996-05-28 22:58:40 +00:00
dump.py
emacs.py
exceptions.py #Adapt the doc string to reality. 1997-09-08 02:47:46 +00:00
find.py
fmt.py Change to always call list.append with a single argument. 1996-10-08 14:06:17 +00:00
fnmatch.py
formatter.py (formatter.py): Add a flush() method to the writer interface. This really 1996-12-31 20:50:51 +00:00
fpformat.py
ftplib.py Wrapped up the ~/.netrc support. This is basically just the changes Guido & 1997-06-24 22:02:54 +00:00
getopt.py Layout and cleanup by Fred 1996-09-11 19:43:52 +00:00
glob.py New doc strings. 1997-04-02 05:47:11 +00:00
gopherlib.py Changed makefile() args from r/w to rb/wb, for non-unix compatability. 1996-02-14 16:06:24 +00:00
grep.py
gzip.py Add the option to pass an open file object to GzipFile. This obviates 1997-07-19 20:22:23 +00:00
htmlentitydefs.py added &quot def 1996-05-28 23:18:55 +00:00
htmllib.py improved test() 1996-02-13 00:02:10 +00:00
httplib.py Two changes: 1997-08-11 21:52:17 +00:00
ihooks.py Add try-finally to close the file after loading it in 1997-08-13 14:48:36 +00:00
imghdr.py (Jack:) Recognize PNG files. 1997-04-11 18:59:38 +00:00
keyword.py Regenerated; __assert__ becomes assert. 1997-07-23 18:10:52 +00:00
knee.py #Added doc string. 1997-09-09 20:44:04 +00:00
linecache.py
lockfile.py
macpath.py Fix for boundary case (Jack) 1997-05-21 14:59:17 +00:00
macstat.py
macurl2path.py Handling of pathnames pointing to files on toplevel folder of disk was 1997-05-20 16:00:07 +00:00
mailbox.py Added BabylMailbox class by Fred Lundh (untested). 1997-05-15 14:33:09 +00:00
mailcap.py Change by Andrew Kuchling (edited by Guido): 1997-03-25 21:58:08 +00:00
Makefile
mhlib.py Added createmessage() -- Lars Wirzenius. 1997-07-25 14:59:10 +00:00
mimetools.py Use the modules base64, quopri, and uu, instead of external programs 1997-07-11 16:33:26 +00:00
MimeWriter.py Removed RCS crud from official Python release version. 1996-10-08 14:14:49 +00:00
mimify.py Fixed (and documented, see Doc/libmimify.tex) mime_decode_header() and 1997-08-14 14:10:37 +00:00
multifile.py
mutex.py Change to always call list.append with a single argument. 1996-10-08 14:06:17 +00:00
newdir.py
newimp.py
ni1.py Fix type in loop stripping '__.' from name 1996-09-10 17:38:20 +00:00
ni.py Fix type in loop stripping '__.' from name 1996-09-10 17:38:20 +00:00
nntplib.py Fixed bugs regarding lines starting with '.' (both receiving and sending). 1997-08-26 23:26:18 +00:00
ntpath.py Rewrite normcase() using string.translate... 1997-08-12 14:46:58 +00:00
nturl2path.py Allow paths without drive specifier (Jack). 1997-08-12 14:47:24 +00:00
os.py Write out the dynamic OS choice, to avoid exec statements. 1997-08-29 22:36:47 +00:00
ospath.py
packmail.py
Para.py Changes to always call list.append with a single argument. 1996-10-08 14:06:35 +00:00
pdb.doc
pdb.py No longer need to use codehack -- use co.co_firstlineno instead. 1997-07-18 16:47:40 +00:00
persist.py
pickle.py Three independent changes: 1997-09-12 20:07:24 +00:00
pipes.py
poly.py
popen2.py Rewrite using class, to make waiting for processes possible; 1997-08-11 03:27:24 +00:00
posixfile.py Added linux2 specific code :-( 1996-09-10 17:40:16 +00:00
posixpath.py join(): join one or more path components 1997-02-18 21:53:25 +00:00
pprint.py Slight mods to make the module conform to the documentation. 1997-07-18 20:42:39 +00:00
profile.doc
profile.py /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
pstats.py
pty.py
py_compile.py compile(): Use the __debug__ flag to determine the proper filename extension 1997-03-13 14:13:16 +00:00
pyclbr.py Don't add names that start with _ 1996-10-10 16:00:28 +00:00
Queue.py
quopri.py Added /usr/bin/env python and made executable. 1997-07-11 18:39:03 +00:00
rand.py
random.py
re.py Last minut changes for \B, \S (?). AMK. 1997-08-15 15:44:23 +00:00
regex_syntax.py
regexp.py
regsub.py Store the current regex syntax along with the regular expression 1997-02-18 18:52:55 +00:00
repr.py
rexec.py Alas, I have to restore 'marshal', since it is needed by the new 1997-04-25 19:10:15 +00:00
rfc822.py Tweaks by Lars Wirzenius to parse some more forms of illegal dates: 1997-07-25 15:20:52 +00:00
robotparser.py Skip Montanaro's robots.txt parser. 1997-01-30 03:18:23 +00:00
sched.py
sgmllib.py (sgmllib.py): Partial acceptance of patch from David Leonard 1996-12-16 21:56:27 +00:00
shelve.py Use cPickle and cStringIO when available. 1997-06-06 21:12:45 +00:00
shutil.py Transformed comments to doc strings. 1997-04-29 14:45:19 +00:00
SimpleHTTPServer.py Get rid of nobody_uid() and import pwd -- not used here. 1996-09-04 23:42:04 +00:00
site.py Change packages -> site-packages 1997-09-08 02:14:09 +00:00
sndhdr.py
SocketServer.py Fix bug found by kjpylint; change doc string to avoid "(" in column 1. 1997-07-16 16:21:38 +00:00
stat.py
statcache.py Use global statement instead of importing ourselves to get to global 1995-12-07 10:16:45 +00:00
string.py Changed my mind on replace(). 1997-04-02 05:49:46 +00:00
StringIO.py Patch by Lars Wirzenius to allow f.readline(length). 1997-07-25 14:56:01 +00:00
stringold.py Changed my mind on replace(). 1997-04-02 05:49:46 +00:00
sunau.py Get rid of access statement 1996-08-20 20:40:07 +00:00
sunaudio.py
symbol.py New symbols due to assert statement. 1997-04-02 05:46:05 +00:00
tb.py
tempfile.py Added TemporaryFile and wrapper class by Jim Fulton. 1997-08-12 18:00:12 +00:00
toaiff.py
token.py New batch from Fred 1996-08-21 14:32:37 +00:00
tokenize.py Correct typo in last line (test program invocation). 1997-06-03 22:05:15 +00:00
traceback.py Use sys.exc_info() instead of sys.exc_{type,value,traceback}. 1997-07-18 16:46:36 +00:00
tty.py
types.py Added some try-excepts so that it can be imported in restricted mode 1997-09-04 22:12:34 +00:00
tzparse.py
urllib.py Initialize self.__tempfiles to [] in the constructor (else it remains 1997-09-08 02:16:33 +00:00
urlopen.py
urlparse.py After some discussion with Jeremy and Fred, decided to limit the 1997-07-14 19:08:15 +00:00
user.py #typo 1997-08-30 20:04:42 +00:00
UserDict.py Fix bug in copy() by using copy.copy() instead of making assumptions 1997-06-03 14:10:01 +00:00
UserList.py added * and + operators 1996-05-28 22:56:16 +00:00
util.py
uu.py Added /usr/bin/env python and made executable. 1997-07-11 18:39:03 +00:00
wave.py Get rid of access statement 1996-08-20 20:40:07 +00:00
whatsound.py
whichdb.py Use new struct which supports standardized sizes 1997-01-11 19:22:11 +00:00
whrandom.py Two improvements suggested by Tim Peters: speed up random() since we 1997-07-10 15:14:50 +00:00
xdrlib.py Packer.pack_uhyper(): Fixes needed to properly pack unsigned 64 bit 1997-05-29 21:01:35 +00:00
zmod.py