]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
dont call platform.architecture()
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 16 Dec 2022 19:05:48 +0000 (14:05 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 17 Dec 2022 02:04:35 +0000 (21:04 -0500)
commitf5905a012ed539286f33b10559b832da7babe1c5
tree5e6e2d6726d636b3cb25002688ec47b040e06ccb
parent84ba8874e146bcdbf46ce70ece32c4c224c3fd44
dont call platform.architecture()

Fixed regression where the base compat module was calling upon
``platform.architecture()`` in order to detect some system properties,
which results in an over-broad system call against the system-level
``file`` call that is unavailable under some circumstances, including
within some secure environment configurations.

Fixes: #8995
Change-Id: Ib6171e75aff5a60a79dab81a0be21bee2456318b
(cherry picked from commit e852362bfdf9a18dfd91137f4a2d7c2dfee30082)
doc/build/changelog/unreleased_14/8995.rst [new file with mode: 0644]
lib/sqlalchemy/util/compat.py