Python 경고 분류입니다. 예외 오류와 구분하며, 경고 필터에 따라 표시 또는 예외 전환 여부가 달라집니다.
이 항목은 오류가 아닌 경고·상태를 포함합니다. 원문에서 반환 조건을 확인하세요.
공식 설명 · 원문
Base class for warnings about features which are obsolete and expected to be deprecated in the future, but are not deprecated at the moment.
This class is rarely used as emitting a warning about a possible upcoming deprecation is unusual, and DeprecationWarning is preferred for already active deprecations.
Ignored by the default warning filters. Enabling the Python Development Mode shows this warning.
The deprecation policy is described in PEP 387.