Skip to content
Discussion options

You must be logged in to vote

@Icxolu Thank you! I think I have a much better understanding of it now. Since the answers are fragmented throughout, I'll just add the full patch that I have now ended up with for completions sake, and mark it as answer. I really appreciate the help!

diff --git a/rust/src/python/parsing.rs b/rust/src/python/parsing.rs
index 4984c68..cc4c250 100644
--- a/rust/src/python/parsing.rs
+++ b/rust/src/python/parsing.rs
@@ -6,2 +6,3 @@ use pyo3::types::PyDateTime;
 use pyo3::types::PyTime;
+use pyo3::IntoPyObjectExt;
 
@@ -33,3 +34,3 @@ pub fn parse_iso8601(py: Python, input: &str) -> PyResult<PyObject> {
                                 Py::new(py, FixedTimezone::new(offset, datetime.tzname))?
…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@Icxolu
Comment options

Icxolu Aug 23, 2025
Collaborator

@WeepingClown13
Comment options

@Icxolu
Comment options

Icxolu Aug 24, 2025
Collaborator

@WeepingClown13
Comment options

Answer selected by WeepingClown13
Comment options

You must be logged in to vote
2 replies
@WeepingClown13
Comment options

@WeepingClown13
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants