Implement Record/TupleTypeSpec

This commit is contained in:
Shunsuke Shibayama 2022-10-21 14:42:53 +09:00
parent 9a88266bde
commit b28c6bd118
5 changed files with 83 additions and 4 deletions

View file

@ -6,7 +6,7 @@ use std::process::Command;
use crate::serialize::get_magic_num_from_bytes;
#[cfg(unix)]
pub const BUILTIN_PYTHON_MODS: [&str; 20] = [
pub const BUILTIN_PYTHON_MODS: [&str; 21] = [
"datetime",
"glob",
"http",
@ -15,6 +15,7 @@ pub const BUILTIN_PYTHON_MODS: [&str; 20] = [
"json",
"math",
"os",
"platform",
"posix",
"random",
"re",
@ -29,7 +30,7 @@ pub const BUILTIN_PYTHON_MODS: [&str; 20] = [
"zipfile",
];
#[cfg(not(unix))]
pub const BUILTIN_PYTHON_MODS: [&str; 19] = [
pub const BUILTIN_PYTHON_MODS: [&str; 20] = [
"datetime",
"glob",
"http",
@ -38,6 +39,7 @@ pub const BUILTIN_PYTHON_MODS: [&str; 19] = [
"json",
"math",
"os",
"platform",
"random",
"re",
"shutil",