Better behavior of DstTzInfo.__repr__ method
Asked by
Hyun-goo Kang
I suggest DstTzInfo instance should display its UTC offset based on current datetime. We could reduce some confusion on inspecting timezone instances by changing behavior of DstTzInfo.__repr__ method. This would make the code more explorable. Many newcomers run REPL and check how the example code work. I guess we should consider them as the majority of use case.
I am expecting your various opinions.
Thank you.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- pytz Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Hyun-goo Kang
- Solved:
- Last query:
- Last reply:
To post a message you must log in.