diff --git a/DESCRIPTION.md b/DESCRIPTION.md index 6cce5770d..e9ac9b18e 100644 --- a/DESCRIPTION.md +++ b/DESCRIPTION.md @@ -9,6 +9,7 @@ Source code is also available at: https://github.com/snowflakedb/snowflake-conne # Release Notes - v3.13.3(TBD) - Bumped pyOpenSSL dependency upper boundary from <25.0.0 to <26.0.0. + - Removed the workaround for a Python 2.7 bug. - v3.13.2(January 29, 2025) - Changed not to use scoped temporary objects. diff --git a/src/snowflake/connector/connection.py b/src/snowflake/connector/connection.py index 8d6cb05a7..3b1d3bd25 100644 --- a/src/snowflake/connector/connection.py +++ b/src/snowflake/connector/connection.py @@ -23,7 +23,6 @@ from io import StringIO from logging import getLogger from threading import Lock -from time import strptime from types import TracebackType from typing import Any, Callable, Generator, Iterable, Iterator, NamedTuple, Sequence from uuid import UUID @@ -312,9 +311,6 @@ def _get_private_bytes_from_file( for m in [method for method in dir(errors) if callable(getattr(errors, method))]: setattr(sys.modules[__name__], m, getattr(errors, m)) -# Workaround for https://bugs.python.org/issue7980 -strptime("20150102030405", "%Y%m%d%H%M%S") - logger = getLogger(__name__)