Stream ws_client has a bug related to the time library #2264
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
What happened (please include outputs or screenshots):
{OverflowError}OverflowError('timestamp too large to convert to C _PyTime_t')
What you expected to happen:
Not Crash
How to reproduce it (as minimally and precisely as possible):
run WSClient.readline_channel with default values
Anything else we need to know?:
the problem is here:
if timeout is None: timeout = float("inf")
I fixed it, just want to know if i should open a PR
Environment:
kubectl version
): v1.27.1python --version
): Python 3.10.12pip list | grep kubernetes
): 30.1.0The text was updated successfully, but these errors were encountered: