cpython/Lib
Miss Islington (bot) d3f9fb2d28
bpo-39299: Add more tests for mimetypes and its cli. (GH-17949)
* Add tests for case insensitive check of types and extensions as fallback.
* Add tests for data url with no comma.
* Add tests for read_mime_types.
* Add tests for the mimetypes cli and refactor __main__ code to private function.
* Restore mimetypes.knownfiles value at the end of the test.
(cherry picked from commit d8efc14951)

Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
2020-02-11 07:32:40 -08:00
..
asyncio bpo-38356: Fix ThreadedChildWatcher thread leak in test_asyncio (GH-16552) 2020-01-12 03:21:00 -08:00
collections bpo-36582: Make collections.UserString.encode() return bytes, not str (GH-13138) (GH-15557) 2019-08-27 21:59:54 -07:00
concurrent Fix typo in Lib/concurrent/futures/thread.py (GH-13953) 2019-06-15 05:02:34 -07:00
ctypes bpo-16575: Disabled checks for union types being passed by value. (GH-17960) (GH-17964) 2020-01-12 11:41:07 +00:00
curses bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705) 2019-05-06 22:40:27 +03:00
dbm bpo-36232: Improve error message on dbm.open() when the db doesn't exist (GH-12060) 2019-04-29 16:23:28 -07:00
distutils bpo-38088: Fixes distutils not finding vcruntime140.dll with only v142 toolset installed (GH-15849) 2019-09-10 15:42:26 +01:00
email bpo-38708: email: Fix a potential IndexError when parsing Message-ID (GH-17504) 2019-12-08 18:12:50 -08:00
encodings bpo-38945: UU Encoding: Don't let newline in filename corrupt the output format (GH-17418) 2019-12-02 14:44:44 -08:00
ensurepip bpo-37664: Update ensurepip bundled wheels, again (GH-15483) 2019-08-26 12:57:57 -07:00
html
http bpo-38907: Suppress any exception when attempting to set V6ONLY. (GH-17864) (GH-17865) 2020-01-06 08:28:27 -05:00
idlelib bpo-39600: Adjust code, add idlelib/NEWS item (GH-18449) 2020-02-10 17:27:31 -08:00
importlib bpo-39297: Update for importlib_metadata 1.4. (GH-17947) (GH-17952) 2020-01-11 10:56:57 -05:00
json bpo-33684: json.tool: Use utf-8 for infile and outfile. (GH-17460) 2019-12-04 01:57:55 -08:00
lib2to3 bpo-38871: Fix lib2to3 for filter-based statements that contain lambda (GH-17780) 2020-01-07 09:52:06 -08:00
logging bpo-39198: Ensure logging global lock is released on exception in isEnabledFor (GH-17689) (GH-17897) 2020-01-07 17:03:23 +00:00
msilib bpo-12639: msilib.Directory.start_component() fails if *keyfile* is not None (GH-13688) 2019-05-31 09:43:13 -07:00
multiprocessing bpo-39439: Fix multiprocessing spawn path in a venv on Windows (GH-18158) 2020-01-28 02:52:47 -08:00
pydoc_data Python 3.8.2rc1 2020-02-10 20:08:24 +01:00
site-packages
sqlite3 bpo-38185: Fixed case-insensitive string comparison in sqlite3.Row indexing. (GH-16190) 2019-09-16 23:39:11 -07:00
test bpo-39299: Add more tests for mimetypes and its cli. (GH-17949) 2020-02-11 07:32:40 -08:00
tkinter bpo-39152: add missing ttk.Scale.configure return value (GH-17815) 2020-01-05 09:07:30 -08:00
turtledemo Fix typos in docs and docstrings (GH-13745) 2019-06-03 01:12:33 +02:00
unittest bpo-39450 Stripped whitespace before parsing the docstring in TestCase.shortDescription (GH-18175) (#18323) 2020-02-03 08:20:41 +00:00
urllib bpo-39057: Fix urllib.request.proxy_bypass_environment(). (GH-17619) 2020-01-05 04:32:00 -08:00
venv bpo-39505: delete the redundant '/' in $env:VIRTUAL_ENV (GH-18290) (GH-18359) 2020-02-05 08:39:36 +00:00
wsgiref bpo-8138: Initialize wsgiref's SimpleServer as single-threaded (GH-12977) 2019-05-24 20:24:42 +03:00
xml bpo-36831: Do not apply default namespace to unprefixed attributes in ElementPath. (#13201) 2019-05-09 07:22:47 +02:00
xmlrpc bpo-38243, xmlrpc.server: Escape the server_title (GH-16373) 2019-09-27 13:19:41 -07:00
__future__.py
__phello__.foo.py
_bootlocale.py
_collections_abc.py bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 2019-06-01 11:00:15 +03:00
_compat_pickle.py [3.8] bpo-37757: Disallow PEP 572 cases that expose implementation details (GH-15491) 2019-08-26 00:41:47 +10:00
_compression.py
_dummy_thread.py bpo-36688: Adding an implementation of RLock in _dummy_thread (GH-12943) 2019-06-17 01:34:27 -07:00
_markupbase.py
_osx_support.py
_py_abc.py bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 2019-06-01 11:00:15 +03:00
_pydecimal.py bpo-36793: Remove unneeded __str__ definitions. (GH-13081) 2019-05-06 22:29:40 +03:00
_pyio.py [3.8] closes bpo-27805: Ignore ESPIPE in initializing seek of append-mode files. (GH-17136) 2019-11-12 15:54:19 -08:00
_sitebuiltins.py
_strptime.py
_threading_local.py bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 2019-06-01 11:00:15 +03:00
_weakrefset.py bpo-36949: Implement __repr__ on WeakSet (GH-13415) 2019-05-20 10:01:07 -07:00
abc.py
aifc.py
antigravity.py
argparse.py bpo-38821: Fix crash in argparse when using gettext (GH-17192) 2019-11-20 05:48:25 -08:00
ast.py [3.8] bpo-37950: Fix ast.dump() when call with incompletely initialized node. (GH-15510) (GH-15582) 2019-08-29 10:50:28 +03:00
asynchat.py
asyncore.py bpo-36793: Remove unneeded __str__ definitions. (GH-13081) 2019-05-06 22:29:40 +03:00
base64.py bpo-39055: Reject a trailing \n in base64.b64decode() with validate=True. (GH-17616) 2020-01-05 04:36:48 -08:00
bdb.py Fix typos mostly in comments, docs and test names (GH-15209) 2019-08-30 13:42:54 -07:00
binhex.py
bisect.py remove duplicate code in biscet (GH-1270) 2019-04-08 17:01:09 +09:00
bz2.py
cProfile.py bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705) 2019-05-06 22:40:27 +03:00
calendar.py bpo-28292: Mark calendar.py helper functions as private. (GH-15113) (GH-15116) 2019-08-04 13:34:56 -07:00
cgi.py bpo-20504 : in cgi.py, fix bug when a multipart/form-data request has… (GH-10638) 2019-09-11 05:09:23 -07:00
cgitb.py
chunk.py
cmd.py
code.py Fix documentation in code.py (GH-17988) 2020-01-14 12:13:59 -08:00
codecs.py bpo-33361: Fix bug with seeking in StreamRecoders (GH-8278) 2019-05-31 22:44:00 +03:00
codeop.py bpo-36820: Break unnecessary cycle in socket.py, codeop.py and dyld.py (GH-13135) 2019-12-06 06:59:49 -08:00
colorsys.py
compileall.py bpo-36786: Run compileall in parallel during "make install" (GH-13078) 2019-05-15 23:45:18 +02:00
configparser.py fix typo in configparser doc (GH-12154) 2019-03-03 18:23:19 -08:00
contextlib.py bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 2019-06-01 11:00:15 +03:00
contextvars.py
copy.py bpo-38293: Allow shallow and deep copying of property objects (GH-16438) 2020-01-12 10:04:18 -08:00
copyreg.py
crypt.py bpo-25172: Raise appropriate ImportError msg when crypt module used on Windows (GH-15149) 2019-08-13 14:27:14 -07:00
csv.py bpo-27497: Add return value to csv.DictWriter.writeheader (GH-12306) 2019-05-10 03:50:11 +02:00
dataclasses.py bpo-34776: Fix dataclasses to support __future__ "annotations" mode (GH-9518) (#17531) 2019-12-09 17:07:51 +01:00
datetime.py bpo-37642: Update acceptable offsets in timezone (GH-14878) (#15227) 2019-08-15 15:08:57 -04:00
decimal.py
difflib.py [3.8] bpo-38738: Fix formatting of True and False. (GH-17083) (GH-17125) 2019-11-12 18:54:10 +02:00
dis.py bpo-38115: Deal with invalid bytecode offsets in lnotab (GH-16079) (GH-16464) 2019-09-28 08:22:00 -07:00
doctest.py bpo-36406: Handle namespace packages in doctest (GH-12520) (GH-17591) 2019-12-13 15:30:41 -08:00
dummy_threading.py
enum.py Doc: Fix spelling errors of 'initial' in enum.py (GH-16314) 2019-09-20 22:41:35 -07:00
filecmp.py
fileinput.py bpo-37014: Update docstring and Documentation of fileinput.FileInput(). (GH-13545) 2019-06-02 23:01:49 +02:00
fnmatch.py
formatter.py
fractions.py bpo-39274: Ensure Fraction.__bool__() returns a bool (GH-18017) 2020-02-06 07:13:38 -08:00
ftplib.py bpo-37390: Add audit event table to documentations (GH-14406) 2019-06-27 11:07:16 -07:00
functools.py Doc: Fix Wikipedia link for functools.lru_cache (GH-16183) 2019-09-16 11:55:04 -07:00
genericpath.py bpo-38807: Add os.PathLike to exception message raised by _check_arg_types (GH-17160) (GH-17249) 2019-11-18 22:46:10 -08:00
getopt.py
getpass.py
gettext.py bpo-36239: Skip comments in gettext infos (GH-12255) 2019-05-09 16:22:15 +02:00
glob.py bpo-38149: Call sys.audit() only once per call for glob.glob(). (GH-18360) 2020-02-06 00:45:18 -08:00
gzip.py bpo-39389: gzip: fix compression level metadata (GH-18077) 2020-01-21 03:42:49 -08:00
hashlib.py [3.8] bpo-38153: Normalize hashlib algorithm names (GH-16083) (GH-16144) 2019-09-16 14:08:55 +02:00
heapq.py bpo-29984: Improve 'heapq' test coverage (GH-992) 2019-05-31 21:13:57 -07:00
hmac.py bpo-33604: Raise TypeError on missing hmac arg. (GH-16805) 2019-10-17 20:48:42 -07:00
imaplib.py bpo-37390: Add audit event table to documentations (GH-14406) 2019-06-27 11:07:16 -07:00
imghdr.py
imp.py
inspect.py bpo-38478: Correctly handle keyword argument with same name as positional-only parameter (GH-16800) 2019-10-15 05:02:34 -07:00
io.py bpo-36842: Implement PEP 578 (GH-12613) 2019-05-23 08:45:22 -07:00
ipaddress.py bpo-36845: validate integer network prefix when constructing IP networks (GH-13298) 2019-05-14 19:32:59 +09:00
keyword.py bpo-36143: Regenerate Lib/keyword.py from the Grammar and Tokens file using pgen (GH-12456) 2019-03-25 22:01:12 +00:00
linecache.py
locale.py bpo-18378: Recognize "UTF-8" as a valid name in locale._parse_localename (GH-14736) 2019-08-28 21:56:00 -07:00
lzma.py
mailbox.py
mailcap.py
mimetypes.py bpo-39299: Add more tests for mimetypes and its cli. (GH-17949) 2020-02-11 07:32:40 -08:00
modulefinder.py bpo-37032: Add CodeType.replace() method (GH-13542) 2019-05-24 23:57:23 +02:00
netrc.py
nntplib.py bpo-39242: Updated the Gmane domain into news.gmane.io (GH-17903) 2020-01-08 07:48:33 -08:00
ntpath.py bpo-38453: Ensure ntpath.realpath correctly resolves relative paths (GH-16967) 2019-11-15 15:25:03 -08:00
nturl2path.py
numbers.py
opcode.py
operator.py bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 2019-06-01 11:00:15 +03:00
optparse.py
os.py [3.8] bpo-38878: Fix os.PathLike __subclasshook__ (GH-17336) (GH-17684) 2019-12-23 18:31:00 +00:00
pathlib.py bpo-38883: Don't use POSIX `$HOME` in `pathlib.Path.home/expanduser` on Windows (GH-17961) 2020-01-28 01:59:43 -08:00
pdb.py bpo-38723: Pdb._runscript should use io.open_code() instead of open() (GH-17127) 2019-11-12 15:09:03 -08:00
pickle.py bpo-39426: Fix outdated default and highest protocols in docs (GH-18154) 2020-01-24 02:20:35 -08:00
pickletools.py bpo-36785: PEP 574 implementation (GH-7076) 2019-05-26 17:10:09 +02:00
pipes.py
pkgutil.py
platform.py bpo-36766: Typos in docs and code comments (GH-13116) 2019-05-06 14:57:17 -04:00
plistlib.py Clarify that plistlib's load and dump functions take a binary file object (GH-9825) 2019-07-14 02:25:43 -07:00
poplib.py bpo-37390: Add audit event table to documentations (GH-14406) 2019-06-27 11:07:16 -07:00
posixpath.py bpo-35755: Remove current directory from posixpath.defpath (GH-11586) 2019-04-17 17:05:30 +02:00
pprint.py bpo-30670: Add pp function to the pprint module (GH-11769) 2019-03-22 10:22:20 -07:00
profile.py bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705) 2019-05-06 22:40:27 +03:00
pstats.py Fix typos in docs and docstrings (GH-13745) 2019-06-03 01:12:33 +02:00
pty.py bpo-39184: Add audit events to command execution functions in os and pty modules (GH-17824) 2020-02-04 16:32:32 -08:00
py_compile.py bpo-22640: Add silent mode to py_compile.compile() (GH-12976) 2019-05-28 19:29:04 +03:00
pyclbr.py Fix typos in docs and docstrings (GH-13745) 2019-06-03 01:12:33 +02:00
pydoc.py bpo-36045: builtins.help() now prefixes `async` for async functions (GH-12010) 2019-05-24 04:38:01 -07:00
queue.py bpo-37394: Fix pure Python implementation of the queue module (GH-14351) 2019-06-24 19:14:37 -07:00
quopri.py
random.py bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 2019-06-01 11:00:15 +03:00
re.py bpo-36548: Improve the repr of re flags. (GH-12715) 2019-05-31 10:39:47 +03:00
reprlib.py
rlcompleter.py
runpy.py bpo-38722: Runpy use io.open_code() (GH-17234) 2019-11-18 13:58:02 -08:00
sched.py
secrets.py
selectors.py
shelve.py
shlex.py Add docstring for shlex.split (GH-16740) (GH-17013) 2019-10-31 12:50:04 +00:00
shutil.py [3.8] bpo-39390 shutil: fix argument types for ignore callback (GH-18122) 2020-01-28 00:46:29 +01:00
signal.py
site.py bpo-37369: Fix initialization of sys members when launched via an app container (GH-14467) 2019-06-29 14:28:59 -07:00
smtpd.py
smtplib.py bpo-38341: Add SMTPNotSupportedError in the exports of smtplib (GH-16525) 2019-10-12 09:08:24 -07:00
sndhdr.py
socket.py Fix host in address of socket.create_server example. (GH-17706) 2020-01-10 21:39:01 -08:00
socketserver.py Fix typo in Lib/socketserver.py (GH-17024) 2019-11-16 10:35:08 -08:00
sre_compile.py
sre_constants.py bpo-36793: Remove unneeded __str__ definitions. (GH-13081) 2019-05-06 22:29:40 +03:00
sre_parse.py bpo-37723: Fix performance regression on regular expression parsing. (GH-15030) 2019-07-31 13:22:09 -07:00
ssl.py bpo-37463: match_hostname requires quad-dotted IPv4 (GH-14499) 2019-07-02 14:06:18 -07:00
stat.py bpo-38109: Add missing constants to Lib/stat.py (GH-16665) (GH-16690) 2019-10-10 15:50:32 +02:00
statistics.py bpo-38385: Fix iterator/iterable terminology in statistics docs (GH-17111) (GH-17113) 2019-11-12 00:04:12 -08:00
string.py bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) 2019-06-01 11:00:15 +03:00
stringprep.py
struct.py
subprocess.py [3.8] bpo-35182: fix communicate() crash after child closes its pipes (GH-18117) (GH-18148) 2020-01-23 15:31:29 -08:00
sunau.py
symbol.py
symtable.py
sysconfig.py [3.8] bpo-38234: Backport init path config changes from master (GH-16423) 2019-09-26 16:17:34 +02:00
tabnanny.py
tarfile.py bpo-39430: Fix race condition in lazy imports in tarfile. (GH-18161) 2020-01-24 12:10:42 -08:00
telnetlib.py bpo-37363: Add audit events for a range of modules (GH-14301) 2019-06-24 09:09:47 -07:00
tempfile.py bpo-26730: Fix SpooledTemporaryFile data corruption (GH-17400) 2019-11-27 21:23:14 -08:00
textwrap.py bpo-30754: Document textwrap.dedent blank line behavior. (GH-14469) 2019-06-29 21:40:41 -07:00
this.py
threading.py Improve threading.daemon docstring (GH-14278) 2019-06-23 12:06:21 -07:00
timeit.py
token.py bpo-35975: Support parsing earlier minor versions of Python 3 (GH-12086) 2019-03-07 12:38:08 -08:00
tokenize.py bpo-5028: Fix up rest of documentation for tokenize documenting line (GH-13686) 2019-05-30 15:06:32 -07:00
trace.py Add option to trace to run modules (GH-5134) 2019-06-01 14:49:09 +10:00
traceback.py
tracemalloc.py
tty.py
turtle.py Fix typos in docs and docstrings (GH-13745) 2019-06-03 01:12:33 +02:00
types.py bpo-37032: Add CodeType.replace() method (GH-13542) 2019-05-24 23:57:23 +02:00
typing.py bpo-39493: Fix definition of IO.closed in typing.py (GH-18265) 2020-01-29 21:42:38 -08:00
uu.py bpo-38945: UU Encoding: Don't let newline in filename corrupt the output format (GH-17418) 2019-12-02 14:44:44 -08:00
uuid.py Fix typos mostly in comments, docs and test names (GH-15209) 2019-08-30 13:42:54 -07:00
warnings.py bpo-39056: Fix handling invalid warning category in the -W option. (GH-17618) 2020-01-05 04:33:08 -08:00
wave.py Fix a typo in wave module docstring (GH-17009) 2019-11-04 21:09:48 -08:00
weakref.py bpo-38006: Avoid closure in weakref.WeakValueDictionary (GH-15641) 2019-09-09 09:24:16 -07:00
webbrowser.py Fix typo from base to based (GH-18055) 2020-01-19 02:48:04 -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:44:07 -07:00
zipimport.py [3.8] bpo-39033: Fix NameError in zipimport during hash validation (GH-17588) (GH-17642) 2020-01-14 03:39:19 -08:00