cpython/Lib
Miss Islington (bot) d126fbddc9 bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15974)
Before, running deactivate from a bash shell configured to treat undefined variables as errors (`set -u`) would produce a warning:

```
$ python3 -m venv test
$ source test/bin/activate
(test) $ deactivate
-bash: $1: unbound variable
```
(cherry picked from commit 5209e586b7)

Co-authored-by: Daniel Abrahamsson <hamsson@gmail.com>
2019-09-11 08:56:27 -07:00
..
asyncio [3.7] bpo-37279: Fix asyncio sendfile support when extra data are sent in fallback mode. (GH-14075). (GH-14103) 2019-06-15 14:56:27 +03:00
collections [3.7] Fix typos in docs, comments and test assert messages (GH-14872). (#14901) 2019-07-22 14:14:07 -04:00
concurrent Fix typo in Lib/concurrent/futures/thread.py (GH-13953) 2019-06-15 05:11:15 -07:00
ctypes bpo-19865: ctypes.create_unicode_buffer() supports non-BMP strings on Windows (GH-14081) 2019-06-14 09:30:27 -07: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 bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) 2017-04-24 09:05:00 +03:00
distutils bpo-38088: Fixes distutils not finding vcruntime140.dll with only v142 toolset installed (GH-15849) 2019-09-10 15:18:02 +01:00
email [3.7] bpo-37764: Fix infinite loop when parsing unstructured email headers. (GH-15239) (GH-15654) 2019-09-03 09:42:53 -07:00
encodings bpo-32943: Fix confusing error message for rot13 codec (GH-5869) 2018-03-24 21:30:39 -07:00
ensurepip [3.7] bpo-37664: Update ensurepip bundled wheels, again (GH-15483) (GH-15529) 2019-08-26 12:19:53 -07:00
html
http Correct description of HTTP status code 308. (GH-15097) 2019-08-03 11:40:09 -07:00
idlelib bpo-38077: IDLE no longer adds 'argv' to the user namespace (GH-15818) 2019-09-09 20:33:24 -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 bpo-30877: Fix clearing a cache in the the JSON decoder. (GH-7048) 2018-05-22 06:03:10 -07:00
lib2to3 closes bpo-37675: Use pkgutil.iter_modules to find fixers in a package rather than listdir. (14942) 2019-07-24 16:57:39 -07:00
logging bpo-36813: Fix QueueListener to call task_done() upon termination. (GH-13113) 2019-06-01 02:36:29 -07: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 bpo-37421: Fix multiprocessing get_temp_dir() finalizer (GH-14572) 2019-07-04 03:45:58 -07:00
pydoc_data 3.7.4rc1 2019-06-18 17:02:54 -04:00
site-packages
sqlite3 bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. (GH-11175) 2018-12-17 07:10:20 -08:00
test bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15974) 2019-09-11 08:56:27 -07:00
tkinter bpo-27313: Avoid test_ttk_guionly ComboboxTest fail with macOS Cocoa Tk (GH-12011) 2019-02-23 23:46:20 -08:00
turtledemo bpo-14117: Make minor tweaks to turtledemo (GH-8002) 2018-06-28 22:30:44 -07:00
unittest bpo-36871: Ensure method signature is used when asserting mock calls to a method (GH15577) 2019-08-29 07:57:37 +01:00
urllib bpo-35922: Fix RobotFileParser when robots.txt has no relevant crawl delay or request rate (GH-11791) 2019-06-16 00:10:06 -07:00
venv bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15974) 2019-09-11 08:56:27 -07: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-33911: Fixed deprecation warning in xmlrpc.server (GH-7847) (GH-8294) 2018-07-16 11:02:23 +02: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 bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) 2018-11-05 06:52:58 -08:00
_pyio.py bpo-37054, _pyio: Fix BytesIO and TextIOWrapper __del__() (GH-13601) 2019-05-27 17:05:49 -07: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-29553: Fix ArgumentParser.format_usage() for mutually exclusive groups (GH-14976) 2019-08-26 00:30:49 +03:00
ast.py bpo-37950: Fix ast.dump() when call with incompletely initialized node. (GH-15510) 2019-08-29 00:04:44 -07:00
asynchat.py
asyncore.py bpo-29639: change test.support.HOST to "localhost" 2017-09-09 00:30:15 -07:00
base64.py bpo-34164: Fix handling of incorrect padding in base64.b32decode(). (GH-8351) (GH-8435) 2018-07-24 13:53:39 +03:00
bdb.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
binhex.py
bisect.py
bz2.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
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 Closes bpo-28281: Remove year (1-9999) limits on the weekday() function. (#4109) 2017-10-26 15:34:11 -04:00
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
codecs.py bpo-33361: Fix bug with seeking in StreamRecoders (GH-8278) 2019-05-31 23:03:22 +03:00
codeop.py
colorsys.py
compileall.py bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607) 2018-11-28 09:45:36 -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
copyreg.py bpo-31107: Fix copyreg mangled slot names calculation. (#2989) 2017-08-04 11:45:00 +03:00
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-37868: Improve is_dataclass for instances. (GH-15325) 2019-08-19 23:01:55 -07: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 bpo-33224: PEP 479 fix for difflib.mdiff() (GH-6381) (GH-6390) 2018-04-05 11:45:33 -07:00
dis.py bpo-31183: `dis` now handles coroutines & async generators (GH-3077) 2017-08-18 12:29:21 +10:00
doctest.py bpo-24746: Avoid stripping trailing whitespace in doctest fancy diff (GH-10639) 2019-01-09 05:56:40 -08:00
dummy_threading.py Restore dummy_threading and _dummy_thread, but deprecate them (bpo-31370) (#3648) 2017-09-18 22:04:20 +02:00
enum.py bpo-35899: Fix Enum handling of empty and weird strings (GH-11891) 2019-03-08 13:44:21 -08: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
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 [3.7] bpo-36492: Fix passing special keyword arguments to some functions. (GH-12637) (GH-12645) 2019-04-01 10:59:24 +03: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 bpo-30152: Reduce the number of imports for argparse. (#1269) 2017-09-26 00:55:55 +03:00
glob.py
gzip.py Replace KB unit with KiB (#4293) 2017-11-08 14:44:44 -08: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 Improve clarity (and small speed-up) by using tuple unpacking (#3289) 2017-09-04 11:47:58 -07:00
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-38059: Using sys.exit() over exit() in inspect.py (GH-15666) 2019-09-09 08:19:13 -07:00
io.py
ipaddress.py bpo-27860: ipaddress: fix Interface constructor (GH-14200) 2019-06-19 20:47:39 +09:00
keyword.py bpo-30406: Make async and await proper keywords (#1669) 2017-10-05 23:24:46 -04:00
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-22347: Update mimetypes.guess_type to allow proper parsing of URLs (GH-15522) (GH-15687) 2019-09-04 18:16:39 -07: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
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 Fix miscellaneous typos (#4275) 2017-11-05 15:37:50 +02:00
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 closes bpo-25461: Update os.walk() docstring to match the online docs. (GH-11836) 2019-09-10 06:34:03 -07:00
pathlib.py [3.7] bpo-36035: fix Path.rglob for broken links (GH-11988) (GH-13469) 2019-05-21 12:05:08 -07:00
pdb.py bpo-20523: pdb searches for .pdbrc in ~ instead of $HOME (GH-11847) 2019-08-02 15:40:14 -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 bpo-6691: Pyclbr now reports nested classes and functions. (#2503) 2017-07-03 21:31:25 -04:00
pydoc.py bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182) 2018-12-17 01:03:04 -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 bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
rlcompleter.py
runpy.py
sched.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
secrets.py
selectors.py
shelve.py Fix misleading docsting of shelve.open(). (GH-6427) 2018-04-09 07:57:31 -07:00
shlex.py [3.7] bpo-35168: Make shlex.punctuation_chars read-only (GH-11631) (GH-15926) 2019-09-11 13:39:08 +01: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 [3.7] bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268). (GH-10280) 2018-11-01 14:19:23 +02:00
sndhdr.py bpo-31985: Deprecate openfp in aifc, sunau, and wave (#4344) 2017-11-10 11:38:25 -05:00
socket.py bpo-28134: Auto-detect socket values from file descriptor (#1349) 2018-01-29 22:37:58 +01:00
socketserver.py Fix typo in socketserver docstring (GH-11252) 2018-12-21 15:01:34 -08:00
sre_compile.py bpo-31690: Allow the inline flags "a", "L", and "u" to be used as group flags for RE. (#3885) 2017-10-24 23:31:42 +03:00
sre_constants.py bpo-31690: Allow the inline flags "a", "L", and "u" to be used as group flags for RE. (#3885) 2017-10-24 23:31:42 +03:00
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
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 bpo-37424: Avoid a hang in subprocess.run timeout output capture (GH-14490) 2019-09-11 03:05:58 -07:00
sunau.py bpo-32056: Improve exceptions in aifc, wave and sunau. (GH-5951) 2018-03-18 13:50:41 -07:00
symbol.py bpo-30406: Make async and await proper keywords (#1669) 2017-10-05 23:24:46 -04:00
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-34010: Fix tarfile read performance regression (GH-8020) 2018-07-04 01:32:41 -07:00
telnetlib.py bpo-30397: Add re.Pattern and re.Match. (#1646) 2017-10-04 20:09:49 +03:00
tempfile.py bpo-33522: Enable CI builds on Visual Studio Team Services (GH-6865) (GH-6926) 2018-05-17 08:49:01 -04: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 [3.7] bpo-36492: Fix passing special keyword arguments to some functions. (GH-12637) (GH-12645) 2019-04-01 10:59:24 +03: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 [3.7] bpo-36983: Fix typing.__all__ and add test for exported names (GH-13456) (GH-13662) 2019-05-29 21:05:33 -07:00
uu.py bpo-33687: Fix call to os.chmod() in uu.decode() (GH-7282) 2019-01-17 17:32:59 +03: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-35178: Fix warnings._formatwarnmsg() (GH-12033) 2019-03-01 09:40:10 -08:00
wave.py bpo-32056: Improve exceptions in aifc, wave and sunau. (GH-5951) 2018-03-18 13:50:41 -07:00
weakref.py bpo-38006: Avoid closure in weakref.WeakValueDictionary (GH-15641) (GH-15789) 2019-09-10 00:31:20 +02:00
webbrowser.py bpo-35308: Fix regression where BROWSER env var is not respected. (GH-10693) 2018-11-26 13:49:28 -08:00
xdrlib.py
zipapp.py bpo-31638: Add compression support to zipapp (GH-3819) 2017-09-29 18:31:52 +01:00
zipfile.py bpo-22102: Fixes zip files with disks set to 0 (GH-5985) 2019-05-28 16:33:21 -07:00