Skip to content

Commit

Permalink
Detect GIL on 3.9.3, 3.9.4, 3.8.9 (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jongy authored Apr 25, 2021
1 parent f24e974 commit 6ed1a41
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/python_bindings/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ pub mod pyruntime {
_ => Some(788)
}
},
Version{major: 3, minor: 8, patch: 1..=8, ..} => Some(788),
Version{major: 3, minor: 9, patch: 0..=2, ..} => Some(352),
Version{major: 3, minor: 8, patch: 1..=9, ..} => Some(788),
Version{major: 3, minor: 9, patch: 0..=4, ..} => Some(352),
_ => None
}
}
Expand Down Expand Up @@ -128,8 +128,8 @@ pub mod pyruntime {
_ => Some(1368)
}
},
Version{major: 3, minor: 8, patch: 1..=8, ..} => Some(1368),
Version{major: 3, minor: 9, patch: 0..=2, ..} => Some(568),
Version{major: 3, minor: 8, patch: 1..=9, ..} => Some(1368),
Version{major: 3, minor: 9, patch: 0..=4, ..} => Some(568),
_ => None
}
}
Expand Down

0 comments on commit 6ed1a41

Please sign in to comment.