cpython/Lib
Ronald Oussoren 593e4ca7a5 Fix for issue #7724: ensure that distutils and python's own setup.py
honor the MacOSX SDK when one is specified.

This is needed to be able to build using the 10.4u SDK while running
on OSX 10.6.

This is a fixed version of the patch in r80963, I've tested this patch
on OSX and Linux.
2010-06-03 09:47:21 +00:00
..
bsddb stop CObject deprecation warnings in test___all__ 2010-04-03 16:06:42 +00:00
compiler make compiler's py3k warning a full deprecation warning #6837 2010-03-18 23:12:43 +00:00
ctypes On Windows, ctypes does no longer check the stack before and after 2010-05-04 18:44:42 +00:00
curses replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
distutils Fix for issue #7724: ensure that distutils and python's own setup.py 2010-06-03 09:47:21 +00:00
email #1368247: make set_charset/MIMEText automatically encode unicode _payload. 2010-06-02 22:03:15 +00:00
encodings #8016: add the CP858 codec (approved by Benjamin). (Also add CP720 to the tests, it was missing there.) 2010-05-24 21:29:07 +00:00
hotshot replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
idlelib bump version to 2.7 beta 2 2010-05-08 17:08:17 +00:00
importlib Fix some more bugs caused by the backport from 3.x for importlib. 2009-03-04 01:00:53 +00:00
json #7092: fix DeprecationWarnings for json when the tests are run with -3 -Wd. 2010-01-26 15:57:21 +00:00
lib-tk Issue #8204: Fix test_ttk notebook test by forcing focus. 2010-04-08 17:38:32 +00:00
lib2to3 Merged revisions 80937,81478 via svnmerge from 2010-05-22 18:52:21 +00:00
logging Logging: improved error reporting for BaseConfigurator.resolve(). 2010-06-02 10:05:31 +00:00
msilib replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
multiprocessing On finalize, don't try to join not started process. 2010-03-08 11:01:39 +00:00
plat-aix3
plat-aix4
plat-atheos set svn:executable on all regen scripts 2010-03-04 02:07:55 +00:00
plat-beos5
plat-darwin
plat-freebsd4 set svn:executable on all regen scripts 2010-03-04 02:07:55 +00:00
plat-freebsd5 set svn:executable on all regen scripts 2010-03-04 02:07:55 +00:00
plat-freebsd6 set svn:executable on all regen scripts 2010-03-04 02:07:55 +00:00
plat-freebsd7 set svn:executable on all regen scripts 2010-03-04 02:07:55 +00:00
plat-freebsd8 set svn:executable on all regen scripts 2010-03-04 02:07:55 +00:00
plat-generic
plat-irix5 remove executable property from doc files 2010-03-11 21:50:45 +00:00
plat-irix6 Fix undefined local. 2010-02-08 22:37:52 +00:00
plat-linux2
plat-mac In a number of places code still revers 2010-05-05 19:09:31 +00:00
plat-netbsd1
plat-next3
plat-os2emx set svn:executable on all regen scripts 2010-03-04 02:07:55 +00:00
plat-riscos
plat-sunos5 remove the svn:executable property from files that don't have shebang lines 2010-03-05 03:20:06 +00:00
plat-unixware7
pydoc_data update pydoc-topics 2010-05-08 17:05:19 +00:00
site-packages
sqlite3 Issue #7449, last part (11): fix many tests if thread support is disabled 2010-04-27 23:55:59 +00:00
test Fix #8618. Ask the Windows mixer API if there are any playback devices 2010-06-01 13:29:13 +00:00
unittest Improving help message for python -m unittest. Issue 8303. 2010-05-10 20:21:16 +00:00
wsgiref Manually copy patch for bug 7250 from the release26-maint branch. I suck 2010-03-01 21:46:51 +00:00
xml Issue #6472: The xml.etree package is updated to ElementTree 1.3. The cElementTree module is updated too. 2010-03-11 14:36:19 +00:00
BaseHTTPServer.py Fix Issue7172 - BaseHTTPServer.BaseHTTPRequestHandler.responses[405] - changing 2010-02-22 10:55:08 +00:00
Bastion.py Deprecate Bastion and rexec for 3.0. 2008-05-10 02:27:04 +00:00
CGIHTTPServer.py Fixing the NameError on Windows - issue1235 2009-11-11 17:22:35 +00:00
ConfigParser.py - apply patch from issue 7005 2010-02-19 05:24:30 +00:00
Cookie.py Issue #5275: In Cookie's Cookie.load(), properly handle non-string arguments as documented. 2009-09-04 08:17:04 +00:00
DocXMLRPCServer.py http://bugs.python.org/issue6267 2009-06-28 21:04:17 +00:00
HTMLParser.py Issue #6662: Fix parsing of malformatted charref (&#bad;) 2010-05-24 21:33:24 +00:00
MimeWriter.py
Queue.py Move the previously local import of threading to module level. 2009-03-15 22:11:07 +00:00
SimpleHTTPServer.py Issue839496: SimpleHTTPServer should open all files in binary mode. 2008-07-06 21:34:39 +00:00
SimpleXMLRPCServer.py Issue 6654 2009-08-27 23:13:18 +00:00
SocketServer.py Issue #2302: Fix a race condition in SocketServer.BaseServer.shutdown, 2010-04-25 21:40:32 +00:00
StringIO.py make StringIO like other file objects in that readline(-1) has no effect #7348 2009-12-13 17:29:16 +00:00
UserDict.py No need to assign the results of expressions used only for side effects. 2010-02-06 22:59:15 +00:00
UserList.py Issue 2235: Py3k warnings are now emitted for classes that will no longer inherit a__hash__ implementation from a parent class in Python 3.x. The standard library and test suite have been updated to not emit these warnings. 2008-08-11 15:45:58 +00:00
UserString.py Issue 2235: __hash__ is once again inherited by default, but inheritance can be blocked explicitly so that collections.Hashable remains meaningful 2008-07-15 14:27:37 +00:00
_LWPCookieJar.py
_MozillaCookieJar.py
__future__.py Patch #2477: Added from __future__ import unicode_literals 2008-03-26 22:01:37 +00:00
__phello__.foo.py
_abcoll.py return NotImplemented from Mapping when comparing to a non-mapping #8729 2010-05-21 20:51:45 +00:00
_pyio.py _pyio: Fix TextIOWrapper constructor: os has no device_encoding() function 2010-05-04 11:35:36 +00:00
_strptime.py add %f format to datetime - issue 1158 2008-03-15 16:04:45 +00:00
_threading_local.py fixes issue #1522237, bad init check in _threading_local 2010-02-22 19:55:22 +00:00
_weakrefset.py Backport of weakref.WeakSet and tests from Python 3. 2010-03-29 20:04:23 +00:00
abc.py #7624: Fix isinstance(foo(), collections.Callable) for old-style classes. 2010-03-08 15:20:28 +00:00
aifc.py Fix py3k warnings in the aifc module 2009-10-14 17:30:52 +00:00
antigravity.py easter egg 2008-10-15 11:49:10 +00:00
anydbm.py
argparse.py Fix default value for version help. Approved by Benjamin on python-dev: http://mail.python.org/pipermail/python-dev/2010-May/100231.html 2010-05-24 03:45:26 +00:00
ast.py ast.literal_eval can properly evaluate complex numbers now. This fixes issue4907. 2009-01-13 11:52:23 +00:00
asynchat.py warnings.catch_warnings() now returns a list or None instead of the custom 2008-09-09 00:49:16 +00:00
asyncore.py Fix issue #8573 (asyncore._strerror bug): fixed os.strerror typo; included NameError in the tuple of expected exception; added test case for asyncore._strerror. 2010-05-18 20:04:31 +00:00
atexit.py
audiodev.py Deprecate the audiodev module for 3.0. 2008-05-06 23:23:34 +00:00
base64.py
bdb.py replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
binhex.py In a number of places code still revers 2010-05-05 19:09:31 +00:00
bisect.py Per the language summit, the optional fastpath imports should use from-import-star. 2009-03-31 17:47:06 +00:00
cProfile.py
calendar.py Fix some py3k warnings in the standard library. 2010-03-07 12:14:25 +00:00
cgi.py Fix and check cgi module deprecation warnings. Revert an unwanted rename in test_import. 2010-03-17 20:05:11 +00:00
cgitb.py #7092: Fix some -3 warnings, and fix Lib/platform.py when the path contains a double-quote. 2010-04-01 18:17:09 +00:00
chunk.py
cmd.py #5991: let completion for the "help" command include help topics. 2010-01-06 18:02:16 +00:00
code.py this main is much more useful 2009-11-12 23:42:23 +00:00
codecs.py Issue #6268: More bugfixes about BOM, UTF-16 and UTF-32 2010-05-22 13:37:56 +00:00
codeop.py
collections.py Minor factoring 2010-04-11 20:39:28 +00:00
colorsys.py pep8tify conditionals 2009-01-30 02:02:25 +00:00
commands.py #4351: more appropriate DeprecationWarning stacklevels 2009-05-08 02:28:39 +00:00
compileall.py - Fix typo in Lib/compileall.py(__all__). 2010-03-15 18:00:01 +00:00
contextlib.py Remove markup from docstring 2009-06-23 10:51:02 +00:00
cookielib.py Underscore the name of an internal utility function. 2010-05-22 11:31:16 +00:00
copy.py Issue #1515: Enable use of deepcopy() with instance methods. Patch by Robert Collins. 2009-11-28 15:55:58 +00:00
copy_reg.py Revert copy_reg -> copyreg rename. 2008-05-20 07:49:57 +00:00
csv.py Fix #1537721: add writeheader() method to csv.DictWriter. 2010-02-23 21:09:52 +00:00
dbhash.py spelling 2010-04-03 15:45:59 +00:00
decimal.py Fix typos in docstrings. 2010-05-19 15:46:39 +00:00
difflib.py Issue #7585: use tab between components in unified and context diff headers. 2010-04-12 16:35:19 +00:00
dircache.py Deprecate the dircache module for 3.0. 2008-05-10 21:12:57 +00:00
dis.py fix dis on new style classes #8310 2010-04-04 23:23:22 +00:00
doctest.py Issue 7490: make IGNORE_EXCEPTION_DETAIL also ignore details of the module containing the exception under test (original patch by Lennart Regebro) 2010-04-28 14:29:06 +00:00
dumbdbm.py
dummy_thread.py Remove imports of 'warnings' that are no longer needed in dummy_thread, 2008-08-17 22:10:11 +00:00
dummy_threading.py
filecmp.py use multi-with syntax 2009-06-11 17:51:17 +00:00
fileinput.py Remove a use of callable() in fileinput to silence a -3 warning. 2008-08-03 23:52:32 +00:00
fnmatch.py Issue 6665: Fix fnmatch to properly match filenames with newlines in them. 2009-08-16 18:52:58 +00:00
formatter.py Issue #7092: Fix the DeprecationWarnings emitted by the standard library 2010-01-04 23:22:44 +00:00
fpformat.py Deprecate the fpformat module for removal in 3.0. 2008-05-10 22:11:45 +00:00
fractions.py Issue #8294: Allow float and Decimal arguments in Fraction constructor. 2010-04-02 22:27:36 +00:00
ftplib.py Fix Issue #4841: timeout is now applied for connections resulting from PORT/EPRT commands 2010-04-19 21:46:28 +00:00
functools.py #5341: fix typo and adapt docstring syntax. 2010-04-14 08:56:01 +00:00
genericpath.py No need to assign the results of expressions used only for side effects. 2010-02-06 22:59:15 +00:00
getopt.py remove non-ascii coding per PEP 8 2010-05-28 02:12:36 +00:00
getpass.py Fixes issue7208 - getpass would still allow the password to be echoed on 2009-10-31 21:26:08 +00:00
gettext.py close file explicitly 2009-05-10 01:38:02 +00:00
glob.py #5655: fix docstring oversight. 2009-04-01 17:46:01 +00:00
gzip.py Fix test_gzip failure on OS X. The failure was a result of trying to fflush 2010-05-04 18:45:27 +00:00
hashlib.py Adds the hashlib.algorithms attribute. See issue7418. 2010-03-01 02:01:47 +00:00
heapq.py Make life easier for non-CPython implementations. 2009-03-29 18:51:11 +00:00
hmac.py silence callable warning in hmac 2008-08-19 19:07:38 +00:00
htmlentitydefs.py revert creation of the html.entities and html.parser modules 2008-05-20 06:08:38 +00:00
htmllib.py Deprecate htmllib and sgmllib for 3.0. 2008-06-01 21:19:14 +00:00
httplib.py Fixed Issue6312 - httplib fails with HEAD requests to pages with "transfer-encoding: chunked" 2010-04-28 17:20:43 +00:00
ihooks.py Add support to the ihooks module for relative imports. 2009-10-14 19:23:53 +00:00
imaplib.py Fix casing. 2010-01-02 12:35:01 +00:00
imghdr.py #3424 rearrange the order of tests in imghdr to place more common types first 2008-08-16 16:29:02 +00:00
imputil.py In a number of places code still revers 2010-05-05 19:09:31 +00:00
inspect.py add inspect.getcallargs, which binds function arguments like a normal call #3135 2010-03-30 17:58:13 +00:00
io.py Issue #6215: backport the 3.1 io lib 2009-06-12 20:14:08 +00:00
keyword.py
linecache.py simplify and modernize updatecache() 2010-05-21 21:35:44 +00:00
locale.py Issue #6656: fix locale.format_string to handle escaped percents and mappings. 2010-04-26 21:17:14 +00:00
macpath.py Issue #8179: Fix macpath.realpath() on a non-existing path. 2010-03-21 12:27:20 +00:00
macurl2path.py
mailbox.py #7627: MH.remove() would fail if the MH mailbox was locked; 2010-02-22 18:42:07 +00:00
mailcap.py
markupbase.py
md5.py
mhlib.py Deprecated the mhlib module for removal in 3.0. 2008-05-11 03:01:47 +00:00
mimetools.py warnings.catch_warnings() now returns a list or None instead of the custom 2008-09-09 00:49:16 +00:00
mimetypes.py No need to assign the results of expressions used only for side effects. 2010-02-06 22:59:15 +00:00
mimify.py
modulefinder.py Fixed a modulefinder crash on certain relative imports. 2008-10-30 20:18:13 +00:00
multifile.py Deprecate the multifile module as per PEP 4. 2008-05-12 03:19:20 +00:00
mutex.py use True and False 2009-01-27 23:15:48 +00:00
netrc.py explicitly close the file, merged from py3k 2009-05-28 03:10:59 +00:00
new.py restricted environments are no more 2009-08-28 16:48:03 +00:00
nntplib.py Issue #1664: Make nntplib IPv6-capable. Patch by Derek Morr. 2009-05-14 21:22:08 +00:00
ntpath.py #3426: os.path.abspath now returns unicode when its arg is unicode. 2010-02-20 08:09:39 +00:00
nturl2path.py Fixing issue5861 - test_urllib fails on windows. Agree to comment to have ':' in pathname2url as windows recognizes it. test_urllib passes now. 2009-05-05 17:34:42 +00:00
numbers.py Issue 4998: __slots__ on Fractions was useless. 2009-01-20 20:34:19 +00:00
opcode.py Issue #2333: Backport set and dict comprehensions syntax. 2010-01-11 22:36:12 +00:00
optparse.py #5719: add short usage example to optparse docstring. 2009-04-12 20:30:53 +00:00
os.py - Fix typo in os.execvp docstring. 2010-01-31 16:46:26 +00:00
os2emxpath.py #3426: os.path.abspath now returns unicode when its arg is unicode. 2010-02-20 08:09:39 +00:00
pdb.doc Add some sentence endings. 2008-05-11 14:17:13 +00:00
pdb.py Revert r81012. buildbot problems and its questionable of me to even 2010-05-09 01:20:20 +00:00
pickle.py Isue #5084: unpickling now interns the attribute names of pickled objects, 2009-05-02 21:13:23 +00:00
pickletools.py Issue 6066: POP_MARK was not in pickle protocol 0. 2009-05-20 16:49:12 +00:00
pipes.py #7507: quote "!" in pipes.quote(); it is a special character for some shells. 2010-04-24 09:08:10 +00:00
pkgutil.py Issue 2439: add pkgutils.get_data() as a convenience wrapper for the PEP 302 get_data() API (contributed by Paul Moore) 2008-04-15 10:25:31 +00:00
platform.py Fix #7863. Properly identify Windows 7 and Server 2008 R2. 2010-05-06 02:54:44 +00:00
plistlib.py Fix for issue 7852: the DTD for OSX Plists has changed due 2010-04-20 20:59:37 +00:00
popen2.py
poplib.py Fixed the semantic of timeout for socket.create_connection and 2008-05-29 16:39:26 +00:00
posixfile.py
posixpath.py #3426: os.path.abspath now returns unicode when its arg is unicode. 2010-02-20 08:09:39 +00:00
pprint.py Issue #7092: Fix the DeprecationWarnings emitted by the standard library 2010-01-04 23:22:44 +00:00
profile.py In a number of places code still revers 2010-05-05 19:09:31 +00:00
pstats.py Add tests for cmp_to_key. 2010-04-04 21:45:01 +00:00
pty.py
py_compile.py fix typo in r79533, introduced by the fix for issue #8233 2010-04-20 19:45:34 +00:00
pyclbr.py Minor cleanups: 2008-04-28 02:57:23 +00:00
pydoc.py In a number of places code still revers 2010-05-05 19:09:31 +00:00
quopri.py
random.py Issue 6261: Clarify behavior of random.uniform(). 2009-06-11 23:14:53 +00:00
re.py Adds an optional flags argument to re.split, re.sub and re.subn to be 2009-03-02 05:13:57 +00:00
repr.py Revert the renaming of repr to reprlib. 2008-05-23 05:03:59 +00:00
rexec.py No need to assign the results of expressions used only for side effects. 2010-02-06 22:59:15 +00:00
rfc822.py fix test_py3kwarns 2008-07-14 17:42:17 +00:00
rlcompleter.py Remove a use of callable() to silence the warning triggered under -3. 2008-08-01 01:45:49 +00:00
robotparser.py Close issue 3437 - missing state change when Allow lines are processed. 2008-07-27 00:49:02 +00:00
runpy.py remove the svn:executable property from files that don't have shebang lines 2010-03-05 03:20:06 +00:00
sched.py #6112: list.remove raises ValueError, not RuntimeError. 2009-05-26 07:50:23 +00:00
sets.py Issue #7092: Fix the DeprecationWarnings emitted by the standard library 2010-01-04 23:22:44 +00:00
sgmllib.py #1651995: fix _convert_ref for non-ASCII characters. 2009-03-31 22:11:53 +00:00
sha.py
shelve.py Improve issue 7835 fix per MAL to handle the case that the 2010-02-11 01:56:42 +00:00
shlex.py
shutil.py removed non needed lines 2010-05-05 22:41:25 +00:00
site.py Issue #8084: ensure that the --user directory 2010-05-08 10:29:06 +00:00
smtpd.py Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
smtplib.py Fix Issue #4066: smtplib.SMTP_SSL._get_socket now correctly returns 2009-05-23 00:48:58 +00:00
sndhdr.py Fix a py3k warning in the sndhdr module (found with test_email) 2009-10-14 18:31:05 +00:00
socket.py Adds an optional source_address parameter to socket.create_connection(). 2010-01-03 01:29:44 +00:00
sre.py
sre_compile.py remove set compat cruft 2008-10-14 22:37:18 +00:00
sre_constants.py
sre_parse.py remove set compat cruft 2008-10-14 22:37:18 +00:00
ssl.py Issue #8086: In :func:`ssl.DER_cert_to_PEM_cert()`, fix missing newline 2010-04-27 22:03:37 +00:00
stat.py #2383: remove obsolete XXX comment in stat.py. 2008-03-20 07:25:55 +00:00
statvfs.py Deprecated statvfs for removal in 3.0. 2008-05-16 00:50:02 +00:00
string.py #7000: document "sep" in capwords. Add a few tests 2009-09-26 11:20:53 +00:00
stringold.py Replace all map(None, a) with list(a). 2008-07-18 19:06:13 +00:00
stringprep.py
struct.py Issue #7078: _struct.__doc__ was being ignored. Import it into struct. 2009-10-08 15:54:10 +00:00
subprocess.py Fix regression introduced by r81154 (Issue #5099, subprocess destructor) 2010-05-14 21:52:26 +00:00
sunau.py Issue #7092: Fix the DeprecationWarnings emitted by the standard library 2010-01-04 23:22:44 +00:00
sunaudio.py Deprecate the sunaudio module for removal in Python 3.0. The sunau module can provide similar functionality. 2008-07-18 19:30:22 +00:00
symbol.py Issue #2333: Backport set and dict comprehensions syntax. 2010-01-11 22:36:12 +00:00
symtable.py return locals and cells in get_locals() not bound globals, though 2009-06-28 19:27:55 +00:00
sysconfig.py #8759: Fixed user paths in sysconfig for posix and os2 schemes 2010-05-19 22:20:14 +00:00
tabnanny.py
tarfile.py In a number of places code still revers 2010-05-05 19:09:31 +00:00
telnetlib.py Fixed the semantic of timeout for socket.create_connection and 2008-05-29 16:39:26 +00:00
tempfile.py proxy the __exit__ call 2009-07-01 13:34:35 +00:00
textwrap.py Optimize optimization and fix method name in docstring. 2009-09-18 16:19:56 +00:00
this.py
threading.py Fix Issue8262 - changing RuntimeError wording to "Threads can only be started once" 2010-04-06 03:23:33 +00:00
timeit.py replace callable() 2009-10-09 22:05:45 +00:00
toaiff.py Deprecate the toaiff module for removal in 3.0. 2008-05-09 05:32:42 +00:00
token.py
tokenize.py some cleanups 2009-10-15 03:05:39 +00:00
trace.py replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
traceback.py Issue #8313: traceback.format_exception_only() encodes unicode message to 2010-05-05 12:40:49 +00:00
tty.py
types.py remove more code for restricted execution 2009-08-28 16:49:56 +00:00
urllib.py Issue 8143: sync unquote in urlparse with urllib; add comment about doing so. 2010-05-25 15:20:46 +00:00
urllib2.py Fix Issue8797 - urllib2 basic authentication fix for wrong passwords. It fails after 5 retries. 2010-06-01 12:40:07 +00:00
urlparse.py Issue 8143: sync unquote in urlparse with urllib; add comment about doing so. 2010-05-25 15:20:46 +00:00
user.py Deprecate the user module for removal in 3.0. 2008-05-08 20:36:09 +00:00
uu.py
uuid.py The C function used by uuid.uuid4 is broken on 2010-05-05 14:48:37 +00:00
warnings.py When DeprecationWarning was silenced by default, it also silenced any use of -Q 2010-04-25 22:33:36 +00:00
wave.py Issue #7092: Fix the DeprecationWarnings emitted by the standard library 2010-01-04 23:22:44 +00:00
weakref.py Backport of weakref.WeakSet and tests from Python 3. 2010-03-29 20:04:23 +00:00
webbrowser.py Small update to r80698 to ensure that webbrowser.open 2010-05-02 09:55:57 +00:00
whichdb.py
wsgiref.egg-info
xdrlib.py
xmllib.py #4351: more appropriate DeprecationWarning stacklevels 2009-05-08 02:28:39 +00:00
xmlrpclib.py issue 6769 2009-08-24 11:39:31 +00:00
zipfile.py Issue 6003: ZipFile.writestr "compression_type" argument 2010-02-07 20:18:02 +00:00