Added a linkmodel attribute, showing how Python was built. This is so packages can check that extension modules are built for the right type of python. Current values can be static, framework, shared and cfm (for completeness, for MacPyton-OS9).
Added a linkmodel attribute, showing how Python was built. This is so
packages can check that extension modules are built for the right type
of python. Current values can be static, framework, shared and cfm (for
completeness, for MacPyton-OS9).

Closes bug #691889. The reporter suggests backporting this to 2.2.3
and I think I agree.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator