KEMBAR78
gh-125843: fix `test_curses.test_attributes` on x86-64 macOS by picnixz · Pull Request #134252 · python/cpython · GitHub
Skip to content

Conversation

@picnixz
Copy link
Member

@picnixz picnixz commented May 19, 2025

Apparently, on x86-64 MacOS Intel with and without GIL, test_curses.test_attributes failed, but I don't really know why after looking at the code. So, I'll just check by hand to check what kind of error is actually being returned.

@picnixz

This comment was marked as resolved.

@bedevere-bot

This comment was marked as resolved.

@picnixz picnixz changed the title gh-125843: improve traceback when reporting unexpected curses errors gh-125843: fix test_curses.test_attributes on x86-64 macOS May 19, 2025
@picnixz

This comment was marked as resolved.

@bedevere-bot

This comment was marked as resolved.

@picnixz
Copy link
Member Author

picnixz commented May 19, 2025

!buildbot x86-64 MacOS Intel

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @picnixz for commit 8fcdb53 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F134252%2Fmerge

The command will test the builders whose names match following regular expression: x86-64 MacOS Intel

The builders matched are:

  • x86-64 MacOS Intel ASAN NoGIL PR
  • x86-64 MacOS Intel NoGIL PR

@picnixz picnixz added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label May 19, 2025
@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label May 19, 2025
@picnixz picnixz added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label May 19, 2025
@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label May 19, 2025
@python python deleted a comment from bedevere-bot May 19, 2025
@python python deleted a comment from bedevere-bot May 19, 2025
@picnixz picnixz added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label May 19, 2025
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @picnixz for commit 8004b3d 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F134252%2Fmerge

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label May 19, 2025
@picnixz picnixz enabled auto-merge (squash) May 20, 2025 08:26
@picnixz picnixz merged commit e007e62 into python:main May 20, 2025
38 checks passed
@encukou
Copy link
Member

encukou commented May 20, 2025

Thank you for the fix!

@picnixz picnixz deleted the patch/curses-checks-125843 branch May 20, 2025 10:09
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
…ython#134252)

While some `libcurses` functions are meant to return OK on success,
this is not always the case for all implementations. As such, we relax
the checks on the return values and allow any non-ERR value to be
considered equivalent to OK.
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
…ython#134252)

While some `libcurses` functions are meant to return OK on success,
this is not always the case for all implementations. As such, we relax
the checks on the return values and allow any non-ERR value to be
considered equivalent to OK.
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.

3 participants