Staging
v0.5.1
https://github.com/python/cpython
Revision 01ab9634601fc1a4f9ac5d72ddc022239d2543fe authored by Miss Islington (bot) on 18 July 2020, 21:39:02 UTC, committed by GitHub on 18 July 2020, 21:39:02 UTC

Walk down the MRO backwards to find the type that originally defined the final `tp_setattro`, then make sure we are not jumping over intermediate C-level bases with the Python-level call.

Automerge-Triggered-By: @gvanrossum
(cherry picked from commit c53b310e5926266ce267c44a168165cacd786d6e)

Co-authored-by: scoder <stefan_ml@behnel.de>
1 parent 27b8110
Raw File
Tip revision: 01ab9634601fc1a4f9ac5d72ddc022239d2543fe authored by Miss Islington (bot) on 18 July 2020, 21:39:02 UTC
bpo-41295: Reimplement the Carlo Verre "hackcheck" (GH-21528)
Tip revision: 01ab963
stage-layout-nuget.yml
jobs:
- job: Make_Nuget_Layout
  displayName: Make Nuget layout
  condition: and(succeeded(), eq(variables['DoNuget'], 'true'))

  pool:
    vmImage: windows-2019

  workspace:
    clean: all

  strategy:
    matrix:
      win32:
        Name: win32
        Python: $(Build.BinariesDirectory)\bin\python.exe
        PYTHONHOME: $(Build.SourcesDirectory)
      amd64:
        Name: amd64
        Python: $(Build.BinariesDirectory)\bin\python.exe
        PYTHONHOME: $(Build.SourcesDirectory)
      arm64:
        Name: arm64
        HostArch: amd64
        Python: $(Build.BinariesDirectory)\bin_amd64\python.exe
        PYTHONHOME: $(Build.SourcesDirectory)

  steps:
  - template: ./checkout.yml

  - task: DownloadPipelineArtifact@1
    displayName: 'Download artifact: bin_$(Name)'
    inputs:
      artifactName: bin_$(Name)
      targetPath: $(Build.BinariesDirectory)\bin

  - powershell: |
      copy $(Build.BinariesDirectory)\bin\Activate.ps1 Lib\venv\scripts\common\Activate.ps1 -Force
    displayName: 'Copy signed files into sources'
    condition: and(succeeded(), variables['SigningCertificate'])

  - template: ./layout-command.yml

  - powershell: |
      $(LayoutCmd) --copy "$(Build.ArtifactStagingDirectory)\nuget" --preset-nuget
    displayName: 'Generate nuget layout'

  - task: PublishPipelineArtifact@0
    displayName: 'Publish Artifact: layout_nuget_$(Name)'
    inputs:
      targetPath: '$(Build.ArtifactStagingDirectory)\nuget'
      artifactName: layout_nuget_$(Name)
back to top