Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-121489: Export private _PyBytes_Join() again#122094

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
cdce8p wants to merge903 commits intopython:3.13fromcdce8p:export-pybytes-join
Closed
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
903 commits
Select commitHold shift + click to select a range
9056597
gh-73991: Skip permission test if running as *nix superuser (GH-120994)
encukouJun 26, 2024
ef28f6d
gh-121040: Remove fallthrough warnings compiler option (gh-121041)
nohlsonJun 26, 2024
9e45fd9
gh-121016: Add test for `PYTHON_BASIC_REPL` envioronment variable (#1…
devdanzinJun 26, 2024
9e4a81f
gh-120642: Move private PyCode APIs to the internal C API (#120643)
vstinnerJun 26, 2024
c878767
gh-119786: move frames documentation to InternalDocs and add details …
iritkatrielJun 26, 2024
44eafd6
gh-121008: Fix idlelib.run tests (#121046)
vstinnerJun 26, 2024
9cd2dcb
gh-120593: Fix const qualifier in pyatomic.h (#121055)
vstinnerJun 26, 2024
e51e880
gh-120593: Fix const qualifier in _PyLong_CompactValue() (#121053)
vstinnerJun 26, 2024
d611c4c
gh-118908: Use __main__ for the default PyREPL namespace (#121054)
ambvJun 26, 2024
22b0de2
gh-117139: Convert the evaluation stack to stack refs (#118450)
Fidget-SpinnerJun 26, 2024
1c13b29
gh-120937: Reference weakref from the `__del__` documentation (#120940)
chaenJun 26, 2024
4be1f37
gh-113433: Automatically Clean Up Subinterpreters in Py_Finalize() (g…
ericsnowcurrentlyJun 26, 2024
7d9c685
gh-120868: Fix breaking change in `logging.config` when using `QueueH…
provinzkrautJun 27, 2024
1167a9a
gh-119521: Remove _IncompleteInputError from the docs (GH-120993)
encukouJun 27, 2024
4999e0b
gh-120888: Bump bundled pip to 24.1.1 (#120889)
pradyunsgJun 27, 2024
12af8ec
gh-121040: Use __attribute__((fallthrough)) (#121044)
vstinnerJun 27, 2024
6f7acaa
gh-120686: remove unused internal c api functions (#120687)
iritkatrielJun 27, 2024
b7a95df
gh-120593: Check -Wcast-qual flag in test_cext (#121081)
vstinnerJun 27, 2024
223c03a
gh-121082: Fix build failure when the developer use `--enable-pystats…
ZheaoliJun 27, 2024
db96edd
gh-121027: Add a future warning in functools.partial.__get__ (#121086)
serhiy-storchakaJun 27, 2024
0890ad7
gh-115986 Improve pprint docs formatting (GH-117401)
Privat33r-devJun 27, 2024
e9b4ec6
gh-105623 Fix performance degradation in logging RotatingFileHandler …
zhattJun 27, 2024
4a62a33
gh-121065: Temporarily skip flaky test on free-threaded build (#121100)
colesburyJun 27, 2024
237baf4
gh-121035: Update logging flow chart to include the lastResort handle…
bessmanJun 27, 2024
1a2e7a7
gh-120837: Update _Py_DumpExtensionModules to be async-signal-safe (g…
corona10Jun 27, 2024
58a3580
gh-107803: add whatsnew for asyncio double linked list implementation…
kumaraditya303Jun 28, 2024
6e63d84
gh-121096: Ignore dlopen() leaks in Valgrind suppression file (#121097)
vstinnerJun 28, 2024
ef3c400
gh-120804: remove `is_active` method from internal child watchers imp…
kumaraditya303Jun 28, 2024
43709d5
Check for compiler warnings in test_cext on Windows (#121088)
vstinnerJun 28, 2024
81a654a
gh-121018: Fix more cases of exiting in argparse when exit_on_error=F…
serhiy-storchakaJun 28, 2024
2894aa1
gh-121115: Skip __index__ in PyLong_AsNativeBytes by default (GH-121118)
zoobaJun 28, 2024
e6543da
gh-117139: Fix a few wrong steals in bytecodes.c (GH-121127)
Fidget-SpinnerJun 28, 2024
92893fd
gh-121137: Add missing Py_DECREF calls for ADDITEMS opcode of _pickle…
LegoclonesJun 28, 2024
6d34938
gh-120713: Normalize year with century for datetime.strftime (GH-120820)
blhsingJun 29, 2024
0a1e8ff
gh-121101: Document -Wall option (an alias for -Walways) (#121102)
wimglennJun 29, 2024
2cb84b1
gh-119372: Recover inf's and zeros in _Py_c_quot (GH-119457)
skirpichevJun 29, 2024
d6d8707
GH-119054: Add "Expanding and resolving paths" section to pathlib doc…
barneygaleJun 29, 2024
6b280a8
GH-119054: Add alt text to pathlib inheritance diagram (#121158)
barneygaleJun 29, 2024
48cd104
gh-120522: Add a `--with-app-store-compliance` configure option to pa…
freakboy3742Jun 30, 2024
c3677be
gh-119447: Fix build with _PY_SHORT_FLOAT_REPR == 0 (#121178)
yuyuyurekaJun 30, 2024
2a455bb
[doc] Update element positions and styles in logging flow diagram. (G…
vsajipJun 30, 2024
1a84bdc
gh-121163: Add "all" as an valid alias for "always" in warnings.simpl…
Eclips4Jun 30, 2024
bd473aa
gh-87744: fix waitpid race while calling send_signal in asyncio (#121…
kumaraditya303Jul 1, 2024
f80376b
gh-113565: Improve and harden detection of curses dependencies (#119816)
erlend-aaslandJul 1, 2024
af8c3d7
gh-121188: Sanitize invalid XML characters in regrtest (#121195)
vstinnerJul 1, 2024
a0b8b34
gh-121199: Use _Py__has_attribute() in timemodule.c (#121203)
vstinnerJul 1, 2024
6988ff0
gh-61103: Support double complex (_Complex) type in ctypes (#120894)
skirpichevJul 1, 2024
c766ad2
gh-121084: Call _abc_registry_clear() when checking refleaks (#121191)
vstinnerJul 1, 2024
05a6f8d
gh-121200: Log pwd entry in test_expanduser_pwd2() (#121207)
vstinnerJul 1, 2024
7e8f334
build(deps-dev): bump types-psutil from 5.9.5.20240516 to 6.0.0.20240…
dependabot[bot]Jul 1, 2024
c9302e8
build(deps-dev): bump mypy from 1.10.0 to 1.10.1 in /Tools (#121216)
dependabot[bot]Jul 1, 2024
8d0cafd
build(deps-dev): bump types-setuptools from 70.0.0.20240524 to 70.1.0…
dependabot[bot]Jul 1, 2024
56a3ce2
gh-117784: Only reference PHA functions ifndef SSL_VERIFY_POST_HANDSH…
WillChilds-KleinJul 1, 2024
c7991cc
gh-121220: Mark test_threaded_weak_value_dict_copy() as CPU-heavy (#1…
Eclips4Jul 1, 2024
8a51767
gh-117657: Use critical section to make _socket.socket.close thread s…
aiskJul 1, 2024
02cb5fd
gh-121200: Fix test_expanduser_pwd2() of test_posixpath (#121228)
vstinnerJul 1, 2024
d44c550
gh-120743: Soft deprecate os.popen() function (#120744)
vstinnerJul 1, 2024
91313af
gh-114104: clarify asynchronous comprehension docs to match runtime b…
yangdanny97Jul 1, 2024
9bcb7d8
gh-121110: Temporarily Skip test_basic_multiple_interpreters_reset_ea…
ericsnowcurrentlyJul 1, 2024
294e724
gh-117657: Fix data races reported by TSAN in some set methods (#120914)
aiskJul 1, 2024
33903c5
GH-116017: Get rid of _COLD_EXITs (GH-120960)
brandtbucherJul 1, 2024
1dc9a4f
gh-121196: Document `dict.fromkeys` params as pos-only (#121197)
sobolevnJul 1, 2024
9662608
GH-119726: Use LDR for AArch64 trampolines (GH-121001)
diegorussoJul 1, 2024
4f1e1df
Fix phrasing in paragraphs with leading "similar" (#121135)
rffontenelleJul 2, 2024
bfe0e4d
gh-121035: Improve logging flow diagram for dark/light modes. (GH-121…
vsajipJul 2, 2024
7435f05
Move get_signal_name() to test.support (#121251)
vstinnerJul 2, 2024
7a807c3
gh-121245: Amend d611c4c8e9 (correct import) (#121255)
skirpichevJul 2, 2024
15232a0
gh-121210: handle nodes with missing attributes/fields in `ast.compar…
picnixzJul 2, 2024
6343486
gh-121165: protect macro expansion of `ADJUST_INDICES` with do-while(…
picnixzJul 2, 2024
1ac2732
gh-121272: move __future__ import validation from compiler to symtabl…
iritkatrielJul 2, 2024
8e8d202
gh-117139: Add _PyTuple_FromStackRefSteal and use it (#121244)
colesburyJul 2, 2024
b180788
gh-115773: Add sizes to debug offset structure (#120112)
pablogsalJul 2, 2024
0898354
gh-121035: Further improve logging flow diagram with respect to dark/…
vsajipJul 2, 2024
f09d184
GH-73991: Support copying directory symlinks on older Windows (#120807)
barneygaleJul 3, 2024
ff5806c
gh-121027: Make the functools.partial object a method descriptor (GH-…
serhiy-storchakaJul 3, 2024
705a123
gh-116181: Remove Py_BUILD_CORE_BUILTIN and Py_BUILD_CORE_MODULE in r…
aiskJul 3, 2024
ff5751a
gh-111872: Document the max_children attribute for `socketserver.Fork…
aiskJul 3, 2024
f65d17b
updated tp_flags initialization to use inplace or (#120625)
byundojinJul 3, 2024
f49c83a
build(deps): bump hypothesis from 6.100.2 to 6.104.2 in /Tools (#121218)
dependabot[bot]Jul 3, 2024
4232976
docs: Fix "Py_TPFLAGS_MANAGED_WEAKREF is set in tp_flags" (#112237)
da-woodsJul 3, 2024
9d3c9b8
Docs: Add `os.splice` flags argument (#109847)
aminalaeeJul 3, 2024
c9bdfbe
gh-106597: Add more offsets to _Py_DebugOffsets (#121311)
P403n1x87Jul 3, 2024
51c4a32
gh-61103: Support float and long double complex types in ctypes modul…
skirpichevJul 3, 2024
9315688
gh-121272: set ste_coroutine during symtable construction (#121297)
iritkatrielJul 3, 2024
722229e
gh-121263: Macro-ify most stackref functions for MSVC (GH-121270)
Fidget-SpinnerJul 3, 2024
afee76b
gh-121245: a regression test for site.register_readline() (#121259)
skirpichevJul 3, 2024
26d24ee
gh-121035: Update PNG image for logging flow diagram. (GH-121323)
vsajipJul 3, 2024
84512c0
GH-119726: Emit AArch64 trampolines out-of-line (GH-121280)
diegorussoJul 3, 2024
ca2e876
gh-121201: Disable perf_trampoline on riscv64 for now (#121328)
stefanorJul 3, 2024
7c66906
gh-121300: Add `replace` to `copy.__all__` (#121302)
max-muotoJul 3, 2024
f8373db
gh-112136: Restore removed _PyArg_Parser (#121262)
vstinnerJul 3, 2024
e245ed7
gh-118714: Make the pdb post-mortem restart/quit behavior more reason…
gaogaotiantianJul 3, 2024
94f50f8
gh-117983: Defer import of threading for lazy module loading (#120233)
effigiesJul 3, 2024
9728ead
gh-121141: add support for `copy.replace` to AST nodes (#121162)
picnixzJul 4, 2024
2f5f19e
gh-120754: Reduce system calls in full-file FileIO.readall() case (#1…
cmaloneyJul 4, 2024
19d1e43
gh-121352: use _Py_SourceLocation in symtable (#121353)
iritkatrielJul 4, 2024
06a1c3f
gh-120754: Update estimated_size in C truncate (#121357)
cmaloneyJul 4, 2024
715ec63
gh-121355: Fix incorrect word in simple_stmts.rst (#121356)
WondaengJul 4, 2024
67a05de
gh-121272: move async for/with validation from compiler to symtable (…
iritkatrielJul 4, 2024
db17291
gh-118507: Amend news entry to mention ntpath.isfile bugfix (GH-120817)
nineteendoJul 4, 2024
17d5b9d
gh-59110: zipimport: support namespace packages when no directory ent…
serhiy-storchakaJul 4, 2024
f5c8d67
gh-106597: Remove unnecessary CFrame offsets (#121369)
P403n1x87Jul 4, 2024
5f660e8
gh-121084: Fix test_typing random leaks (#121360)
vstinnerJul 4, 2024
cb688ba
gh-90437: Fix __main__.py documentation wording (GH-116309)
tavallaieJul 4, 2024
db39bc4
gh-121390: tracemalloc: Fix tracebacks memory leak (#121391)
jbrobstJul 5, 2024
cecd601
gh-59110: Fix a debug output for implicit directories (GH-121375)
serhiy-storchakaJul 5, 2024
d4faa7b
gh-121149: improve accuracy of builtin sum() for complex inputs (gh-1…
skirpichevJul 5, 2024
0e77540
Fixed regenerating files in a checkout path with spaces (GH-121384)
AraHaanJul 5, 2024
8ecb896
gh-121288: Make error message for index() methods consistent (GH-121395)
serhiy-storchakaJul 5, 2024
892e3a1
Update example of str.split, bytes.split (#121287)
ppwwyyxxJul 5, 2024
6239d41
gh-121359: Run test_pyrepl in isolated mode (#121414)
vstinnerJul 5, 2024
88fc065
GH-73991: Support preserving metadata in `pathlib.Path.copy()` (#120806)
barneygaleJul 6, 2024
ada964f
[docs] fix a Sphinx directive in `c-api/object.rst` (#121430)
picnixzJul 6, 2024
53e1202
Regen ``Doc/requirements-oldest-sphinx.txt`` (#121437)
Eclips4Jul 6, 2024
1143894
gh-119909: Fix ``NameError`` in ``asyncio`` REPL (#121341)
Eclips4Jul 6, 2024
68e279b
gh-121351: Skip test_not_wiping_history_file() if no readline (#121422)
skirpichevJul 6, 2024
3bddd07
Add Fidget-Spinner to stackrefs CODEOWNERS (GH-121455)
Fidget-SpinnerJul 7, 2024
b765e4a
GH-73991: Fix "Operation not supported" on Fedora buildbot. (#121444)
barneygaleJul 7, 2024
c866948
Fix sphinx reference target (#121470)
hauntsaninjaJul 8, 2024
5aa1e60
gh-121467: Fix makefile to include mimalloc headers (#121469)
cdce8pJul 8, 2024
bf74db7
gh-121461: Fix os.path.normpath documentation indentation (#121466)
CBerJunJul 8, 2024
59be79a
gh-108297: Update crashers README for test_crashers removal (#121475)
ncoghlanJul 8, 2024
d69529d
gh-121338: Remove #pragma optimize (#121340)
mdboomJul 8, 2024
8ad6067
GH-121012: Set index to -1 when list iterators become exhausted in ti…
markshannonJul 8, 2024
5289550
gh-121374: Correct docstrings in `_interpchannels` (gh-121418)
max-muotoJul 8, 2024
db00fee
GH-119169: Simplify `os.walk()` exception handling (#121435)
barneygaleJul 8, 2024
31873be
gh-121487: Fix deprecation warning for ATOMIC_VAR_INIT in mimalloc (g…
cdce8pJul 8, 2024
1d3cf79
gh-121368: Fix seq lock memory ordering in _PyType_Lookup (#121388)
colesburyJul 8, 2024
2be37ec
gh-121404: remove direct accesses to u_private from codegen functions…
iritkatrielJul 8, 2024
006b53a
NEWS: Fix Sphinx warnings and increase threshold for new news nits (#…
hugovkJul 8, 2024
218edaf
gh-121018: Fix typo in NEWS entry (#121510)
colesburyJul 8, 2024
15d48ae
gh-121110: Fix Extension Module Tests Under Py_TRACE_REFS Builds (gh-…
ericsnowcurrentlyJul 8, 2024
facf986
gh-121333: Clarify what is the default executor for asyncio.run_in_ex…
aiskJul 9, 2024
bf8686e
GH-118926: Better distinguish between pointer and arrays in interpret…
markshannonJul 9, 2024
9ba2a46
Docs: fix typo and duplicate word in configure.rst (#121410)
rffontenelleJul 9, 2024
649d5b6
gh-121533: Improve `PyCell_[Get,Set]` docs: mention the exceptions (#…
sobolevnJul 9, 2024
9c08f40
gh-117657: Fix TSAN races in setobject.c (#121511)
colesburyJul 9, 2024
0439743
gh-117657: Skip test when running under TSan (GH-121549)
colesburyJul 9, 2024
8020946
GH-120372: Switch to wasmtime 22 (GH-121523)
brettcannonJul 9, 2024
f621618
GH-121521: Detect when wasmtime is not installed in `Tools/wasm/wasi.…
brettcannonJul 9, 2024
9585a1a
GH-121439: Allow PyTupleObjects with an ob_size of 20 in the free_lis…
satori1995Jul 10, 2024
22a0bdb
Improve zipimport tests (GH-121535)
serhiy-storchakaJul 10, 2024
e282236
gh-121571: Do not use `EnvironmentError` in tests, use `OSError` inst…
sobolevnJul 10, 2024
cced22c
gh-121547: deduplicate the code of const_cache update functions (#121…
iritkatrielJul 10, 2024
84a5597
gh-121567: Improve `slice` C-API docs by mentioning exceptions (#121568)
sobolevnJul 10, 2024
ca0fb34
gh-89364: Export PySignal_SetWakeupFd() function (#121537)
vstinnerJul 10, 2024
af9f6de
gh-107851: Fix spurious failures in fcntl eintr tests (#121556)
colesburyJul 10, 2024
0177a34
gh-121404: remove some accesses to compiler internals from codegen fu…
iritkatrielJul 10, 2024
a802277
gh-121460: Skip freeing unallocated arenas (gh-121491)
stefanorJul 10, 2024
3bfc9c8
gh-120198: Stop the world when setting __class__ on free-threaded bui…
Fidget-SpinnerJul 10, 2024
3ec719f
gh-117657: Fix TSan race in _PyDict_CheckConsistency (#121551)
colesburyJul 10, 2024
7641743
gh-117657: Remove TSAN suppressions for _abc.c (#121508)
colesburyJul 10, 2024
35a67e3
gh-121596: Fix Sharing Interpreter Channels (gh-121597)
ericsnowcurrentlyJul 10, 2024
ef10110
gh-119786: fix broken links in docs and comment (#121601)
iritkatrielJul 10, 2024
6557af6
gh-121554: remove unnecessary internal functions in compile.c (#121555)
iritkatrielJul 10, 2024
690b935
gh-121450: Make inline breakpoints use the most recent pdb instance (…
gaogaotiantianJul 11, 2024
e6264b4
gh-121615: Improve `module.rst` C-API docs with better error descript…
sobolevnJul 11, 2024
44937d1
gh-121592: Make select.poll() and related objects thread-safe (#121594)
colesburyJul 11, 2024
58e8cf2
gh-121332: Make AST node constructor check _attributes instead of har…
JelleZijlstraJul 11, 2024
5250a03
gh-117482: Fix Builtin Types Slot Wrappers (gh-121602)
ericsnowcurrentlyJul 11, 2024
e8c91d9
gh-121103: Put free-threaded libraries in `lib/python3.14t` (#121293)
colesburyJul 11, 2024
65feded
Update retroactive comments from GH-117741 (segfault in `FutureIter_d…
savannahostrowskiJul 12, 2024
dc03ce7
gh-95144: Improve error message of `... in None` (GH-119888)
zwareJul 12, 2024
4e36dd7
gh-121497: Make Pyrepl respect correctly the history with input hook …
pablogsalJul 13, 2024
0759cec
gh-99242 Ignore error when running regression tests under certain con…
basbloemsaatJul 13, 2024
1801545
gh-121153: Fix some errors with use of _PyLong_CompactValue() (GH-121…
serhiy-storchakaJul 13, 2024
e745996
gh-121609: Fix pasting of characters containing unicode character joi…
mgmacias95Jul 13, 2024
4b9e10d
gh-121499: Fix multi-line history rendering in the REPL (#121531)
pablogsalJul 13, 2024
fc21781
gh-96765: Update ConfigParser.read() docs with multi-file read exampl…
timonviolaJul 13, 2024
0a26aa5
gh-121671: Increase test coverage of `ast.get_docstring` (GH-121674)
tomasr8Jul 13, 2024
abc3aee
gh-121605: Increase timeout in test_pyrepl.run_repl (#121606)
colesburyJul 13, 2024
422855a
gh-120823: Fix doc for ftplib.FTP.retrbinary() (GH-121697)
mirelagrigorasJul 13, 2024
f4d6e45
gh-120452: improve documentation about private name mangling (#120451)
picnixzJul 13, 2024
178e44d
gh-121657: Display correct error message for yield from outside of a …
gege-hohoJul 13, 2024
a183474
gh-121711: Set `-m asyncio` return_code to 1 for ENOTTY (#121714)
zvynJul 13, 2024
a640a60
gh-121652: Handle `allocate_weakref` returning NULL (#121653)
colesburyJul 13, 2024
c0af6d4
gh-121651: Fix pdb header test (#121724)
gaogaotiantianJul 13, 2024
b580589
gh-73159 Added clarifications in multiprocessing docs on that objects…
digitalfotografenJul 13, 2024
a2bec77
gh-120642: Move _PyCode_CODE() to the internal C API (#121644)
vstinnerJul 13, 2024
901ea41
gh-121708: Improve test coverage for `unittest.util` (GH-121713)
tomasr8Jul 14, 2024
f6f4022
gh-64308: Remove TestProgram from the unittest docs (GH-121675)
stinovlasJul 14, 2024
04130b2
gh-121562: optimized hex_from_char (#121563)
LimaBDJul 14, 2024
3086b86
gh-121700 Emscripten trampolines not quite right since #106219 (GH-12…
hoodmaneJul 14, 2024
cae1526
gh-121698 Emscripten: Use updated WebAssembly type reflection proposa…
hoodmaneJul 14, 2024
26dfb27
gh-121749: Fix discrepancy in docs for `PyModule_AddObjectRef` (GH-12…
GovernmentPlatesJul 14, 2024
6505bda
Fix cache restoration for Hypothesis CI job (#121756)
webknjazJul 14, 2024
bb802db
gh-121660: Fix `ga_getitem` by explicitly checking for `NULL` result …
sobolevnJul 14, 2024
5d6861a
gh-121621: Use PyMutex for writes to asyncio state (#121622)
Fidget-SpinnerJul 14, 2024
d005f2c
gh-121731: Fix mimalloc compile error on GNU/Hurd (#121732)
sthibaulJul 14, 2024
7982363
Generalize reusable Windows CI jobs (#121766)
webknjazJul 14, 2024
50eec50
gh-57141: Make shallow argument to filecmp.dircmp keyword-only (#121767)
JelleZijlstraJul 14, 2024
48042c5
fix outdated comments in asyncio (#121783)
kumaraditya303Jul 15, 2024
8303d32
gh-117765: Improve documentation for `mocker.patch.dict` (#121755)
GovernmentPlatesJul 15, 2024
94bee45
gh-84978: Add float.from_number() and complex.from_number() (GH-26827)
serhiy-storchakaJul 15, 2024
74fbdcd
gh-121785: Remove unused code from codecs.py (GH-121787)
srittauJul 15, 2024
6522f0e
gh-121746: Bind Alt+Enter to "accept" in the REPL (GH-121754)
rodrigogiraoserraoJul 15, 2024
985dd8e
gh-118297: Make Sure All Pending Calls Run in _Py_FinishPendingCalls(…
ericsnowcurrentlyJul 15, 2024
6b98b27
gh-76785: Expand How Interpreter Queues Handle Interpreter Finalizati…
ericsnowcurrentlyJul 15, 2024
e904300
gh-121546: Disable contextvar caching on free-threading build (GH-121…
Fidget-SpinnerJul 15, 2024
fd085a4
gh-121359: make clean environment (no PYTHON* vars) for test_pyrepl.T…
skirpichevJul 15, 2024
8b209fd
gh-76785: Expand How Interpreter Channels Handle Interpreter Finaliza…
ericsnowcurrentlyJul 15, 2024
05d4137
gh-121245: Refactor site.register_readline() (GH-121659)
skirpichevJul 15, 2024
82a4dac
gh-117657: Skip tests that fork with threads under TSan (#121599)
colesburyJul 15, 2024
d23be39
gh-121794: Don't set `ob_tid` to zero in fast-path dealloc (#121799)
colesburyJul 15, 2024
e5c7216
gh-121790: Fix interactive console initialization (#121793)
zvynJul 15, 2024
4134261
gh-121605: Fix test hang when pyrepl is not available (GH-121820)
colesburyJul 15, 2024
2b1b689
gh-121814: Only check f_trace_opcodes if Python frame exists (#121818)
gaogaotiantianJul 15, 2024
7d111da
gh-121610: pyrepl - handle extending blocks when multi-statement bloc…
saucoideJul 15, 2024
498a94c
gh-121295: Fix blocked console after interrupting a long paste (GH-12…
mgmacias95Jul 15, 2024
2bac2b8
gh-121403: Add notes for PyList_GetXXX APIs about the need for init (…
corona10Jul 16, 2024
7e91e0d
gh-120831: Increase the default minimum supported iOS version to 13.0…
freakboy3742Jul 16, 2024
1755df7
gh-85453: Fix 'timezone' vs. 'time zone' spelling issues in datetime.…
uatachJul 16, 2024
8b6d475
gh-121791: Check for `NULL` in `MethodDescriptor2_new` in `_testcapi`…
sobolevnJul 16, 2024
8549559
gh-120317: Lock around global state in the tokenize module (#120318)
lysnikolaouJul 16, 2024
f27593a
gh-120522: Revert "Add a `--with-app-store-compliance` configure opti…
ned-deilyJul 16, 2024
a0b205b
🧪🚑 Fix using `check_source` flags as bool (#121848)
webknjazJul 16, 2024
956270d
gh-113993: For string interning, do not rely on (or assert) _Py_IsImm…
encukouJul 16, 2024
d7a099d
GH-105879: Note exec/eval keyword change in What's New (GH-121831)
ncoghlanJul 16, 2024
b4aedb2
gh-113993: Don't immortalize in PyUnicode_InternInPlace; keep immorta…
encukouJul 16, 2024
263c7e6
gh-121160: Add some tests for readline.set_history_length (GH-121326)
encukouJul 16, 2024
8f25321
gh-59022: Added tests for `pkgutil.extend_path` (#59022) (GH-121673)
beachmachineJul 16, 2024
69c68de
gh-121621: Move asyncio running loop to thread state (GH-121695)
Fidget-SpinnerJul 16, 2024
c46d64e
gh-121130: Fix f-string format specifiers with debug expressions (#12…
pablogsalJul 16, 2024
162b41f
gh-121860: Fix crash when materializing managed dict (#121866)
colesburyJul 16, 2024
e65cb4c
gh-118934: Make PyEval_GetLocals return borrowed reference (#119769)
gaogaotiantianJul 16, 2024
f589f26
GH-120371: Add WASI SDK 22 support (GH-121870)
brettcannonJul 16, 2024
4e35dd6
gh-83648: Use versionadded in 'deprecated' description (GH-121877)
zwareJul 16, 2024
f036a46
GH-121583: Remove dependency from pystats.h to internal header file (…
mdboomJul 16, 2024
941b3b7
gh-121871: Allow overriding docs build date with SOURCE_DATE_EPOCH (#…
bmwiedemannJul 17, 2024
3761117
gh-121453: Update the `Doc/templates/download.html` download files si…
Wulian233Jul 17, 2024
f6c7d8d
gh-121842: Improve coverage of `PyBytes_FromStringAndSize` (#121843)
sobolevnJul 17, 2024
72dccd6
gh-121834: Improve `complex` C-API docs (#121835)
sobolevnJul 17, 2024
dc9cc91
Fix Several Typos in Readme & Tests (#121559)
michaelg100Jul 17, 2024
5d98a4d
Remove duplicate "it" in whatsnew 3.13 (#121580)
rffontenelleJul 17, 2024
bfdbeac
gh-121849: Fix PyUnicodeWriter_WriteSubstring() crash if len=0 (#121896)
vstinnerJul 17, 2024
cffad5c
gh-121863: Immortalize names in code objects to avoid crash (GH-121903)
encukouJul 17, 2024
6682d91
gh-119698: fix a special case in `symtable.Class.get_methods` (#121802)
picnixzJul 17, 2024
58753f3
gh-78889: Stop IDLE Shell freezes from sys.stdout.shell.xyz (#121876)
terryjreedyJul 17, 2024
ac07451
gh-120678: pyrepl: Include globals from modules passed with `-i` (GH-…
AlexWaygoodJul 17, 2024
19cbf8f
gh-120678: Guard against stdin.fileno() being unavailable (#121924)
ambvJul 17, 2024
f4bc84d
gh-121925: Fix uninitialized variables in `main.c` (#121926)
sobolevnJul 17, 2024
b826e45
gh-121528: Fix _PyObject_Init() assertion for stable ABI (#121725)
vstinnerJul 17, 2024
51da3df
gh-121266: Change dict check_lookup() return type to int (#121581)
vstinnerJul 17, 2024
f113c1a
Add note about PYTHON_JIT environment variable to JIT README (GH-121635)
savannahostrowskiJul 17, 2024
81fd625
gh-121621: Move asyncio_running_loop to private struct (#121939)
colesburyJul 17, 2024
c5a6b9a
gh-121266: Remove Py_ALWAYS_INLINE in dictobject.c (#121493)
vstinnerJul 18, 2024
63ddd28
gh-121921: Make bogus_code_obj.py crash the interpreter (#121922)
JelleZijlstraJul 18, 2024
24cf867
gh-121874: Define audit-event open parameters consistently (GH-121883)
bmwiedemannJul 18, 2024
27db060
gh-121489: Export private _PyBytes_Join() again
cdce8pJul 21, 2024
0b98ed4
Code review
cdce8pJul 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
gh-121016: Add test forPYTHON_BASIC_REPL envioronment variable (#1…
  • Loading branch information
@devdanzin
devdanzin authoredJun 26, 2024
commit9e45fd9858a059950f7387b4fda2b00df0e8e537
6 changes: 6 additions & 0 deletionsLib/test/support/__init__.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2626,3 +2626,9 @@ def wrapper(*args, **kwargs):
if value is not None:
os.environ[key] = value
return wrapper


def initialized_with_pyrepl():
"""Detect whether PyREPL was used during Python initialization."""
# If the main module has a __file__ attribute it's a Python module, which means PyREPL.
return hasattr(sys.modules["__main__"], "__file__")
2 changes: 1 addition & 1 deletionLib/test/test_cmd_line.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -969,7 +969,7 @@ def test_python_user_base(self):
self.assertIn(expected.encode(), out)

def test_python_basic_repl(self):
# Currently this only tests that the env var is set
# Currently this only tests that the env var is set. See test_pyrepl.test_python_basic_repl.
code = "import os; print('PYTHON_BASIC_REPL' in os.environ)"
expected = "True"
rc, out, err = assert_python_ok('-c', code, PYTHON_BASIC_REPL='1')
Expand Down
25 changes: 25 additions & 0 deletionsLib/test/test_pyrepl/test_pyrepl.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -862,6 +862,31 @@ def test_dumb_terminal_exits_cleanly(self):
self.assertNotIn("Exception", output)
self.assertNotIn("Traceback", output)

@force_not_colorized
def test_python_basic_repl(self):
env = os.environ.copy()
commands = ("from test.support import initialized_with_pyrepl\n"
"initialized_with_pyrepl()\n"
"exit()\n")

env.pop("PYTHON_BASIC_REPL", None)
output, exit_code = self.run_repl(commands, env=env)
if "can\'t use pyrepl" in output:
self.skipTest("pyrepl not available")
self.assertEqual(exit_code, 0)
self.assertIn("True", output)
self.assertNotIn("False", output)
self.assertNotIn("Exception", output)
self.assertNotIn("Traceback", output)

env["PYTHON_BASIC_REPL"] = "1"
output, exit_code = self.run_repl(commands, env=env)
self.assertEqual(exit_code, 0)
self.assertIn("False", output)
self.assertNotIn("True", output)
self.assertNotIn("Exception", output)
self.assertNotIn("Traceback", output)

def run_repl(self, repl_input: str | list[str], env: dict | None = None) -> tuple[str, int]:
master_fd, slave_fd = pty.openpty()
process = subprocess.Popen(
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp