cpython/Lib
Tim Peters f58a7aafea Implemented new os.startfile function, unique to Windows, exposing a
subset of Win32 ShellExecute's functionality.  Guido wants this because
IDLE's Help -> Docs function currently crashes his machine because of a
conflict between his version of Norton AntiVirus (6.10.20) and MS's
_popen.  Docs for startfile are being mailed to Fred (or just read the
docstring -- it tells the whole story).
Changed webbrowser.py to use os.startfile instead of os.popen on Windows.
Changed IDLE's EditorWindow.py to pass an absolute path for the docs
(hardcoding ShellExecute's "directory" arg to "." as used to be done let
IDLE work, but made the startfile command exceedingly obscure for other
uses -- the MS docs are terrible, of course, & still not sure I
understand it).
Note that Windows Python must link with shell32.lib now!  That's where
ShellExecute lives.
2000-09-22 10:05:54 +00:00
..
compiler change 2-space indent to 4-space indent 2000-09-20 02:47:28 +00:00
curses Tweak curses.wrapper so it initializes colors if they are available. 2000-08-09 21:11:07 +00:00
distutils Tweak what happens when run on non-Windows platforms: set install prefix 2000-09-22 01:32:34 +00:00
dos-8x3 The usual. 2000-09-05 04:49:50 +00:00
encodings Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
idlelib Initial revision 2000-08-15 01:13:23 +00:00
lib-old Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
lib-tk Removed some debugging prints: When running user configuration code 2000-09-15 04:41:22 +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 New files from Thomas Gellekum 1998-05-06 15:14:36 +00:00
plat-freebsd3 New files from Thomas Gellekum 1998-05-06 15:14:36 +00:00
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 fcntl.h instead of sys/fcntl.h; use h2py.py from Tools/scripts 1996-08-08 18:25:40 +00:00
plat-irix5 Convert some old-style string exceptions to class exceptions. 2000-08-18 14:59:33 +00:00
plat-irix6 Convert some old-style string exceptions to class exceptions. 2000-08-18 14:59:33 +00:00
plat-linux1 more recent linux header files 1996-01-26 17:43:46 +00:00
plat-linux2 Forgot to add this file. CDROM device parameters. 1999-04-12 14:35:08 +00:00
plat-netbsd1 More generated files for netbsd 1.x, by Anders Andersen. 1997-12-03 18:44:57 +00:00
plat-next3 regen for Next 1996-08-16 18:14:41 +00:00
plat-sunos4 Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
plat-sunos5 Forgot to add this file. CDROM device parameters. 1999-04-12 14:35:08 +00:00
site-packages Add a README file so that cvs update -P doesn't obliterate this 2000-03-31 20:03:56 +00:00
test Get rid of the one tab in the file. 2000-09-22 09:23:08 +00:00
xml More whitespace cleanup, to satisfy tabnanny.py. Don't trust -tt! 2000-09-22 09:30:29 +00:00
BaseHTTPServer.py updated occurences of fqdn algorithm (closes patch #101197) 2000-08-16 20:30:21 +00:00
Bastion.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
CGIHTTPServer.py An honest attempt to make this work on Unix, Windows, and even 2000-09-19 04:01:01 +00:00
ConfigParser.py Small fixes by Petru Paler (patch #100946) checked in with esr's approval. 2000-07-21 05:19:59 +00:00
Cookie.py Whitespace cleanup; now passes the regression test (the last checkin made 2000-08-24 14:40:35 +00:00
Makefile Remove .pyo files like .pyc files. 1997-10-20 23:16:58 +00:00
MimeWriter.py Run the self-test (test.test_MimeWriter) when invoked as a script. 1998-04-23 13:34:57 +00:00
Queue.py typos fixed by Rob Hooft 2000-06-28 14:48:01 +00:00
SimpleHTTPServer.py For this server to work on Windows, directories should use "/" as the 2000-09-04 15:55:31 +00:00
SocketServer.py In class StreamRequestHandler, make the default buffering for rfile 2000-09-01 03:25:14 +00:00
StringIO.py Support sizehint in StringIO.readlines, as documented. 2000-09-19 11:07:44 +00:00
UserDict.py Barry's patch to implement the new setdefault() method. 2000-08-08 16:12:54 +00:00
UserList.py SF patch 101391: implemented UserList.__contains__. 2000-09-19 20:29:03 +00:00
UserString.py simple typo that makes regression test test_userstring fail 2000-08-24 21:47:34 +00:00
aifc.py Convert some old-style string exceptions to class exceptions. 2000-08-17 05:06:49 +00:00
anydbm.py Oops, I had 'n' and 'c' mixed up in my mind. Get rid of the comment 1998-04-28 15:23:09 +00:00
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
bdb.py Mass patch by Ka-Ping Yee: 2000-02-02 15:10:15 +00:00
binhex.py Convert some old-style string exceptions to class exceptions. 2000-08-17 05:06:49 +00:00
bisect.py Mass patch by Ka-Ping Yee: 2000-02-02 15:10:15 +00:00
builtin.py added builtin b/w compat module. 1993-10-22 14:24:22 +00:00
calendar.py patches from David Goodger. Closes patch 101085. 2000-08-30 14:01:28 +00:00
cgi.py Patch #101121, by Ka-Ping Yee: cosmetic cleanup of cgi.py, using my 2000-09-19 04:11:46 +00:00
chunk.py Sjoerd Mullender writes: 1999-08-26 15:50:43 +00:00
cmd.py Bug fix: ? and ! were not full aliases for `help' and `shell' as implied in 2000-07-11 13:03:55 +00:00
code.py Simple changes by Gerrit Holl - move author acknowledgements out of 2000-02-28 15:12:25 +00:00
codecs.py Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
codeop.py Moved compile_command() here from code.py, so JPython can provide its 1998-10-22 21:56:15 +00:00
colorsys.py Fix the question marks next to the expansions of some of the 2000-02-14 21:30:52 +00:00
commands.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
compileall.py When run as a script, report failures in the exit code as well. 1999-03-29 20:25:40 +00:00
copy.py Added Unicode objects to the copy mechanism. Since these are immutable, 2000-09-07 11:00:03 +00:00
copy_reg.py Mass patch by Ka-Ping Yee: 2000-02-02 15:10:15 +00:00
dbhash.py Clarify why we define error. Suggested by Andrew Dalke. 1999-05-03 18:09:26 +00:00
dircache.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
dis.py Add missing opcodes. Thanx to jeremy for reminding me ;) 2000-08-24 22:44:53 +00:00
dospath.py Treat trailing colon in os.path.join("a:", "b") same way for DOS as in 2000-09-19 23:46:56 +00:00
dumbdbm.py Patch from Joe Eaton <jeaton@hostway.net> (SF#100741) to fix following problem: 2000-07-10 13:56:35 +00:00
filecmp.py cmpfiles(): Added shallow and use_statcache parameters, with same meanings 2000-07-03 08:18:47 +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 Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
fpformat.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
ftplib.py Added support for RFC 959's REST command (restart), closing SF patch 2000-09-01 06:09:23 +00:00
getopt.py Gerrit forgot to remove the "import string". 2000-02-25 16:34:11 +00:00
getpass.py Simple changes by Gerrit Holl - move author acknowledgements out of 2000-02-28 15:12:25 +00:00
gettext.py Repaired comment. 2000-09-01 02:20:20 +00:00
glob.py Convert all remaining *simple* cases of regex usage to re usage. 1997-10-22 21:00:49 +00:00
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 More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
htmllib.py No need to import sys. (Andrew Dalke & kjpylint) 1999-05-03 18:13:51 +00:00
httplib.py Indent _connection_class so that it becomes HTTPS._connection_class. 2000-09-21 22:09:47 +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 More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
imputil.py no changes other than indentation level (now 4) and comment reflow. 2000-07-18 09:09:48 +00:00
keyword.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
knee.py Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
linecache.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +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 Restored commonprefix() semantics. 2000-08-23 09:13:40 +00:00
macstat.py * Lib/linecache.py: don't crash on empty filename 1994-08-23 13:32:20 +00:00
macurl2path.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
mailbox.py Detlef Lannert <lannert@uni-duesseldorf.de>: 2000-09-14 14:44:43 +00:00
mailcap.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
mhlib.py Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
mimetools.py Skip Montanaro submits a simple patch that makes encode() and decode() 2000-04-04 20:53:07 +00:00
mimetypes.py Untabify to pass the -tt test. 2000-02-10 17:17:14 +00:00
mimify.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
multifile.py Convert some old-style string exceptions to class exceptions. 2000-08-17 05:06:49 +00:00
mutex.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
netrc.py Apply Greg Kochanski's fix for open/265. 2000-07-13 13:25:07 +00:00
nntplib.py Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
ntpath.py Part of SF patch 101481: on Windows, os.path.join("a:", "b") should yield 2000-09-19 20:39:32 +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 Only supply popen2, popen3 when fork exists. 2000-09-19 03:04:52 +00:00
pdb.doc Untabified and applied Richard Wolff's changes (plus my own reflowing 1998-09-17 15:01:38 +00:00
pdb.py Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
persist.py * ftplib.py: added abort() command (sends oob data). 1993-05-24 14:16:22 +00:00
pickle.py Fix Bug #114293: 2000-09-15 15:14:51 +00:00
pipes.py More trivial comment -> docstring transformations by Ka-Ping Yee, 2000-02-04 15:10:34 +00:00
popen2.py The "more" cmd varies across Windows flavors, sometimes adding stray 2000-09-01 20:38:55 +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 revert semantics of commonprefix to work character-by-character 2000-08-22 13:01:53 +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 Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
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 Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
quopri.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +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 The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
regsub.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
repr.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
rexec.py Get rid of the classes RModuleLoader and RModuleImporter -- these were 1998-09-21 14:53:26 +00:00
rfc822.py Support for augmented assignment in the UserList, UserDict, UserString and 2000-08-24 20:14:10 +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 Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
sgmllib.py [Old patch that hadn't been checked in.] 2000-06-29 18:50:59 +00:00
shelve.py Untabify to pass the -tt test. 2000-02-10 17:17:14 +00:00
shlex.py Make tabnanny happy. 2000-07-09 16:44:26 +00:00
shutil.py apply patch #100868 from Moshe Zadka: 2000-07-12 09:55:30 +00:00
site.py sys.setdefaultencoding() should only be called in case the standard 2000-09-18 11:06:00 +00:00
smtplib.py Applied patch #101350, closing it. 2000-09-01 06:40:07 +00:00
sndhdr.py Move brief descriptions of what() and whathdr() to docstrings in the 1999-01-06 15:20:49 +00:00
socket.py Support sizehint in _fileobject.readlines, as documented. 2000-09-19 11:25:58 +00:00
sre.py - fixed yet another gcc -pedantic warning 2000-09-21 17:03:25 +00:00
sre_compile.py -- reset marks if repeat_one tail doesn't match 2000-08-07 20:59:04 +00:00
sre_constants.py final 0.9.8 updates: 2000-08-01 22:47:49 +00:00
sre_parse.py -- tightened up parsing of octal numbers 2000-09-02 11:03:34 +00:00
stat.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
statcache.py Actually, the previous batch's comment should have been different; 2000-02-04 15:39:30 +00:00
statvfs.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
string.py Fix serious typo! 2000-09-18 19:38: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 Convert some old-style string exceptions to class exceptions. 2000-08-17 04:45:13 +00:00
sunaudio.py Convert some old-style string exceptions to class exceptions. 2000-08-17 04:45:13 +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 Revise to use atexit instead of monkeying with sys.exitfunc directly. 2000-08-18 15:50:54 +00:00
toaiff.py Convert some old-style string exceptions to class exceptions. 2000-08-17 04:45:13 +00:00
token.py Update for augmented assignment. 2000-08-24 21:08:39 +00:00
tokenize.py Update for augmented assignment, tested & approved by Guido. 2000-08-24 21:44:52 +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 The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
types.py Marc-Andre Lemburg: add UnicodeType. 2000-03-10 23:18:11 +00:00
tzparse.py The third and final doc-string sweep by Ka-Ping Yee. 2000-02-04 15:28:42 +00:00
urllib.py Remove "," from the list of always_safe characters. It is a reserved 2000-09-14 16:59:07 +00:00
urllib2.py Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
urlparse.py Pekka Pessi <Pekka.Pessi@nokia.com>: 2000-06-20 18:32:16 +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
uu.py Convert some old-style string exceptions to class exceptions. 2000-08-17 04:45:13 +00:00
wave.py Convert some old-style string exceptions to class exceptions. 2000-08-17 04:45:13 +00:00
webbrowser.py Implemented new os.startfile function, unique to Windows, exposing a 2000-09-22 10:05:54 +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 Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
xmllib.py New method getnamespace. 2000-08-31 10:27:00 +00:00
zipfile.py James C. Ahlstron <jim@interet.com>: 2000-06-13 18:49:53 +00:00