コンテンツにスキップ

CPython 3.14.2 に対する対応状況

tools/stdlib_coverage.py が yokan_gate.py のマニフェストと翻訳器のテーブルから生成しています。 手で編集しないでください。

組み込み関数 — 調べた 45 個のうち 18 個

組み込み関数はどこにも宣言されていないので、実際のアプリと同じ書き方でハンドラに置き、翻訳器に通して調べました。 備考に出ているのは、断られたときのメッセージそのままです(英語)。 値としては断られても for の中でなら通るものがあり、それも備考に出ます。

名前 Yokan 備考
abs ✓
all — [1]
any — [1]
bin — [1]
bool ✓
callable — [1]
chr — [1]
dict — not in the dialect yet
divmod ✓
enumerate ✓
filter — [1]
float ✓
format — [1]
getattr — [1]
hasattr — [1]
hash — [1]
hex — [1]
id — [1]
input — [1]
int ✓
isinstance ✓
iter — [1]
len ✓
list — not in the dialect yet
map — [1]
max ✓
min ✓
next — [1]
oct — [1]
open — [1]
ord — [1]
pow — [1]
print ✓
range ✓
repr — of a str is not in the dialect yet — Python quotes it and escapes what it cannot print by Unicode's own table; write the quotes with the text (f"'{s}'") where the text is known to be plain
reversed ✓
round ✓
set — a set iterates in an order the compiled run would not reproduce, so it is refused rather than quietly reordered — a literal set answers in and not in (x in {A, B}, frozenset({A, B}) as a constant), a list covers the rest, and a dict covers a set of keys
setattr — not a handler statement the dialect knows yet — handler statements are state writes (x.set(v), xs[i] = v, d[k] = v), store and model calls, if/while/for/match, try, and locals
sorted ✓
str ✓
sum ✓
tuple — not in the dialect yet
type — [1]
zip ✓

[1] not in the dialect here — expressions are state reads, fields, locals, literals, arithmetic, comparisons, helper calls and method calls

fs — Yokan 独自、17 個

Python に同じ名前のモジュールはないので、比べる相手がありません。 以下はすべて Yokan にあります。

  • app_dir, append_text, exists, is_dir, list_dir, make_dir, modified_ms, open_dialog, read_bytes, read_text, read_text_from, read_text_or, remove, save_dialog, size, write_bytes, write_text

sqlite — Yokan 独自、7 個

Python に同じ名前のモジュールはないので、比べる相手がありません。 以下はすべて Yokan にあります。

  • exec, query_int, query_int_or, query_rows, query_rows_or, query_text, query_text_or

clipboard — Yokan 独自、2 個

Python に同じ名前のモジュールはないので、比べる相手がありません。 以下はすべて Yokan にあります。

  • get_text, set_text

keys — Yokan 独自、3 個

Python に同じ名前のモジュールはないので、比べる相手がありません。 以下はすべて Yokan にあります。

  • down, pressed, released

audio — Yokan 独自、2 個

Python に同じ名前のモジュールはないので、比べる相手がありません。 以下はすべて Yokan にあります。

  • play, stop

notify — Yokan 独自、1 個

Python に同じ名前のモジュールはないので、比べる相手がありません。 以下はすべて Yokan にあります。

  • send

http — Python の 2 個のうち 0 個

名前 Yokan 備考
HTTPMethod —
HTTPStatus —
get_bytes ✓ Python のモジュールにはない
get_text ✓ Python のモジュールにはない
get_text_or ✓ Python のモジュールにはない
get_text_with ✓ Python のモジュールにはない
post_text ✓ Python のモジュールにはない
post_text_or ✓ Python のモジュールにはない
status ✓ Python のモジュールにはない

math — Python の 62 個のうち 56 個

名前 Yokan 備考
acos ✓
acosh ✓
asin ✓
asinh ✓
atan ✓
atan2 ✓
atanh ✓
cbrt ✓
ceil ✓
comb ✓
copysign ✓
cos ✓
cosh ✓
degrees ✓
dist ✓
e ✓
erf —
erfc —
exp ✓
exp2 ✓
expm1 ✓
fabs ✓
factorial ✓
floor ✓
fma ✓
fmod ✓
frexp ✓
fsum ✓
gamma —
gcd ✓
hypot ✓
inf ✓
isclose ✓
isfinite ✓
isinf ✓
isnan ✓
isqrt ✓
lcm ✓
ldexp ✓
lgamma —
log ✓
log10 ✓
log1p ✓
log2 ✓
modf ✓
nan ✓
nextafter ✓
perm ✓
pi ✓
pow ✓
prod —
radians ✓
remainder ✓
sin ✓
sinh ✓
sqrt ✓
sumprod —
tan ✓
tanh ✓
tau ✓
trunc ✓
ulp ✓

jsondoc — Yokan 独自、7 個

Python に同じ名前のモジュールはないので、比べる相手がありません。 以下はすべて Yokan にあります。

  • get_bool, get_float, get_int, get_text, get_texts, has, length

json — Python の 5 個のうち 1 個

名前 Yokan 備考
detect_encoding —
dump —
dumps ✓
load —
loads —

strings — Yokan 独自、2 個

Python に同じ名前のモジュールはないので、比べる相手がありません。 以下はすべて Yokan にあります。

  • to_float, to_int

random — Python の 33 個のうち 9 個

名前 Yokan 備考
BPF —
LOG4 —
NV_MAGICCONST —
RECIP_BPF —
Random —
SG_MAGICCONST —
SystemRandom —
TWOPI —
betavariate —
binomialvariate —
choice ✓
choices —
expovariate —
gammavariate —
gauss ✓
getrandbits ✓
getstate —
lognormvariate —
main —
normalvariate —
paretovariate —
randbytes —
randint ✓
random ✓
randrange ✓
sample ✓
seed ✓
setstate —
shuffle —
triangular —
uniform ✓
vonmisesvariate —
weibullvariate —

statistics — Python の 25 個のうち 8 個

名前 Yokan 備考
LinearRegression —
NormalDist —
StatisticsError —
correlation —
covariance —
fmean ✓
geometric_mean —
harmonic_mean —
kde —
kde_random —
linear_regression —
mean ✓
median ✓
median_grouped —
median_high —
median_low —
mode ✓
multimode —
pi —
pstdev ✓
pvariance ✓
quantiles —
stdev ✓
tau —
variance ✓

time — Python の 38 個のうち 7 個

名前 Yokan 備考
CLOCK_MONOTONIC —
CLOCK_MONOTONIC_RAW —
CLOCK_MONOTONIC_RAW_APPROX —
CLOCK_PROCESS_CPUTIME_ID —
CLOCK_REALTIME —
CLOCK_THREAD_CPUTIME_ID —
CLOCK_UPTIME_RAW —
CLOCK_UPTIME_RAW_APPROX —
altzone —
asctime —
clock_getres —
clock_gettime —
clock_gettime_ns —
clock_settime —
clock_settime_ns —
ctime —
daylight —
get_clock_info —
gmtime —
localtime —
mktime —
monotonic ✓
monotonic_ns ✓
perf_counter ✓
perf_counter_ns ✓
process_time —
process_time_ns —
sleep ✓
strftime —
strptime —
struct_time —
thread_time —
thread_time_ns —
time ✓
time_ns ✓
timezone —
tzname —
tzset —

clock — Yokan 独自、3 個

Python に同じ名前のモジュールはないので、比べる相手がありません。 以下はすべて Yokan にあります。

  • format_local_ms, format_ms, local_offset_minutes

string — Python の 12 個のうち 9 個

名前 Yokan 備考
Formatter —
Template —
ascii_letters ✓
ascii_lowercase ✓
ascii_uppercase ✓
capwords —
digits ✓
hexdigits ✓
octdigits ✓
printable ✓
punctuation ✓
whitespace ✓

textwrap — Python の 6 個のうち 2 個

名前 Yokan 備考
TextWrapper —
dedent ✓
fill —
indent ✓
shorten —
wrap —

bisect — Python の 6 個のうち 3 個

名前 Yokan 備考
bisect ✓
bisect_left ✓
bisect_right ✓
insort —
insort_left —
insort_right —

heapq — Python の 13 個のうち 2 個

名前 Yokan 備考
heapify —
heapify_max —
heappop —
heappop_max —
heappush —
heappush_max —
heappushpop —
heappushpop_max —
heapreplace —
heapreplace_max —
merge —
nlargest ✓
nsmallest ✓

re — Python の 33 個のうち 7 個

名前 Yokan 備考
A —
ASCII —
DEBUG —
DOTALL —
I —
IGNORECASE —
L —
LOCALE —
M —
MULTILINE —
Match —
NOFLAG —
Pattern —
PatternError —
RegexFlag —
S —
Scanner —
U —
UNICODE —
VERBOSE —
X —
compile —
error —
escape ✓
findall ✓
finditer —
fullmatch ✓
match ✓
purge —
search ✓
split ✓
sub ✓
subn —

base64 — Python の 26 個のうち 2 個

名前 Yokan 備考
MAXBINSIZE —
MAXLINESIZE —
a85decode —
a85encode —
b16decode —
b16encode —
b32decode —
b32encode —
b32hexdecode —
b32hexencode —
b64decode ✓
b64encode ✓
b85decode —
b85encode —
bytes_types —
decode —
decodebytes —
encode —
encodebytes —
main —
standard_b64decode —
standard_b64encode —
urlsafe_b64decode —
urlsafe_b64encode —
z85decode —
z85encode —

datetime — Python の 10 個のうち 3 個

名前 Yokan 備考
MAXYEAR —
MINYEAR —
UTC —
date ✓
datetime ✓
datetime_CAPI —
time —
timedelta ✓
timezone —
tzinfo —

collections — Python の 10 個のうち 1 個

名前 Yokan 備考
ChainMap —
Counter ✓
OrderedDict —
UserDict —
UserList —
UserString —
defaultdict —
deque —
heapq —
namedtuple —

itertools — Python の 20 個のうち 6 個

名前 Yokan 備考
accumulate ✓
batched —
chain ✓
combinations ✓
combinations_with_replacement —
compress —
count —
cycle —
dropwhile —
filterfalse —
groupby —
islice —
pairwise ✓
permutations ✓
product ✓
repeat —
starmap —
takewhile —
tee —
zip_longest —

hashlib — Python の 18 個のうち 3 個

名前 Yokan 備考
algorithms_available —
algorithms_guaranteed —
file_digest —
md5 ✓
new —
pbkdf2_hmac —
scrypt —
sha1 ✓
sha224 —
sha256 ✓
sha384 —
sha3_224 —
sha3_256 —
sha3_384 —
sha3_512 —
sha512 —
shake_128 —
shake_256 —

zoneinfo — Python の 2 個のうち 1 個

名前 Yokan 備考
TZPATH —
ZoneInfo ✓