Changed the WindowsSdkVersion, FrameworkVersion32 and FrameworkVersion64 properties of setuptools.msvc.PlatformInfo to return an empty tuple instead of None as a fallthrough case.
This also better matches the existing documentation which does not mention returning None.
In setuptools these are always used directly in iterations without ever checking for None or truthyness.
Summary of changes
Changed the
WindowsSdkVersion
,FrameworkVersion32
andFrameworkVersion64
properties ofsetuptools.msvc.PlatformInfo
to return an emptytuple
instead ofNone
as a fallthrough case.This also better matches the existing documentation which does not mention returning
None
.In setuptools these are always used directly in iterations without ever checking for
None
or truthyness.Fixes for https://github.com/pypa/setuptools/pull/4744
Pull Request Checklist
newsfragments/
. (See [documentation][PR docs] for details)[PR docs]: https://setuptools.pypa.io/en/latest/development/developer-guide.html#making-a-pull-request