cpython/Lib
Ronald Oussoren 0fedb37c47 Issue #18393: Remove use of deprecated API on OSX
The "Gestalt" function on OSX is deprecated (starting with OSX 10.8),
remove its usage from the stdlib. The patch removes a number of private
functions and a private module, but does not change the public API.

The removed code was effectively dead, the platform module has used
other code to fetch the OSX version for years and could only use
on the Gestalt-based code as a fallback. That fallback can only trigger
on broken OSX installs (that is, someone has removed parts of the system
install)
2013-07-15 18:32:09 +02:00
..
collections Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
concurrent Issue #17914: Use os.cpu_count() instead of multiprocessing.cpu_count() where 2013-06-28 19:25:45 +02:00
ctypes - Issue #17754: Make ctypes.util.find_library() independent of the locale. 2013-05-15 18:04:50 +02:00
curses Fix docstring in curses (#16782) 2012-12-29 23:09:32 +02:00
dbm #17198: merge with 3.3. 2013-07-07 13:16:05 +02:00
distutils Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
email Merge: #18437: fix comment typo. 2013-07-12 22:56:15 -04:00
encodings Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
html #18020: improve html.escape speed by an order of magnitude. Patch by Matt Bryant. 2013-07-07 11:11:24 +02:00
http Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
idlelib Merge with 3.3 2013-07-13 04:06:03 -04:00
importlib Issue #18415: Normalize what type of quotes are used with string 2013-07-12 11:04:23 -04:00
json Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
lib2to3 Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
logging Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
msilib Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*, 2013-03-11 17:57:08 -04:00
multiprocessing Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
plat-aix4
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic - Issue #17086: Backport the patches from the 3.3 branch to cross-build 2013-01-31 23:52:03 +01:00
plat-linux
plat-netbsd1
plat-next3
plat-sunos5
plat-unixware7
pydoc_data update pydoc topics 2013-03-23 10:15:25 -05:00
site-packages
sqlite3 Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
test Merge: Closes #18464: fix typo in test name. 2013-07-15 12:10:29 -04:00
tkinter Fix usage of the unittest.skip decorator. 2013-03-19 13:27:24 +02:00
turtledemo Issue # 17177: Stop using imp in turtledemo 2013-06-15 17:33:27 -04:00
unittest clean the environment from pre-existing PYTHONWARNINGS for test_warnings 2013-04-24 01:51:42 +02:00
urllib Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
venv Closes #18435: Merged fix from 3.3. 2013-07-12 21:13:01 +01:00
wsgiref Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
xml Issue #18347: ElementTree's html serializer now preserves the case of closing tags. 2013-07-05 01:40:52 +02:00
xmlrpc Issue #15767: Excise the remaining instances of ModuleNotFoundError 2013-07-04 18:16:15 -04:00
__future__.py #14494: Document that absolute imports became default in 3.0 instead of 2.7. 2012-05-19 18:36:33 +03:00
__phello__.foo.py
_compat_pickle.py
_dummy_thread.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
_markupbase.py
_osx_support.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
_pyio.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
_strptime.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
_threading_local.py
_weakrefset.py Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive. 2012-03-04 22:15:38 -06:00
abc.py Fix #16832 - expose cache validity checking support in ABCMeta 2013-05-25 18:41:50 +02:00
aifc.py Issue #16486: Make aifc files work with 'with' as context managers. 2012-12-29 22:54:49 +02:00
antigravity.py
argparse.py Issue #17047: remove doubled words added in 3.4, 2013-03-11 18:38:13 -04:00
ast.py create NameConstant AST class for None, True, and False literals (closes #16619) 2012-12-06 17:41:04 -05:00
asynchat.py Issue #16787: Increase asyncore and asynchat default output buffers size, to 2013-01-01 16:31:54 +01:00
asyncore.py Do not raise exception on close() on account of socket attribute still being None: 2013-04-09 17:21:25 +02:00
base64.py Issue #18011: Silence an unrelated noise introduced in changeset 1b5ef05d6ced. 2013-05-28 15:42:34 +03:00
bdb.py Have Bdb frame_returning in the finally clause 2012-05-01 10:46:59 +08:00
binhex.py
bisect.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
bz2.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
calendar.py Issue #17049: Localized calendar methods now return unicode if a locale 2013-01-31 15:57:51 +02:00
cgi.py Merge #18013: Fix cgi.FieldStorage to parse the W3C sample form. 2013-07-07 12:46:28 +02:00
cgitb.py merge #12890: don't emit <p> tags in text mode when logdir specified. 2012-10-27 14:55:25 -04:00
chunk.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
cmd.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
code.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
codecs.py Describe 'surrogateescape' in the documentation. 2013-06-16 12:58:48 -04:00
codeop.py
colorsys.py
compileall.py Issue #17177: stop using imp for compileall. 2013-06-14 23:04:02 -04:00
configparser.py Merged fix for issue #18260 from 3.3 2013-06-23 19:12:12 +02:00
contextlib.py Issue #15806: Add contextlib.ignored(). 2013-03-10 22:26:51 -07:00
copy.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
copyreg.py
cProfile.py Fix #17197: profile/cProfile modules refactored so that code of run() and runctx() utility functions is not duplicated in both modules. 2013-02-25 11:36:40 +01:00
crypt.py white space cleanup 2012-06-27 15:37:47 +02:00
csv.py #18155: Regex-escape delimiter, in case it is a regex special char. 2013-06-29 18:40:53 -04:00
datetime.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
decimal.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
difflib.py Issue #13248: removed deprecated and undocumented difflib.isbjunk, isbpopular. 2013-03-19 19:44:04 -04:00
dis.py Issue #11816: multiple improvements to the dis module 2013-05-06 23:59:20 +10:00
doctest.py #11390: convert doctest CLI to argparse and add -o and -f options. 2013-06-23 14:24:13 -04:00
dummy_threading.py
enum.py Closes issue 17947. Adds PEP-0435 (Adding an Enum type to the Python standard library). 2013-06-14 16:55:46 -07:00
filecmp.py Issue #18149: Add filecmp.clear_cache() to manually clear the filecmp cache. 2013-06-14 15:19:11 -07:00
fileinput.py Merge with 3.3 2013-06-28 18:59:52 -04:00
fnmatch.py Set cache sizes to a power-of-two 2013-02-17 01:33:37 -08:00
formatter.py
fractions.py Issue #16469: Fraction(float('nan')) and Fraction(float('inf')) now raise ValueError and OverflowError (resp.), not TypeError. 2012-11-15 20:58:40 +00:00
ftplib.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
functools.py Close issue 17482: don't overwrite __wrapped__ 2013-07-15 21:13:08 +10:00
genericpath.py Fix #11939. Set st_dev attribute on Windows to simplify os.path.samefile. 2012-12-26 07:03:03 -06:00
getopt.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
getpass.py #18116: getpass no longer always falls back to stdin. 2013-07-10 17:02:24 -04:00
gettext.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
glob.py Issue #16695: Document how glob handles filenames starting with a dot 2013-02-23 19:56:15 +01:00
gzip.py Back out patch for #1159051, which caused backwards compatibility problems. 2013-05-12 11:57:26 +02:00
hashlib.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
heapq.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
hmac.py Issue 18240: The HMAC module is no longer restricted to bytes and accepts 2013-07-01 13:08:42 +02:00
imaplib.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
imghdr.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
imp.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
inspect.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
io.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
ipaddress.py Fix a few typos and a double semicolon. Patch by Eitan Adler. 2013-01-27 06:20:14 +02:00
keyword.py 17830: preserve line endings of original file when updating keywords. 2013-04-25 12:01:36 -04:00
linecache.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
locale.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
lzma.py Issue #16034 follow-up: Apply optimizations to the lzma module. 2012-10-21 16:57:32 +02:00
macpath.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
macurl2path.py
mailbox.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
mailcap.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
mimetypes.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
modulefinder.py Issue #17177: The imp module is pending deprecation. 2013-06-16 13:13:40 -04:00
netrc.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
nntplib.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
ntpath.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
nturl2path.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
numbers.py
opcode.py rather than passing locals to the class body, just execute the class body in the proper environment 2013-05-16 14:37:25 -05:00
operator.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
optparse.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
os.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
pdb.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
pickle.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
pickletools.py Merge 3.3 2013-04-14 03:44:47 -07:00
pipes.py
pkgutil.py Issue #17177: The imp module is pending deprecation. 2013-06-16 13:13:40 -04:00
platform.py Issue #18393: Remove use of deprecated API on OSX 2013-07-15 18:32:09 +02:00
plistlib.py Ensure that plistlib doesn't corrupt deeply nested datastructures 2013-04-23 13:47:22 +02:00
poplib.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
posixpath.py Fix posixpath.realpath() for multiple pardirs (fixes issue #6975). 2013-02-18 12:22:05 +02:00
pprint.py Issue #17150: pprint now uses line continuations to wrap long string literals. 2013-03-23 20:30:39 +01:00
profile.py Fix #17197: profile/cProfile modules refactored so that code of run() and runctx() utility functions is not duplicated in both modules. 2013-02-25 11:36:40 +01:00
pstats.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
pty.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
py_compile.py Issue #17222: fix a mix-up in some exception messages. 2013-06-17 17:48:30 -04:00
pyclbr.py #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:59:49 +03:00
pydoc.py Issue #15767: back out 8a0ed9f63c6e, finishing the removal of 2013-07-04 17:51:50 -04:00
queue.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
quopri.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
random.py Revert changes for #13355 by request from Raymond Hettinger 2013-04-13 18:04:19 +03:00
re.py Issue #16564: Fixed a performance regression relative to Python 3.1 in the 2013-03-16 22:53:48 +02:00
reprlib.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
rlcompleter.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
runpy.py Issue #17177: The imp module is pending deprecation. 2013-06-16 13:13:40 -04:00
sched.py merge 2013-07-13 22:48:49 -07:00
shelve.py Add spaces to follow PEP8. 2012-10-06 18:38:30 +03:00
shlex.py Revert "Issue #16121: Fix line number accounting in shlex" 2013-02-23 23:12:35 +01:00
shutil.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
site.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
smtpd.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
smtplib.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
sndhdr.py #5024: whichhdr now returns the frame count for WAV files. 2013-03-18 17:42:42 -04:00
socket.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
socketserver.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
sre_compile.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
sre_constants.py Fix issue #13169: Reimport MAXREPEAT into sre_constants.py. 2013-02-18 11:14:21 +02:00
sre_parse.py #17341: Include name in re error message about invalid group name. 2013-04-14 13:00:54 -04:00
ssl.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
stat.py Issue #15767: Excise the remaining instances of ModuleNotFoundError 2013-07-04 18:16:15 -04:00
string.py #13579: minimize code base drift for 'a' string.Formatter change. 2012-08-19 17:57:29 -04:00
stringprep.py
struct.py Issue #17804: New function `struct.iter_unpack` allows for streaming struct unpacking. 2013-04-27 00:20:04 +02:00
subprocess.py (3.3->default) Cleanup of documentation change from #17860 2013-07-07 09:28:01 +02:00
sunau.py
symbol.py remain symbol.main to symbol._main mirroring token.py 2013-02-05 10:13:22 -05:00
symtable.py modernize some modules' code by using with statement around open() 2013-02-12 02:04:27 +01:00
sysconfig.py Issue #17177: Stop using imp in sysconfig 2013-06-15 14:32:11 -04:00
tabnanny.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
tarfile.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
telnetlib.py Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
tempfile.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
textwrap.py Close #13857: Added textwrap.indent() function (initial patch by Ezra 2012-06-11 23:07:51 +10:00
this.py
threading.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
timeit.py Issue #17414: Add timeit, repeat, and default_timer to timeit.__all__. 2013-03-15 03:04:25 -04:00
token.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
tokenize.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
trace.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
traceback.py refactor traceback.py to reduce code duplication (closes #17646) 2013-04-29 16:09:39 -04:00
tty.py
turtle.py Merge 3.3, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:59:07 -04:00
types.py Eric Snow's implementation of PEP 421. 2012-06-03 16:18:47 -04:00
uu.py
uuid.py Issue #16102: Make uuid._netbios_getnode() work again on Python 3. 2013-06-09 21:10:13 +03:00
warnings.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
wave.py Issue #18084: Use sys.byteorder in wave.py. 2013-05-29 23:38:00 +03:00
weakref.py Issue #15528: Delay importing atexit until weakref.finalize() used. 2013-06-08 16:52:29 +01:00
webbrowser.py - Issue #17536: Add to webbrowser's browser list: www-browser, x-www-browser, 2013-03-24 18:50:23 +01:00
xdrlib.py Merge: change docstring for xdrlib.Error to use new style exceptions. 2012-11-01 13:43:31 +02:00
zipfile.py Issue #15767: Excise the remaining instances of ModuleNotFoundError 2013-07-04 18:16:15 -04:00