GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fixed bpo-29565: Corrected ctypes passing of large structs by value o… by vsajip · Pull Request #220 · python/cpython

Conversation

@vsajip

@vsajip vsajip commented Feb 21, 2017

Copy link
Copy Markdown
Member

…n Windows AMD64. (#168)

Fixed bpo-29565: Corrected ctypes passing of large structs by value.

(cherry picked from commit a86339b)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vsajip
Fixed bpo-29565: Corrected ctypes passing of large structs by value o…
4090ab0
…n Windows AMD64. (#168)

* Fixed bpo-29565: Corrected ctypes passing of large structs by value.

Added code and test to check that when a structure passed by value
is large enough to need to be passed by reference, a copy of the
original structure is passed. The callee updates the passed-in value,
and the test verifies that the caller's copy is unchanged. A similar
change was also added to the test added for bpo-20160 (that test was
passing, but the changes should guard against regressions).

* Reverted unintended whitespace changes.

(cherry picked from commit a86339b)
@the-knights-who-say-ni the-knights-who-say-ni added the CLA signed label Feb 21, 2017
@vsajip vsajip added the cherry-pick for 3.6 label Feb 21, 2017
@codecov

codecov Bot commented Feb 21, 2017

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (3.6@9b49133). Click here to learn what that means.
The diff coverage is 100%.

@@          Coverage Diff           @@
##             3.6     #220   +/-   ##
======================================
  Coverage       ?   82.39%           
======================================
  Files          ?     1430           
  Lines          ?   351272           
  Branches       ?        0           
======================================
  Hits           ?   289436           
  Misses         ?    61836           
  Partials       ?        0
Impacted Files Coverage Δ
Lib/ctypes/test/test_structures.py 97.33% <100%> (ø)
Lib/ctypes/test/test_callbacks.py 94.59% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b49133...4090ab0. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vsajip
Merge remote-tracking branch 'upstream/3.6' into 3.6
3e84dd5
zooba
zooba approved these changes Feb 21, 2017
View reviewed changes
@vsajip
Merge remote-tracking branch 'upstream/3.6' into 3.6
47c319e
@vsajip
vsajip merged commit 3cc5817 into python:3.6 Feb 22, 2017
akruis added a commit to akruis/cpython that referenced this pull request Aug 4, 2019
@akruis
Stackless issue python#220: fix hard switching error handling
8ae5fe5
Add a test function to provoke switching errors, add test cases and
fix the error handling.
akruis added a commit to akruis/cpython that referenced this pull request Oct 25, 2019
@akruis
Stackless issue python#220: fix hard switching error handling
908439c
Add a test function to provoke switching errors, add test cases and
fix the error handling.

(cherry picked from commit 8ae5fe5)
akruis added a commit to akruis/cpython that referenced this pull request May 27, 2021
@akruis
Stackless issue python#220: fix hard switching error handling
2acc2c2
Add a test function to provoke switching errors, add test cases and
fix the error handling.

(cherry picked from commit 8ae5fe5)
ahgamut pushed a commit to ahgamut/cpython that referenced this pull request Aug 25, 2021
@akruis
Stackless issue python#220: fix hard switching error handling
6b429a5
Add a test function to provoke switching errors, add test cases and
fix the error handling.

(cherry picked from commit 8ae5fe5)
jaraco pushed a commit that referenced this pull request Dec 2, 2022
@JulienPalard @ewdurbin
Revert cherry_picker to 1.2.2. (#220)
f7531df
jaraco added a commit to jaraco/cpython that referenced this pull request Feb 17, 2023
@jaraco
Merge pull request python#220 from FFY00/test-contents
e4d9631
tests: add test for contents()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@zooba zooba zooba approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@vsajip @zooba @the-knights-who-say-ni
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.