python / python/cpython

fail to detect windows with win32gui sometimes

Open
#94,397 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.10 OS-windows type-bug
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

Bug report
I use win32gui to detect windows in win11. it works well with python 3.10.2 . but when it comes to 3.10.5 , it often fails .

Your environment

  • CPython versions tested on: 3.10.5
  • Operating system and architecture: win11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names win32gui, Windows 11, and CPython 3.10.5 but no source file, test, or reproducible example. Start by reproducing the window-detection failure and comparing behavior with Python 3.10.2; done requires identifying a specific regression and adding a demonstrable fix or regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.