Skip to content

Commit 9797733

Browse files
committed
WIP: String streaming (mostly w/in main class)
Real mess...
1 parent ac87a77 commit 9797733

File tree

3 files changed

+234
-124
lines changed

3 files changed

+234
-124
lines changed

src/int.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ pub enum ParseIntError {
1818
use num_bigint::BigInt;
1919

2020
#[cfg(not(any(Py_LIMITED_API, PyPy)))]
21+
#[derive(Clone)]
2122
pub enum AppropriateInt {
2223
Normal(i64),
2324
Big(BigInt),
2425
}
2526

2627
#[cfg(all(any(Py_LIMITED_API, PyPy)))]
28+
#[derive(Clone)]
2729
pub enum AppropriateInt {
2830
Normal(i64),
2931
Big(String), // to be converted into int on the Python side

0 commit comments

Comments
 (0)