cpython/Lib
Brett Cannon 455ea53d0e Make creation of temporary file and directory more portable. Also made cleanup
code use proper functions to get paths.

Changed the name of tar file that is searched for to be absolute (i.e., not use
os.extsep) since filename is locked in based on name of file in CVS
(testtar.tar).

Closes bug #731403 .
2003-06-12 08:01:06 +00:00
..
bsddb Wrap the cursor functions with dbutils.DeadlockWrap to deal with the 2003-05-28 08:26:43 +00:00
compiler SF patch #701494: more apply removals 2003-04-06 09:01:11 +00:00
curses SF patch #701494: more apply removals 2003-04-06 09:01:11 +00:00
distutils Fixed indentation error. Closes bug #746953. 2003-06-01 19:27:40 +00:00
email get_payload(): Improve the TypeError message when the payload isn't of 2003-06-10 16:31:55 +00:00
encodings Remove usage of re module from encodings package search function. 2003-05-16 17:07:51 +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 No longer needed. 2003-06-12 04:38:13 +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 SF bug #685773: 2 (more) bugs in turtle 2003-06-09 08:50:57 +00:00
logging Fix SF bug #723801, logging.setLoggerClass() doesn't support new-style classes 2003-04-23 13:12:19 +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-atheos Patch #488073: AtheOS port. 2002-06-11 06:22:31 +00:00
plat-beos5 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-darwin These were somehow never added to CVS. 2002-12-30 22:14:35 +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 Fix a typo in the mktemp -> mkstemp patch. 2002-08-10 00:17:59 +00:00
plat-irix6 Fix a typo in the mktemp -> mkstemp patch. 2002-08-10 00:17:59 +00:00
plat-linux1 Remove obsolete entries from regen scripts. 2001-07-31 08:47:55 +00:00
plat-linux2 Regenerate. Fixes #618012. 2002-11-23 12:09:28 +00:00
plat-mac Added two keys to database format: User-install-skips is an array of pathname 2003-06-01 20:57:12 +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-os2emx Create and populate OS/2 EMX port platform specific library directory: 2002-02-22 11:06:30 +00:00
plat-riscos Patch #734231: Update RiscOS support. In particular, correct 2003-05-10 07:36:56 +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 Make creation of temporary file and directory more portable. Also made cleanup 2003-06-12 08:01:06 +00:00
xml Whitespace normalization. 2003-04-24 16:02:54 +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
_strptime.py Call time.tzset (if available) just before calculating possible timezones from time.tzname. 2003-05-13 20:28:15 +00:00
aifc.py Fix wanrings about unsigned hex constants. 2002-08-12 22:11:28 +00:00
anydbm.py SF 563203. Replaced 'has_key()' with 'in'. 2002-06-01 14:18:47 +00:00
asynchat.py [Patch #649762] Fix for asynchat endless loop 2003-03-10 15:16:54 +00:00
asyncore.py Fix comment typo 2003-02-14 01:13:01 +00:00
atexit.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
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 Fix SF bug #747348 docstring mistake in BaseHTTPServer.py. \n\nBackport Candidate 2003-06-02 14:25:43 +00:00
Bastion.py Sabotage rexec.py. It is not safe since the new-style classes. 2003-01-06 15:43:34 +00:00
bdb.py Get rid of many apply() calls. 2003-02-27 20:14:51 +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 SF 685011: calendar module overflow handling 2003-02-13 22:58:02 +00:00
cgi.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
CGIHTTPServer.py Fix bug 427345 [related to IE's additional input on POST request]. 2003-01-08 18:53:18 +00:00
cgitb.py Fix name error, found by pychecker. 2002-12-31 01:08:35 +00:00
chunk.py Partial introduction of bools where appropriate. 2002-04-07 06:36:23 +00:00
cmd.py Whitespace normalization. 2003-02-19 02:35:07 +00:00
code.py - Finally fixed the bug in compile() and exec where a string ending 2003-02-13 22:07:59 +00:00
codecs.py Fix typos. 2003-02-02 23:08:27 +00:00
codeop.py Don't replace an empty line with "pass" when symbol == "eval", where 2003-05-16 01:24:30 +00:00
colorsys.py
commands.py
compileall.py Catch IOErrors. 2003-01-16 11:02:43 +00:00
ConfigParser.py Further cleanup of exceptions. All interpolation-related exceptions 2002-12-31 17:23:27 +00:00
Cookie.py Patch #655760: add warnings when the unsafe *Cookie classes are instantiated 2002-12-29 16:44:31 +00:00
copy.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
copy_reg.py Patch #750595: Refer to type complex using builtin. Fixes #595837. 2003-06-07 20:10:54 +00:00
csv.py One more multiple exception catch should be in a tuple. 2003-06-12 04:05:00 +00:00
dbhash.py typo 2003-05-05 14:16:41 +00:00
difflib.py For the context and unified diff functions: 2003-06-08 19:38:42 +00:00
dircache.py Replaced obsolete stat module constants with equivalent attributes 2002-06-01 19:51:15 +00:00
dis.py Whitespace normalization. 2003-03-07 17:30:48 +00:00
doctest.py Patch #486438: Make module argument to testmod optional. 2002-11-22 08:23:09 +00:00
DocXMLRPCServer.py Patch #727805: Remove extra line ending from CGI responses. 2003-05-01 05:05:09 +00:00
dumbdbm.py Fix comment, mode really is used 2003-03-01 22:58:00 +00:00
dummy_thread.py Whitespace normalization. 2003-01-29 03:49:43 +00:00
dummy_threading.py Brett Cannon's dummy_thread and dummy_threading modules (SF patch 2002-12-30 22:30:22 +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 Module review: 2003-02-27 00:05:31 +00:00
fileinput.py Test that chmod() actually exists before calling it (it doesn't on MacOS9). 2003-01-08 16:33:16 +00:00
fnmatch.py SF 563203. Replaced 'has_key()' with 'in'. 2002-06-01 14:18:47 +00:00
formatter.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
fpformat.py
ftplib.py Fix a regression from the 1.68->1.69 checkin: 2002-06-03 10:41:45 +00:00
getopt.py A few naughty external scripts do 'raise getopt.error, "blah"', and 2003-02-06 19:52:56 +00:00
getpass.py Fix SF #640094, on win32 getpass runs into unix_getpass 2002-11-20 23:15:54 +00:00
gettext.py GNUTranslations._parse(): Fix SF bug #658233, where continuation lines 2003-05-20 17:26:48 +00:00
glob.py Patch #409973: Speedup glob.glob, add fnmatch.filter. 2001-06-06 06:24:38 +00:00
gopherlib.py SF 563203. Replaced 'has_key()' with 'in'. 2002-06-01 14:18:47 +00:00
gzip.py [Patch #654421 from Matthew Mueller] 2003-02-05 21:35:07 +00:00
heapq.py Fix typo in comment. 2002-11-13 14:38:17 +00:00
hmac.py Remove uses of the string and types modules: 2002-06-03 15:58:32 +00:00
htmlentitydefs.py Add two dictionaries to htmlentitydefs: name2codepoint maps 2003-04-16 09:46:13 +00:00
htmllib.py Patch 560023 adding docstrings. 2.2 Candidate (after verifying modules were not updated after 2.2). 2002-05-29 16:18:42 +00:00
HTMLParser.py Accept commas in unquoted attribute values. 2003-03-14 16:21:57 +00:00
httplib.py Whitespace normalization. 2003-05-12 20:19:37 +00:00
ihooks.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
imaplib.py improved CRLF regex for previous fix 2003-04-29 23:58:08 +00:00
imghdr.py
imputil.py Close SF patch 523944: importing modules with foreign newlines. 2002-06-28 23:32:51 +00:00
inspect.py Patch #711902: Cause pydoc to show data descriptor __doc__ strings. 2003-05-03 09:09:02 +00:00
keyword.py Patrick K. O'Brien notices that kwlist was missing from __all__. 2002-10-30 05:17:22 +00:00
linecache.py Replaced obsolete stat module constants with equivalent attributes 2002-06-01 19:51:15 +00:00
locale.py Support '' as the argument for the setlocale emulation. Fixes #678259. 2003-03-30 15:42:13 +00:00
macpath.py Getting rid of macfs. 2003-02-27 23:18:46 +00:00
macurl2path.py
mailbox.py Undocumented feature: MHMailbox sets the msg object's _mh_msgno 2002-09-12 05:08:00 +00:00
mailcap.py Replaced .keys() with dictionary iterators 2002-06-02 18:55:56 +00:00
markupbase.py Whitespace normalization. 2003-04-24 16:02:54 +00:00
mhlib.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
mimetools.py Massive changes from SF 589982 (tempfile.py rewrite, by Zack 2002-08-09 16:38:32 +00:00
mimetypes.py guess_all_extensions(): Return the empty list instead of None when 2003-06-09 22:27:41 +00:00
MimeWriter.py Patch 560023 adding docstrings. 2.2 Candidate (after verifying modules were not updated after 2.2). 2002-05-29 16:18:42 +00:00
mimify.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
modulefinder.py Patch #698082 from Thomas Heller: Modulefinder didn't exclude modules 2003-03-05 17:23:48 +00:00
multifile.py Back out multifile.py 1.19 and 1.20. Fixes #514676. 2002-09-22 09:01:08 +00:00
mutex.py Code modernization. Replace v=s[i]; del s[i] with single lookup v=s.pop(i) 2002-06-30 03:39:14 +00:00
netrc.py SF bug 557704: netrc module can't handle all passwords 2003-04-24 20:11:20 +00:00
new.py Forgot to add this. It's part of patch 568629. 2002-06-16 01:22:13 +00:00
nntplib.py - Several methods of nntplib.NNTP have grown an optional file argument 2003-04-19 18:04:57 +00:00
ntpath.py make nt altsep forward slash - closes bug 709428 2003-03-28 22:23:24 +00:00
nturl2path.py Use string.ascii_letters instead of string.letters. 2001-07-20 18:52:02 +00:00
opcode.py Revert the previous enhancement to the bytecode optimizer. 2003-04-24 05:45:23 +00:00
optparse.py Update to Optik 1.4.1+: adds __all__ (Optik SF bug #728563). 2003-05-08 01:38:52 +00:00
os.py Add optional 'onerror' argument to os.walk(), to control error 2003-05-13 18:01:19 +00:00
os2emxpath.py Migrate definitions of several platform-dependent path-related variables 2003-02-14 19:35:31 +00:00
pdb.doc
pdb.py [Bug #741171] pdb crashes when enabling a non-existing breakpoint 2003-05-22 14:46:12 +00:00
pickle.py Remove unused _better_reduce (which will disappear soon) and 2003-02-18 22:49:10 +00:00
pickletools.py dis(): Added an optional memo argument, so that multiple pickles in a 2003-02-05 19:55:53 +00:00
pipes.py Massive changes from SF 589982 (tempfile.py rewrite, by Zack 2002-08-09 16:38:32 +00:00
pkgutil.py Last week we discussed adding this module to the standard library. 2002-12-23 16:30:00 +00:00
platform.py Fix docstring typo 2003-04-24 16:36:49 +00:00
popen2.py When a previous call to poll() has already seen the process status, 2003-06-02 19:12:01 +00:00
poplib.py Replace boolean test with is None. 2002-06-01 16:07:16 +00:00
posixfile.py Add a warning to the posixfile module stating that it will go away. 2001-10-24 22:03:35 +00:00
posixpath.py Migrate definitions of several platform-dependent path-related variables 2003-02-14 19:35:31 +00:00
pprint.py Revert 1.25, as overloaded __repr__ is not considered. 2003-06-07 20:47:37 +00:00
pre.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
profile.doc
profile.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
pstats.py - add a dump_stats() method similar to that of the profile.Profile class 2003-05-14 14:28:09 +00:00
pty.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
py_compile.py Getting rid of macfs. 2003-02-27 23:18:46 +00:00
pyclbr.py Another big update, fixing all known bugs related to nesting functions 2002-12-03 08:14:35 +00:00
pydoc.py Have pydoc try handling an object as "other" if the object does not act the way 2003-06-11 23:38:55 +00:00
Queue.py Use the dummy_thread module in Queue.py and tempfile.py. 2002-12-30 22:36:09 +00:00
quopri.py import statements only raise ImportError, right? 2002-03-23 05:55:18 +00:00
random.py 'sum' is no longer a good variable name. Use 'total' instead. 2003-05-24 17:26:02 +00:00
re.py Give people who run "pydoc re" a clue. 2003-01-31 00:35:58 +00:00
reconvert.py Suppress the warning about regex here. 2001-09-04 15:18:54 +00:00
regex_syntax.py
regsub.py SF 563203. Replaced 'has_key()' with 'in'. 2002-06-01 14:18:47 +00:00
repr.py [680789] Debug with long array takes forever 2003-02-05 18:29:34 +00:00
rexec.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
rfc822.py unquote(): Didn't properly de-backslash-ify. This patch (adapted from 2002-09-11 02:32:14 +00:00
rlcompleter.py Remove uses of the string and types modules: 2002-06-03 15:58:32 +00:00
robotparser.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
sched.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
sets.py SF bug 693121: Set == non-Set is a TypeError. 2003-03-02 00:19:49 +00:00
sgmllib.py Allow "@" in unquoted attribute values. 2003-04-29 22:12:55 +00:00
shelve.py Fixup bare try/except. 2003-05-27 06:30:52 +00:00
shlex.py - Changed shlex.split() method to have more useful and 2003-04-20 01:57:03 +00:00
shutil.py Fix SF bug #691276, shutil.copytree documentation bug 2003-02-23 21:36:32 +00:00
SimpleHTTPServer.py SF 563203. Replaced 'has_key()' with 'in'. 2002-06-01 14:18:47 +00:00
SimpleXMLRPCServer.py Patch #727805: Remove extra line ending from CGI responses. 2003-05-01 05:05:09 +00:00
site.py In an OSX framework build Python could fail if HOME wasn't set, fixed. 2003-06-03 10:55:35 +00:00
smtpd.py smtp_RCPT(): Removed a somewhat embarrassing debugging line, found by 2002-05-14 02:13:30 +00:00
smtplib.py Patch #572031: AUTH method LOGIN for smtplib 2002-10-06 17:55:08 +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 I saw errors from _fileobject.__del__ about missing self._sock. This 2003-05-29 14:36:57 +00:00
SocketServer.py Clearing out old patch queue. Patch #558547, make SocketServer more 2003-01-02 03:07:48 +00:00
sre.py Add finditer to __all__ (when defining it at all). 2002-10-14 12:22:17 +00:00
sre_compile.py Fully support 32-bit codes. Enable BIGCHARSET in UCS-4 builds. 2003-04-19 12:56:08 +00:00
sre_constants.py Fully support 32-bit codes. Enable BIGCHARSET in UCS-4 builds. 2003-04-19 12:56:08 +00:00
sre_parse.py Patch #681152: Support escaped Unicode characters in classes. Fixes #612074. 2003-04-19 08:37:24 +00:00
stat.py
statcache.py Replaced obsolete stat module constants with equivalent attributes 2002-06-01 19:51:15 +00:00
statvfs.py
string.py Attempt to make all the various string *strip methods the same. 2003-04-10 22:35:32 +00:00
StringIO.py Make StringIO its own iterator, similar to real files. 2003-01-31 16:04:15 +00:00
stringold.py
stringprep.py Whitespace normalization. 2003-04-24 16:02:54 +00:00
sunau.py
sunaudio.py
symbol.py Updates to track Grammar changes. The patch to token.py loosens the regexp to 2002-10-03 09:42:01 +00:00
symtable.py Replaced .keys() with dictionary iterators 2002-06-02 18:55:56 +00:00
tabnanny.py Use string methods where possible, and remove import string 2002-05-31 14:13:04 +00:00
tarfile.py Fix by Lars Gustaebel for bug 721871: don't get upset if the prefix 2003-04-22 22:03:11 +00:00
telnetlib.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
tempfile.py Getting rid of macfs. 2003-03-21 12:55:38 +00:00
TERMIOS.py
textwrap.py Whitespace normalization. 2003-05-12 20:19:37 +00:00
this.py Whitespace cleanup. 2002-02-08 20:41:34 +00:00
threading.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
timeit.py SF bug 735293: Command line timeit.py sets sys.path badly 2003-05-20 04:59:56 +00:00
toaiff.py Fix a typo in the mktemp -> mkstemp patch. 2002-08-10 00:17:59 +00:00
token.py Updates to track Grammar changes. The patch to token.py loosens the regexp to 2002-10-03 09:42:01 +00:00
tokenize.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
trace.py Whitespace normalization. 2003-04-24 16:02:54 +00:00
traceback.py This is my patch 2002-08-15 14:59:02 +00:00
tty.py
types.py [ 683376 ] Adding NotImplementedType to types.py 2003-02-10 19:38:33 +00:00
tzparse.py
unittest.py SF bug #715145: unittest.py still uses != in failUnlessEqual 2003-04-04 22:56:42 +00:00
urllib.py More fixes according to SF 549151: 2003-05-16 01:46:51 +00:00
urllib2.py - urllib2.py now knows how to order proxy classes, so the user doesn't 2003-06-07 17:53:08 +00:00
urlparse.py Patch #712124: Remove obsolete comment. 2003-03-30 16:28:26 +00:00
user.py SF # 555779, import user doesn't work with CGIs 2002-09-05 21:08:25 +00:00
UserDict.py SF patch #693753: fix for bug 639806: default for dict.pop 2003-03-06 23:54:28 +00:00
UserList.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
UserString.py Attempt to make all the various string *strip methods the same. 2003-04-10 22:35:32 +00:00
uu.py Replaced obsolete stat module constants with equivalent attributes 2002-06-01 19:51:15 +00:00
warnings.py defer re module imports to help improve interpreter startup 2003-05-14 17:33:53 +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 SF 742860: WeakKeyDictionary __delitem__ uses iterkeys 2003-05-25 01:45:11 +00:00
webbrowser.py Fixed bug 2002-11-25 17:25:04 +00:00
whichdb.py detect old version 2 hash files and return "bsddb185" as the appropriate 2003-05-06 20:42:10 +00:00
whrandom.py Guido sez to remove the deprecation warning for a year. 2002-04-11 20:57:30 +00:00
xdrlib.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
xmllib.py Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
xmlrpclib.py Whitespace normalization. 2003-05-12 20:19:37 +00:00
zipfile.py Patch #661719: Expose compilation errors as exceptions on request. 2003-01-15 11:51:06 +00:00