Closed GertBurger closed 3 years ago
Basically anything that uses isinstance
, issubclass
or even any dunder method/attribute like __class__
is unsafe. Yes, tzinfo needs to be handled specifically to not use any __repr__
.
@GertBurger still want to work on this?
Hey,
Not particularly. I ended up using my branch in the PR for a few things and I didn't run into any issues but I am sure there are edge cases that it can't handle properly.
I'm not sure what should be done. repr_func='repr'
seems like a easy
workaround now so maybe the only chance required is some documentation ;P
You can close/delete my PR/ticket if they are not required anymore.
Cheers
On Tue, 18 Aug 2020 at 09:31, Ionel Cristian Mărieș < notifications@github.com> wrote:
@GertBurger still want to work on this?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Fixed now, you might want to switch to the upcoming 3.2.1, cause 3.2 has some perf improvements.
RE Issue #83
Thought I'd create this as a PoC initially before taking it any further, comments are welcome.
I had a look through the source code of these modules: