You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While most timezone classes share a BaseTzInfo class, _FixedOffset does not. Functionally it doesn't really make a difference, but with stricter type checking it can become troublesome. Some interfaces from third-party projects specify BaseTzInfo within type annotations where _FixedOffset should also work.
Would you be open to a change that just replaces class _FixedOffset(datetime.tzinfo): with class _FixedOffset(BaseTzInfo):?
The text was updated successfully, but these errors were encountered:
While most timezone classes share a
BaseTzInfo
class,_FixedOffset
does not. Functionally it doesn't really make a difference, but with stricter type checking it can become troublesome. Some interfaces from third-party projects specifyBaseTzInfo
within type annotations where_FixedOffset
should also work.Would you be open to a change that just replaces
class _FixedOffset(datetime.tzinfo):
withclass _FixedOffset(BaseTzInfo):
?The text was updated successfully, but these errors were encountered: