cpython/Lib
Jason R. Coombs 5765acaf64
[3.7] bpo-22490: Remove __PYVENV_LAUNCHER__ from environment during launch (GH-9516) (GH-19111)
* bpo-22490: Remove "__PYVENV_LAUNCHER__" from the shell environment on macOS

This changeset removes the environment varialbe "__PYVENV_LAUNCHER__"
during interpreter launch as it is only needed to communicate between
the stub executable in framework installs and the actual interpreter.

Leaving the environment variable present may lead to misbehaviour when
launching other scripts.

* Actually commit the changes for issue 22490...

* Correct typo

Co-Authored-By: Nicola Soranzo <nicola.soranzo@gmail.com>

* Run make patchcheck

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>.
(cherry picked from commit 044cf94f61)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
2020-03-22 15:25:20 -04:00
..
asyncio [3.7] bpo-39191: Don't spawn a task before failing (GH-17796) (#17821) 2020-01-04 11:49:32 +02:00
collections bpo-36953: Delay removal of ABCs from collections. (GH-13409) 2019-10-14 17:04:26 -04:00
concurrent Fix typo in Lib/concurrent/futures/thread.py (GH-13953) 2019-06-15 05:11:15 -07:00
ctypes [3.7] bpo-16575: Disabled checks for union types being passed by value. (GH-17960) (GH-17970) 2020-01-12 20:55:54 +00:00
curses [3.7] bpo-36492: Fix passing special keyword arguments to some functions. (GH-12637) (GH-12645) 2019-04-01 10:59:24 +03:00
dbm
distutils [3.7] bpo-38597: Never statically link extension initialization code on Windows (GH-18724) (GH-18759) 2020-03-02 16:26:26 -08:00
email bpo-38332: Catch KeyError from unknown cte in encoded-word. (GH-16503) 2019-10-12 10:02:23 -07:00
encodings bpo-30566: Fix IndexError when using punycode codec (GH-18632) 2020-02-25 06:43:46 +03:00
ensurepip bpo-38662: ensurepip invokes pip via runpy (GH-18901) 2020-03-10 14:34:51 -07:00
html
http bpo-38576: Disallow control characters in hostnames in http.client (GH-18995) 2020-03-14 12:12:58 -07:00
idlelib bpo-27115: Use Query subclass for IDLE editor Goto (GH-18871) 2020-03-09 16:45:37 -07:00
importlib [3.7] Fix typos in docs, comments and test assert messages (GH-14872). (#14901) 2019-07-22 14:14:07 -04:00
json [3.7] bpo-39828: Fix json.tool to catch BrokenPipeError (GH-18779). (GH-18895) 2020-03-10 01:30:49 -07:00
lib2to3 bpo-38871: Fix lib2to3 for filter-based statements that contain lambda (GH-17780) 2020-01-07 09:47:51 -08:00
logging bpo-39198: Ensure logging global lock is released on exception in isEnabledFor (GH-17689) (GH-17898) 2020-01-07 17:03:49 +00:00
msilib bpo-12639: msilib.Directory.start_component() fails if *keyfile* is not None (GH-13688) 2019-05-31 10:22:14 -07:00
multiprocessing [3.7] bpo-39850: Add support for abstract sockets in multiprocessing (GH-18866) (GH-18877) 2020-03-09 14:47:50 +00:00
pydoc_data 3.7.7 2020-03-10 02:11:12 -04:00
site-packages
sqlite3 [3.7] bpo-39652: Truncate the column name after '[' only if PARSE_COLNAMES is set. (GH-18942). (GH-19104) 2020-03-21 16:33:44 +02:00
test [3.7] bpo-22490: Remove __PYVENV_LAUNCHER__ from environment during launch (GH-9516) (GH-19111) 2020-03-22 15:25:20 -04:00
tkinter bpo-39152: add missing ttk.Scale.configure return value (GH-17815) 2020-01-05 08:49:48 -08:00
turtledemo bpo-14117: Make minor tweaks to turtledemo (GH-8002) 2018-06-28 22:30:44 -07:00
unittest bpo-39450 Stripped whitespace before parsing the docstring in TestCase.shortDescription (GH-18321) 2020-02-03 07:25:17 +00:00
urllib bpo-39548: Fix handling of 'WWW-Authenticate' header for Digest Auth (GH-18338) 2020-02-29 12:49:20 -08:00
venv bpo-38344: Fix syntax in activate.bat (GH-16533) 2019-10-14 16:56:12 -04:00
wsgiref bpo-29183: Fix double exceptions in wsgiref.handlers.BaseHandler (GH-12914) 2019-05-19 19:28:38 +03:00
xml bpo-35052: Fix handler on xml.dom.minidom.cloneNode() (GH-11061) (GH-11066) 2018-12-10 11:56:48 +01:00
xmlrpc bpo-38243, xmlrpc.server: Escape the server_title (GH-16373) 2019-09-27 13:18:14 -07:00
__future__.py String annotations [PEP 563] (#4390) 2018-01-26 08:20:18 -08:00
__phello__.foo.py
_bootlocale.py bpo-29240: PEP 540: Add a new UTF-8 Mode (#855) 2017-12-13 12:29:09 +01:00
_collections_abc.py bpo-32467: Let collections.abc.ValuesView inherit from Collection (#5152) 2018-01-11 21:53:49 -08:00
_compat_pickle.py
_compression.py
_dummy_thread.py bpo-36688: Adding an implementation of RLock in _dummy_thread (GH-12943) 2019-06-17 01:28:43 -07:00
_markupbase.py
_osx_support.py bpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900) (GH-11264) 2018-12-23 15:45:10 -05:00
_py_abc.py bpo-33018: Improve issubclass() error checking and message. (GH-5944) 2018-03-22 04:49:26 -07:00
_pydecimal.py [3.7] bpo-39794: Add --without-decimal-contextvar (GH-18702) 2020-02-29 23:10:26 +01:00
_pyio.py [3.7] closes bpo-27805: Ignore ESPIPE in initializing seek of append-mode files. (GH-17137) 2019-11-12 15:34:43 -08:00
_sitebuiltins.py
_strptime.py Spelling fixes to docs, docstrings, and comments (GH-6374) 2018-04-20 14:00:41 -07:00
_threading_local.py Delete a broken threading.local example (GH-5870) 2018-02-25 07:23:25 -08:00
_weakrefset.py
abc.py bpo-31333: Re-implement ABCMeta in C (GH-5733) 2018-02-18 17:39:43 +00:00
aifc.py bpo-32056: Improve exceptions in aifc, wave and sunau. (GH-5951) 2018-03-18 13:50:41 -07:00
antigravity.py Change the xkcd link in comment over https. (GH-9293) 2018-09-14 09:28:07 -07:00
argparse.py bpo-38821: Fix crash in argparse when using gettext (GH-17192) 2019-11-20 05:48:20 -08:00
ast.py Fix syntax error in an example in the ast documentation and sync docstrings (GH-18946) 2020-03-11 18:05:45 -07:00
asynchat.py
asyncore.py
base64.py bpo-39055: Reject a trailing \n in base64.b64decode() with validate=True. (GH-17616) 2020-01-05 04:32:45 -08:00
bdb.py bpo-39649: Remove obsolete check for `__args__` in bdb.Bdb.format_stack_entry (GH-18531) 2020-02-23 19:32:50 -08:00
binhex.py
bisect.py
bz2.py
cProfile.py [3.7] bpo-36492: Fix passing special keyword arguments to some functions. (GH-12637) (GH-12645) 2019-04-01 10:59:24 +03:00
calendar.py
cgi.py bpo-20504 : in cgi.py, fix bug when a multipart/form-data request has… (GH-10638) 2019-09-11 05:22:38 -07:00
cgitb.py bpo-33256: Replace angle brackets around python object repr to display it in html (GH-6442) 2018-04-29 12:10:12 -07:00
chunk.py
cmd.py
code.py Fix documentation in code.py (GH-17988) 2020-01-14 12:14:56 -08:00
codecs.py bpo-38971: Open file in codecs.open() closes if exception raised. (GH-17666) 2020-03-02 00:02:16 -08:00
codeop.py bpo-36820: Break unnecessary cycle in socket.py, codeop.py and dyld.py (GH-13135) 2019-12-06 07:01:31 -08:00
colorsys.py
compileall.py [3.7] bpo-39769: Fix compileall ddir for subpkgs. (GH-18676) (GH-18718) (GH-18725) 2020-03-01 11:06:54 -08:00
configparser.py bpo-27351: Fix ConfigParser.read() documentation and docstring (GH-8123) 2018-09-29 10:33:05 -06:00
contextlib.py [3.7] bpo-36492: Fix passing special keyword arguments to some functions. (GH-12637) (GH-12645) 2019-04-01 10:59:24 +03:00
contextvars.py bpo-32436: Implement PEP 567 (#5027) 2018-01-22 19:11:18 -05:00
copy.py bpo-38293: Allow shallow and deep copying of property objects (GH-16438) 2020-01-12 10:00:27 -08:00
copyreg.py
crypt.py bpo-31702: Allow to specify rounds for SHA-2 hashing in crypt.mksalt(). (#4110) 2017-11-16 13:22:51 +02:00
csv.py bpo-30157: Fix csv.Sniffer.sniff() regex pattern. (GH-5601) (GH-5602) 2018-02-10 00:00:48 +02:00
dataclasses.py bpo-34776: Fix dataclasses to support __future__ "annotations" mode (GH-9518) (#17532) 2019-12-09 17:07:54 +01:00
datetime.py bpo-37642: Update acceptable offsets in timezone (GH-14878) (#15226) 2019-08-15 15:09:37 -04:00
decimal.py
difflib.py [3.7] bpo-38738: Fix formatting of True and False. (GH-17083) (GH-17128) 2019-11-12 20:07:20 +02:00
dis.py
doctest.py bpo-36406: Handle namespace packages in doctest (GH-12520) (GH-17592) 2019-12-13 15:30:04 -08:00
dummy_threading.py
enum.py Doc: Fix spelling errors of 'initial' in enum.py (GH-16314) 2019-09-20 22:40:42 -07:00
filecmp.py
fileinput.py bpo-37014: Update docstring and Documentation of fileinput.FileInput(). (GH-13545) (GH-13753) 2019-06-02 23:36:34 +02:00
fnmatch.py bpo-32775: Fix regular expression warnings in fnmatch. (GH-5583) (GH-5596) 2018-02-09 13:56:50 +02:00
formatter.py
fractions.py bpo-39274: Ensure Fraction.__bool__() returns a bool (GH-18017) 2020-02-06 07:14:37 -08:00
ftplib.py [3.7] bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268). (GH-10280) 2018-11-01 14:19:23 +02:00
functools.py Doc: Fix Wikipedia link for functools.lru_cache (GH-16183) 2019-09-16 11:55:43 -07:00
genericpath.py bpo-30974: Change os.path.samefile docstring to match docs (GH-7337) 2019-08-02 16:11:33 -07:00
getopt.py
getpass.py
gettext.py
glob.py
gzip.py [3.7] bpo-39389: gzip: fix compression level metadata (GH-18077) (GH-18101) 2020-03-04 02:06:19 -05:00
hashlib.py [3.7] bpo-33729: Fix issues with arguments parsing in hashlib. (GH-8346) (GH-8581) 2018-07-31 10:22:44 +03:00
heapq.py
hmac.py bpo-33604: Remove Pending from hmac Deprecation warning. (GH-7062) 2018-05-22 16:40:44 -07:00
imaplib.py [3.7] bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268). (GH-10280) 2018-11-01 14:19:23 +02:00
imghdr.py
imp.py closes bpo-34056: Always return bytes from _HackedGetData.get_data(). (GH-8130) 2018-07-06 21:00:45 -07:00
inspect.py bpo-13487: Use sys.modules.copy() in inspect.getmodule() for thread safety. (GH-18786) 2020-03-10 01:46:59 -04:00
io.py
ipaddress.py bpo-27860: ipaddress: fix Interface constructor (GH-14200) 2019-06-19 20:47:39 +09:00
keyword.py
linecache.py
locale.py bpo-18378: Recognize "UTF-8" as a valid name in locale._parse_localename (GH-14736) 2019-08-28 21:52:43 -07:00
lzma.py
macpath.py bpo-31802: Fix importing native path module before importing os. (#4017) 2018-01-07 17:54:31 +02:00
mailbox.py
mailcap.py
mimetypes.py [3.7] bpo-38449: Revert "bpo-22347: Update mimetypes.guess_type to allow oper parsing of URLs (GH-15685)" (GH-16724) (GH-16727) 2019-10-14 17:27:49 -04:00
modulefinder.py closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575) 2017-12-09 10:26:52 -08:00
netrc.py bpo-28334: netrc() now uses expanduser() to find .netrc file (GH-4537) 2017-11-25 13:37:22 +03:00
nntplib.py bpo-39242: Updated the Gmane domain into news.gmane.io (GH-17903) 2020-01-08 07:47:25 -08:00
ntpath.py [3.7] bpo-31047: Fix ntpath.abspath to trim ending separator (GH-10082) 2018-10-25 13:46:23 -04:00
nturl2path.py
numbers.py
opcode.py [3.7] bpo-32746: Fix multiple typos (GH-5144) (GH-5520) 2018-02-03 20:41:43 -05:00
operator.py
optparse.py
os.py [3.7] bpo-38878: Fix os.PathLike __subclasshook__ (GH-17336) (GH-17685) 2019-12-23 18:31:15 +00:00
pathlib.py bpo-39916: Use os.scandir() as context manager in Path.glob(). (GH-18880) 2020-03-11 10:00:09 -07:00
pdb.py closes bpo-37803: pdb: fix handling of options (--help / --version) (GH-15193) 2019-09-12 09:04:34 -07:00
pickle.py bpo-31829: Make protocol 0 pickles be loadable in text mode in Python 2. (GH-11859) 2019-06-12 04:50:11 -07:00
pickletools.py Fix pickletools doc for NEWFALSE. (GH-9432) 2018-09-25 22:19:08 -07:00
pipes.py
pkgutil.py closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575) 2017-12-09 10:26:52 -08:00
platform.py [3.7] bpo-36766: Typos in docs and code comments (GH-13116). (GH-13136) 2019-05-06 13:55:19 -07:00
plistlib.py Clarify that plistlib's load and dump functions take a binary file object (GH-9825) 2019-07-14 02:23:38 -07:00
poplib.py [3.7] bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268). (GH-10280) 2018-11-01 14:19:23 +02:00
posixpath.py [3.7] bpo-35755: shutil.which() uses os.confstr("CS_PATH") (GH-12862) 2019-04-17 18:38:06 +02:00
pprint.py bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180) 2018-12-17 02:49:22 -08:00
profile.py [3.7] bpo-36492: Fix passing special keyword arguments to some functions. (GH-12637) (GH-12645) 2019-04-01 10:59:24 +03:00
pstats.py [3.7] bpo-36766: Typos in docs and code comments (GH-13116). (GH-13136) 2019-05-06 13:55:19 -07:00
pty.py
py_compile.py bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607) 2018-11-28 09:45:36 -08:00
pyclbr.py
pydoc.py bpo-21016: pydoc and trace use sysconfig (GH-18476) 2020-02-12 04:32:46 -08:00
queue.py bpo-14976: Reentrant simple queue (#3346) 2018-01-16 00:27:16 +01:00
quopri.py
random.py bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180) 2018-12-17 02:49:22 -08:00
re.py bpo-32338: OrderedDict import is no longer needed in re. (GH-4891) 2018-03-10 23:01:58 -08:00
reprlib.py
rlcompleter.py
runpy.py
sched.py
secrets.py
selectors.py
shelve.py Fix misleading docsting of shelve.open(). (GH-6427) 2018-04-09 07:57:31 -07:00
shlex.py Add docstring for shlex.split (GH-16740) (GH-17012) 2019-10-31 12:50:32 +00:00
shutil.py bpo-24564: shutil.copystat(): ignore EINVAL on os.setxattr() (GH-13369) 2019-05-30 13:58:30 +08:00
signal.py
site.py bpo-37369: Fixes path for sys.executable when running from the Microsoft Store (GH-14450) 2019-06-28 10:02:13 -07:00
smtpd.py
smtplib.py bpo-38341: Add SMTPNotSupportedError in the exports of smtplib (GH-16525) 2019-10-12 09:26:04 -07:00
sndhdr.py
socket.py bpo-36820: Break unnecessary cycle in socket.py, codeop.py and dyld.py (GH-13135) 2019-12-06 07:01:31 -08:00
socketserver.py Fix typo in Lib/socketserver.py (GH-17024) 2019-11-16 10:32:37 -08:00
sre_compile.py
sre_constants.py
sre_parse.py bpo-37723: Fix performance regression on regular expression parsing. (GH-15030) 2019-07-31 13:22:19 -07:00
ssl.py bpo-37463: match_hostname requires quad-dotted IPv4 (GH-14499) 2019-07-02 14:22:53 -07:00
stat.py bpo-38109: Add missing constants to Lib/stat.py (GH-16665) (GH-16691) 2019-10-10 15:50:38 +02:00
statistics.py
string.py bpo-31672: Restore the former behavior when override flags in Template. (#5099) 2018-01-04 19:20:11 +02:00
stringprep.py
struct.py
subprocess.py [3.7] bpo-35182: fix communicate() crash after child closes its pipes (GH-18117) (GH-18151) 2020-01-23 15:32:31 -08:00
sunau.py bpo-32056: Improve exceptions in aifc, wave and sunau. (GH-5951) 2018-03-18 13:50:41 -07:00
symbol.py
symtable.py
sysconfig.py bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744) 2019-02-04 17:54:59 -08:00
tabnanny.py
tarfile.py bpo-39430: Fix race condition in lazy imports in tarfile. (GH-18161) 2020-01-24 12:10:52 -08:00
telnetlib.py
tempfile.py bpo-26730: Fix SpooledTemporaryFile data corruption (GH-17400) 2019-11-28 14:23:58 +09:00
textwrap.py bpo-30754: Document textwrap.dedent blank line behavior. (GH-14469) 2019-06-29 21:38:11 -07:00
this.py
threading.py Improve threading.daemon docstring (GH-14278) 2019-06-23 12:05:10 -07:00
timeit.py bpo-28240: timeit: Update repeat() doc (GH-7419) (GH-7457) 2018-06-06 19:05:46 +02:00
token.py bpo-33260: Regenerate token.py after removing ASYNC and AWAIT. (GH-6447) 2018-04-11 10:07:23 -07:00
tokenize.py [3.7] bpo-36766: Typos in docs and code comments (GH-13116). (GH-13136) 2019-05-06 13:55:19 -07:00
trace.py bpo-21016: pydoc and trace use sysconfig (GH-18476) 2020-02-12 04:32:46 -08:00
traceback.py bpo-34588: Fix an off-by-one error in traceback formatting. (GH-9077) 2018-09-10 09:00:08 -07:00
tracemalloc.py bpo-32121: Add most_recent_first parameter to tracemalloc.Traceback.format (#4534) 2017-11-30 00:05:07 +01:00
tty.py
turtle.py [3.7] bpo-36766: Typos in docs and code comments (GH-13116). (GH-13136) 2019-05-06 13:55:19 -07:00
types.py bpo-36091: Remove reference to async generator in Lib/types.py. (GH-11996) 2019-03-03 06:54:39 -08:00
typing.py bpo-37953: Fix ForwardRef hash and equality checks (GH-15400) (GH-18751) 2020-03-03 17:29:40 -05:00
uu.py bpo-38945: UU Encoding: Don't let newline in filename corrupt the output format (GH-17418) 2019-12-02 14:43:15 -08:00
uuid.py [3.7] bpo-34621: backwards-compatible pickle UUID with is_safe=unknown (GH-14834) 2019-08-04 22:26:32 +03:00
warnings.py bpo-39056: Fix handling invalid warning category in the -W option. (GH-17618) 2020-01-05 04:34:58 -08:00
wave.py Fix a typo in wave module docstring (GH-17009) 2019-11-04 20:50:01 -08:00
weakref.py bpo-38006: Avoid closure in weakref.WeakValueDictionary (GH-15641) (GH-15789) 2019-09-10 00:31:20 +02:00
webbrowser.py Fix typo from base to based (GH-18055) 2020-01-19 02:48:40 -08:00
xdrlib.py
zipapp.py
zipfile.py bpo-36993: Improve error reporting for zipfiles with bad zip64 extra data. (GH-14656) 2019-10-29 00:43:37 -07:00