Skip to content

GH-131296: fix clang-cl warning on Windows in overlapped.c #131590

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 16, 2025

Conversation

chris-eibl
Copy link
Member

@chris-eibl chris-eibl commented Mar 22, 2025

@@ -1811,13 +1811,6 @@ _overlapped_Overlapped_WSASendTo_impl(OverlappedObject *self, HANDLE handle,
}
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix warning : unused variable 'Overlapped_WSARecvFrom_doc' [-Wunused-const-variable].

Must be a left-over (and the only PyDoc_STRVAR in overlapped.c).

The currently used PyDoc_STRVAR is here:

PyDoc_STRVAR(_overlapped_Overlapped_WSARecvFrom__doc__,
"WSARecvFrom($self, handle, size, flags=0, /)\n"
"--\n"
"\n"
"Start overlapped receive.");

@chris-eibl
Copy link
Member Author

@zooba I think this is a simple (and only Windows related) one?

@chris-eibl chris-eibl requested a review from zooba April 15, 2025 14:53
@zooba zooba merged commit b530e17 into python:main Apr 16, 2025
45 checks passed
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot iOS ARM64 Simulator 3.x (tier-3) has failed when building commit b530e17.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1380/builds/3267) and take a look at the build logs.
  4. Check if the failure is related to this commit (b530e17) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1380/builds/3267

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):
  File "/Users/buildbot/Library/Developer/XCTestDevices/73DE2445-3046-432B-A9B5-7C53DF4980AA/data/Containers/Bundle/Application/CA8D8364-E457-49D1-AEAB-EEE00518153C/iOSTestbed.app/python/lib/python3.14/threading.py", line 1079, in _bootstrap_inner
    self._context.run(self.run)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/Users/buildbot/Library/Developer/XCTestDevices/73DE2445-3046-432B-A9B5-7C53DF4980AA/data/Containers/Bundle/Application/CA8D8364-E457-49D1-AEAB-EEE00518153C/iOSTestbed.app/python/lib/python3.14/threading.py", line 1021, in run
    self._target(*self._args, **self._kwargs)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/buildbot/Library/Developer/XCTestDevices/73DE2445-3046-432B-A9B5-7C53DF4980AA/data/Containers/Bundle/Application/CA8D8364-E457-49D1-AEAB-EEE00518153C/iOSTestbed.app/python/lib/python3.14/test/test_interpreters/test_stress.py", line 30, in task
    interp = interpreters.create()
  File "/Users/buildbot/Library/Developer/XCTestDevices/73DE2445-3046-432B-A9B5-7C53DF4980AA/data/Containers/Bundle/Application/CA8D8364-E457-49D1-AEAB-EEE00518153C/iOSTestbed.app/python/lib/python3.14/test/support/interpreters/__init__.py", line 76, in create
    id = _interpreters.create(reqrefs=True)
interpreters.InterpreterError: interpreter creation failed
k

@chris-eibl chris-eibl deleted the fix_clangcl_overlapped branch April 17, 2025 05:10
@freakboy3742
Copy link
Contributor

The iOS failure is caused by #127108.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants