에러 코드 포털
PythonPython오류 코드

OverflowError

OverflowError

산술 결과가 표현 범위를 벗어난 경우입니다. 정수 연산 등 공식 문서의 예외를 확인하세요.

Raised when the result of an arithmetic operation is too large to be represented. This cannot occur for integers (which would rather raise MemoryError than give up). However, for historical reasons, OverflowError is sometimes raised for integers that are outside a required range. Because of the lack of standardization of floating-point exception handling in C, most floating-point operations are not checked.

해결·진단 링크

문서의 제품·버전·발생 환경이 현재 상황과 일치하는지 먼저 확인하세요.