Author haypo
Recipients haypo, neologix, pitrou
Date 2011-06-13.14:50:07
SpamBayes Score 0.00176704
Marked as misclassified No
Message-id <1307976608.63.0.104925996769.issue12326@psf.upfronthosting.co.za>
In-reply-to
Content
sys.platform comes from Py_GetPlatform() which comes from PLATFORM define. On Linux, this define comes from Makefile: MACHDEP variable which comes from configure. Finally, MACHDEP is defined by:

	ac_sys_system=`uname -s`
	if test "$ac_sys_system" = "AIX" \
	-o "$ac_sys_system" = "UnixWare" -o "$ac_sys_system" = "OpenUNIX"; then
		ac_sys_release=`uname -v`
	else
		ac_sys_release=`uname -r`
	fi
	ac_md_system=`echo $ac_sys_system |
			   tr -d '/ ' | tr '[A-Z]' '[a-z]'`
	ac_md_release=`echo $ac_sys_release |
			   tr -d '/ ' | sed 's/^[A-Z]\.//' | sed 's/\..*//'`
	MACHDEP="$ac_md_system$ac_md_release"
History
Date User Action Args
2011-06-13 14:50:08hayposetrecipients: + haypo, pitrou, neologix
2011-06-13 14:50:08hayposetmessageid: <1307976608.63.0.104925996769.issue12326@psf.upfronthosting.co.za>
2011-06-13 14:50:08haypolinkissue12326 messages
2011-06-13 14:50:07haypocreate