We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89bb079 commit fe22f1eCopy full SHA for fe22f1e
1 file changed
vm/src/stdlib/sys.rs
@@ -814,13 +814,17 @@ mod sys {
814
pub(super) struct PyIntInfo {
815
bits_per_digit: usize,
816
sizeof_digit: usize,
817
+ default_max_str_digits: usize,
818
+ str_digits_check_threshold: usize,
819
}
820
821
#[pyclass(with(PyStructSequence))]
822
impl PyIntInfo {
823
const INFO: Self = PyIntInfo {
824
bits_per_digit: 30, //?
825
sizeof_digit: std::mem::size_of::<u32>(),
826
+ default_max_str_digits: 4300,
827
+ str_digits_check_threshold: 640,
828
};
829
830
0 commit comments