cpython/Lib
Victor Stinner 75cdd9a904
gh-109276: libregrtest: WASM use filename for JSON (#109340)
On Emscripten and WASI platforms, or if --python command line option
is used, libregrtest now uses a filename for the JSON file.

Emscripten and WASI buildbot workers run the main test process with a
different Python (Linux) which spawns Emscripten/WASI processes using
the command specified in --python command line option. Passing a file
descriptor from the parent process to the child process doesn't work
in this case.

* Add JsonFile and JsonFileType classes
* Add RunTests.json_file_use_filename() method.
* Add a test in test_regrtest on the --python command line option.
* test_regrtest: add parallel=False parameter.
* Split long RunWorkers._runtest() function into sub-functions.
2023-09-13 00:41:25 +02:00
..
__phello__
asyncio gh-108903: Remove unneeded `lambda`s from `asyncio` (GH-108904) 2023-09-05 18:11:12 +03:00
collections gh-108751: Add copy.replace() function (GH-108752) 2023-09-06 23:55:42 +03:00
concurrent gh-107219: Fix concurrent.futures terminate_broken() (#109244) 2023-09-11 08:11:31 +00:00
ctypes
curses
dbm
email
encodings
ensurepip
html
http
idlelib
importlib gh-109256: allocate opcode IDs for internal opcodes in their own range (#109269) 2023-09-12 10:36:17 +00:00
json
logging gh-103384: Generalize the regex pattern `BaseConfigurator.INDEX_PATTERN` to allow spaces and non-alphanumeric characters in keys. (GH-103391) 2023-08-25 09:15:26 +01:00
multiprocessing gh-107219: Fix concurrent.futures terminate_broken() (#109244) 2023-09-11 08:11:31 +00:00
pydoc_data
re
site-packages
sqlite3 gh-108590: Revert gh-108657 (commit 400a1cebc) (#108686) 2023-08-30 14:53:10 +00:00
test gh-109276: libregrtest: WASM use filename for JSON (#109340) 2023-09-13 00:41:25 +02:00
tkinter
tomllib
turtledemo
unittest gh-84867: Do not load tests from TestCase and FunctionTestCase (GH-100497) 2023-09-12 16:33:30 +03:00
urllib
venv
wsgiref
xml gh-50002: xml.dom.minidom now preserves whitespaces in attributes (GH-107947) 2023-08-23 15:23:41 +03:00
xmlrpc
zipfile
zoneinfo
__future__.py
__hello__.py
_aix_support.py
_collections_abc.py
_compat_pickle.py
_compression.py
_markupbase.py
_opcode_metadata.py gh-109256: allocate opcode IDs for internal opcodes in their own range (#109269) 2023-09-12 10:36:17 +00:00
_osx_support.py
_py_abc.py
_pydatetime.py Docs: Fix typo in datetime.tzinfo docstring (#107257) 2023-09-06 21:29:46 +00:00
_pydecimal.py
_pyio.py
_pylong.py
_sitebuiltins.py
_strptime.py
_threading_local.py
_weakrefset.py
abc.py
antigravity.py
argparse.py
ast.py gh-108469: Update ast.unparse for unescaped quote support from PEP701 [3.12] (#108553) 2023-09-05 21:01:23 +01:00
base64.py
bdb.py
bisect.py
bz2.py
cProfile.py
calendar.py GH-108202: Document ``calendar``'s command-line interface (#109020) 2023-09-06 21:19:54 +00:00
cmd.py
code.py
codecs.py gh-50644: Forbid pickling of codecs streams (GH-109180) 2023-09-10 20:06:09 +03:00
codeop.py
colorsys.py
compileall.py
configparser.py
contextlib.py
contextvars.py
copy.py gh-108751: Add copy.replace() function (GH-108752) 2023-09-06 23:55:42 +03:00
copyreg.py
csv.py
dataclasses.py gh-108751: Add copy.replace() function (GH-108752) 2023-09-06 23:55:42 +03:00
datetime.py
decimal.py
difflib.py
dis.py gh-107932: Fix dis module for bytecode that does not have an associated source line (GH-107988) 2023-08-25 09:31:26 +01:00
doctest.py gh-108794: doctest counts skipped tests (#108795) 2023-09-02 16:42:07 +02:00
enum.py gh-109022: [Enum] require `names=()` to create empty enum type (GH-109048) 2023-09-07 18:19:03 -07:00
filecmp.py
fileinput.py
fnmatch.py
fractions.py
ftplib.py
functools.py
genericpath.py
getopt.py
getpass.py
gettext.py
glob.py
graphlib.py
gzip.py gh-108111: Flush gzip write buffer before seeking, fixing bad writes (#108341) 2023-08-24 10:23:01 +02:00
hashlib.py
heapq.py
hmac.py
imaplib.py
inspect.py gh-108751: Add copy.replace() function (GH-108752) 2023-09-06 23:55:42 +03:00
io.py
ipaddress.py
keyword.py
linecache.py
locale.py gh-104783: locale.getlocale() calls sys.getfilesystemencoding() (#105401) 2023-06-06 18:19:40 +00:00
lzma.py
mailbox.py
mimetypes.py
modulefinder.py
netrc.py
ntpath.py
nturl2path.py
numbers.py
opcode.py gh-109039: Branch prediction for Tier 2 interpreter (#109038) 2023-09-11 18:20:24 +00:00
operator.py
optparse.py
os.py
pathlib.py GH-78722: Raise exceptions from `pathlib.Path.iterdir()` without delay. (#107320) 2023-09-02 16:08:03 +01:00
pdb.py GH-106734: Disable tab completion in pdb's multiline mode (GH-106735) 2023-09-11 18:28:43 -07:00
pickle.py gh-93627: Align Python implementation of pickle with C implementation of pickle (GH-103035) 2023-09-10 10:06:08 +03:00
pickletools.py
pkgutil.py
platform.py
plistlib.py
poplib.py
posixpath.py
pprint.py
profile.py
pstats.py
pty.py
py_compile.py
pyclbr.py
pydoc.py
queue.py
quopri.py
random.py Fix an ironic typo in a code comment. (gh-109186) 2023-09-09 10:21:42 -05:00
reprlib.py
rlcompleter.py
runpy.py
sched.py
secrets.py
selectors.py
shelve.py
shlex.py
shutil.py
signal.py
site.py
smtplib.py
socket.py
socketserver.py
sre_compile.py
sre_constants.py
sre_parse.py
ssl.py
stat.py gh-108638: Fix stat.filemode() when _stat is missing (#108639) 2023-08-29 15:46:46 +00:00
statistics.py gh-108322: Optimize statistics.NormalDist.samples() (gh-108324) 2023-08-27 08:59:40 -05:00
string.py
stringprep.py
struct.py
subprocess.py
symtable.py
sysconfig.py
tabnanny.py
tarfile.py gh-107811: tarfile: treat overflow in UID/GID as failure to set it (#108369) 2023-08-23 20:00:07 +02:00
tempfile.py
textwrap.py
this.py
threading.py
timeit.py gh-105052:update timeit function's description (#105060) 2023-08-27 03:22:27 -04:00
token.py
tokenize.py
trace.py
traceback.py gh-106922: Fix error location for constructs with spaces and parentheses (#108959) 2023-09-08 17:18:35 +01:00
tracemalloc.py
tty.py
turtle.py gh-107805: Fix signatures of module-level generated functions in `turtle` (#107807) 2023-09-01 01:18:15 -07:00
types.py
typing.py gh-105509: Simplify implementation of `typing.Annotated` (#105510) 2023-09-01 13:57:25 -07:00
uuid.py
warnings.py
wave.py
weakref.py
webbrowser.py
zipapp.py
zipimport.py