Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle OSError exception from format_time() in ETA.__call__() #298

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Jun 1, 2024

  1. Handle OSError exception from format_time() in ETA.__call__()

    In Windows CPython, format_time() can throw "OSError: [Errno 22] Invalid argument" when passed a very large date.
    Ignore this in ETA.__call__() with contextlib.suppress().  Fixes wolph#297.
    jdykstra committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    abcba3a View commit details
    Browse the repository at this point in the history