Staging
v0.5.1
https://github.com/python/cpython
Revision 522267e7845becb76e0e1cbaa875ad0da9fd58cc authored by Brett Cannon on 10 August 2012, 22:55:08 UTC, committed by Brett Cannon on 10 August 2012, 22:55:08 UTC
PyImport_ImportModuleLevel() with a 'level' of 0 instead of -1 as the
latter is no longer a valid value.

Also added a versionchanged note for PyImport_ImportModuleLevel() just
in case people don't make the connection between changes to
__import__() and this C function.
1 parent f410ce8
Raw File
Tip revision: 522267e7845becb76e0e1cbaa875ad0da9fd58cc authored by Brett Cannon on 10 August 2012, 22:55:08 UTC
Issue #15610: The PyImport_ImportModuleEx macro now calls
Tip revision: 522267e
pginstrument.props
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup Label="UserMacros">
    <OutDirPGI>$(SolutionDir)$(Platform)-pgi\</OutDirPGI>
  </PropertyGroup>
  <PropertyGroup>
    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
    <OutDir>$(OutDirPGI)\</OutDir>
    <IntDir>$(SolutionDir)$(PlatformName)-temp-pgi\$(ProjectName)\</IntDir>
  </PropertyGroup>
  <ItemDefinitionGroup>
    <ClCompile>
      <Optimization>MaxSpeed</Optimization>
      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
      <IntrinsicFunctions>false</IntrinsicFunctions>
      <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
      <OmitFramePointers>true</OmitFramePointers>
      <EnableFiberSafeOptimizations>false</EnableFiberSafeOptimizations>
      <WholeProgramOptimization>true</WholeProgramOptimization>
      <StringPooling>true</StringPooling>
      <ExceptionHandling>
      </ExceptionHandling>
      <BufferSecurityCheck>false</BufferSecurityCheck>
    </ClCompile>
    <Link>
      <OptimizeReferences>true</OptimizeReferences>
      <EnableCOMDATFolding>false</EnableCOMDATFolding>
      <LinkTimeCodeGeneration>PGInstrument</LinkTimeCodeGeneration>
      <ProfileGuidedDatabase>$(SolutionDir)$(Platform)-pgi\$(TargetName).pgd</ProfileGuidedDatabase>
      <ImportLibrary>$(OutDirPGI)\$(TargetName).lib</ImportLibrary>
    </Link>
  </ItemDefinitionGroup>
  <ItemGroup>
    <BuildMacro Include="OutDirPGI">
      <Value>$(OutDirPGI)</Value>
    </BuildMacro>
  </ItemGroup>
</Project>
back to top