Merge.
This commit is contained in:
commit
551719be4a
|
@ -20,7 +20,7 @@ everyday programming. Some of these modules are explicitly designed to
|
|||
encourage and enhance the portability of Python programs by abstracting
|
||||
away platform-specifics into platform-neutral APIs.
|
||||
|
||||
The Python installers for the Windows platform usually includes
|
||||
The Python installers for the Windows platform usually include
|
||||
the entire standard library and often also include many additional
|
||||
components. For Unix-like operating systems Python is normally provided
|
||||
as a collection of packages, so it may be necessary to use the packaging
|
||||
|
|
|
@ -556,7 +556,7 @@ Constants
|
|||
prefer trusted certificates when building the trust chain to validate a
|
||||
certificate. This flag is enabled by default.
|
||||
|
||||
.. versionadded:: 3.4.5
|
||||
.. versionadded:: 3.4.4
|
||||
|
||||
.. data:: PROTOCOL_SSLv23
|
||||
|
||||
|
|
|
@ -389,6 +389,12 @@ class TestSysConfig(unittest.TestCase):
|
|||
self.assertIsNotNone(vars['SO'])
|
||||
self.assertEqual(vars['SO'], vars['EXT_SUFFIX'])
|
||||
|
||||
@unittest.skipUnless(sys.platform == 'linux', 'Linux-specific test')
|
||||
def test_bitness_in_ext_suffix(self):
|
||||
suffix = sysconfig.get_config_var('EXT_SUFFIX')
|
||||
bitness = '-32b' if sys.maxsize < 2**32 else '-64b'
|
||||
self.assertTrue(suffix.endswith(bitness + '.so'), suffix)
|
||||
|
||||
|
||||
class MakefileTests(unittest.TestCase):
|
||||
|
||||
|
|
|
@ -22,6 +22,10 @@ Release date: 2015-03-09
|
|||
Core and Builtins
|
||||
-----------------
|
||||
|
||||
- Issue #22980: Under Linux, C extensions now include bitness in the file
|
||||
name, to make it easy to test 32-bit and 64-bit builds in the same
|
||||
working tree.
|
||||
|
||||
- Issue #23571: PyObject_Call() and PyCFunction_Call() now raise a SystemError
|
||||
if a function returns a result and raises an exception. The SystemError is
|
||||
chained to the previous exception.
|
||||
|
|
|
@ -115,7 +115,7 @@
|
|||
<Image X="0" Y="0" Width="162" Height="352" ImageFile="SideBar.png"/>
|
||||
|
||||
<Hypertext Name="FailureLogFileLink" X="185" Y="71" Width="-11" Height="60" FontId="3" TabStop="yes" HideWhenDisabled="yes">#(loc.FailureHyperlinkLogText)</Hypertext>
|
||||
<Hypertext Name="FailureMessageText" X="185" Y="-100" Width="-11" Height="34" FontId="3" TabStop="yes" HideWhenDisabled="yes">Failure Message</Hypertext>
|
||||
<Hypertext Name="FailureMessageText" X="185" Y="-100" Width="-11" Height="60" FontId="3" TabStop="yes" HideWhenDisabled="yes"></Hypertext>
|
||||
<Text Name="FailureRestartText" X="185" Y="-40" Width="-11" Height="34" FontId="3" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.FailureRestartText)</Text>
|
||||
<Button Name="FailureRestartButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes">#(loc.FailureRestartButton)</Button>
|
||||
<Button Name="FailureCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">#(loc.CloseButton)</Button>
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
||||
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
|
||||
<Bundle Name="!(loc.FullProductName)"
|
||||
UpgradeCode="$(var.UpgradeCode)"
|
||||
UpgradeCode="$(var.CoreUpgradeCode)"
|
||||
Version="$(var.Version)"
|
||||
IconSourceFile="bundle.ico"
|
||||
Manufacturer="!(loc.Manufacturer)"
|
||||
UpdateUrl="http://www.python.org/"
|
||||
AboutUrl="http://www.python.org/"
|
||||
DisableModify="button"
|
||||
Compressed="no">
|
||||
<BootstrapperApplication Id="PythonBA" SourceFile="$(var.BootstrapApp)">
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
<Bitness Condition="$(Platform) == 'x64'">64-bit</Bitness>
|
||||
<DefineConstants>
|
||||
$(DefineConstants);
|
||||
Version=$(MajorVersionNumber).$(MinorVersionNumber).$(MicroVersionNumber).$(RevisionNumber);
|
||||
Version=$(MajorVersionNumber).$(MinorVersionNumber).$(Field3Value).0;
|
||||
ShortVersion=$(MajorVersionNumber).$(MinorVersionNumber);
|
||||
LongVersion=$(PythonVersion);
|
||||
MajorVersionNumber=$(MajorVersionNumber);
|
||||
|
@ -142,7 +142,7 @@
|
|||
</ItemGroup>
|
||||
<Target Name="_GenerateGuids" AfterTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<_Uuids>@(_Uuid->'("%(Identity)", "%(Uri)")',',')</_Uuids>
|
||||
<_Uuids>@(_Uuid->'("%(Identity)", "$(MajorVersionNumber).$(MinorVersionNumber)/%(Uri)")',',')</_Uuids>
|
||||
<_GenerateCommand>import uuid; print('\n'.join('{}={}'.format(i, uuid.uuid5(uuid.UUID('c8d9733e-a70c-43ff-ab0c-e26456f11083'), '$(ReleaseUri)' + j)) for i,j in [$(_Uuids.Replace(`"`,`'`))]))</_GenerateCommand>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
|
@ -30,9 +30,10 @@ if not defined PSCP echo Cannot locate pscp.exe & exit /B 1
|
|||
echo Found pscp.exe at %PSCP%
|
||||
|
||||
call "%PCBUILD%env.bat" > nul 2> nul
|
||||
pushd "%D%"
|
||||
msbuild /v:m /nologo uploadrelease.proj /t:Upload /p:Platform=x86
|
||||
msbuild /v:m /nologo uploadrelease.proj /t:Upload /p:Platform=x64 /p:IncludeDoc=false
|
||||
|
||||
popd
|
||||
exit /B 0
|
||||
|
||||
:Help
|
||||
|
|
|
@ -41,14 +41,14 @@
|
|||
<Target Name="_Upload" Condition="!$(DryRun)">
|
||||
<Exec Command=""$(PLINK)" $(User)@$(Host) mkdir %(File.CopyTo) ^&^& chgrp downloads %(File.CopyTo) ^&^& chmod g-w,o+rx %(File.CopyTo)
|
||||
"$(PSCP)" @(File,' ') $(User)@$(Host):%(File.CopyTo)
|
||||
"$(PLINK)" $(User)@$(Host) chgrp downloads %(File.CopyTo)/* ^&^& chmod g-w,o+r %(File.CopyTo)/*
|
||||
"$(PLINK)" $(User)@$(Host) chgrp downloads %(File.CopyTo)/*; chmod g-w,o+r %(File.CopyTo)/*
|
||||
" />
|
||||
</Target>
|
||||
|
||||
<Target Name="_PrintNames" Condition="$(DryRun)">
|
||||
<Exec Command="echo "$(PLINK)" $(User)@$(Host) mkdir %(File.CopyTo) ^&^& chgrp downloads %(File.CopyTo) ^&^& chmod g-w,o+rx %(File.CopyTo)
|
||||
echo "$(PSCP)" @(File,' ') $(User)@$(Host):%(File.CopyTo)
|
||||
echo "$(PLINK)" $(User)@$(Host) chgrp downloads %(File.CopyTo)/* ^&^& chmod g-w,o+r %(File.CopyTo)/*
|
||||
echo "$(PLINK)" $(User)@$(Host) chgrp downloads %(File.CopyTo)/*; chmod g-w,o+r %(File.CopyTo)/*
|
||||
echo.
|
||||
echo." />
|
||||
</Target>
|
||||
|
|
|
@ -14200,7 +14200,15 @@ $as_echo_n "checking ABIFLAGS... " >&6; }
|
|||
$as_echo "$ABIFLAGS" >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking SOABI" >&5
|
||||
$as_echo_n "checking SOABI... " >&6; }
|
||||
SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS}
|
||||
|
||||
case $ac_sys_system in
|
||||
Linux*|GNU*)
|
||||
BITNESS_SUFFIX=-$(($ac_cv_sizeof_void_p * 8))b;;
|
||||
*)
|
||||
BITNESS_SUFFIX=;;
|
||||
esac
|
||||
SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS}${BITNESS_SUFFIX}
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SOABI" >&5
|
||||
$as_echo "$SOABI" >&6; }
|
||||
|
||||
|
|
10
configure.ac
10
configure.ac
|
@ -4175,7 +4175,15 @@ AC_SUBST(SOABI)
|
|||
AC_MSG_CHECKING(ABIFLAGS)
|
||||
AC_MSG_RESULT($ABIFLAGS)
|
||||
AC_MSG_CHECKING(SOABI)
|
||||
SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS}
|
||||
|
||||
case $ac_sys_system in
|
||||
Linux*|GNU*)
|
||||
BITNESS_SUFFIX=-$(($ac_cv_sizeof_void_p * 8))b;;
|
||||
*)
|
||||
BITNESS_SUFFIX=;;
|
||||
esac
|
||||
SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS}${BITNESS_SUFFIX}
|
||||
|
||||
AC_MSG_RESULT($SOABI)
|
||||
|
||||
AC_SUBST(EXT_SUFFIX)
|
||||
|
|
Loading…
Reference in New Issue