Skip to content

Add explicit argtype counting, required for osx-arm64.#12804

Merged
Carreau merged 3 commits intoipython:masterfrom
erykoff:fix-osx-arm64-crash
Feb 2, 2021
Merged

Add explicit argtype counting, required for osx-arm64.#12804
Carreau merged 3 commits intoipython:masterfrom
erykoff:fix-osx-arm64-crash

Conversation

@erykoff
Copy link
Copy Markdown
Contributor

@erykoff erykoff commented Feb 2, 2021

As reported in #12803 ipython crashes when loading matplotlib (or any windowing plugin) when running on Apple Silicon (arm64) macs. This PR fixes the crash by adding explicit argument counts when calling out to objc, which should have been there before, but are required for osx-arm64. (See also minrk/appnope#7 ).

@Carreau Carreau added this to the 7.21 milestone Feb 2, 2021
@Carreau
Copy link
Copy Markdown
Member

Carreau commented Feb 2, 2021

Thanks for diving into this ! How's the M1 ?

@erykoff
Copy link
Copy Markdown
Contributor Author

erykoff commented Feb 2, 2021

Thanks for your quick response! Sadly I don't have an M1, still on the DTK until I get all my essential code ported.

@stnatter
Copy link
Copy Markdown

stnatter commented Feb 3, 2021

Thanks for diving into this ! How's the M1 ?

Thanks for fixing this! The M1 is absolutely fabulous. Completely disruptive. I can't see how Intel or AMD are going to survive this. x86 has run its course.

Carreau added a commit that referenced this pull request Feb 4, 2021
…804-on-7.x

Backport PR #12804 on branch 7.x (Add explicit argtype counting, required for osx-arm64.)
Jofkos added a commit to Jofkos/PyDev.Debugger that referenced this pull request Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants