obs-scripting: Replace PySys_SetArgv with recent Python method#13536
obs-scripting: Replace PySys_SetArgv with recent Python method#13536tytan652 wants to merge 1 commit into
Conversation
75c0f40 to
209ba4f
Compare
8c850f7 to
0bb21cb
Compare
557831f to
ba28781
Compare
|
This is a different attempt at #13014 ? If so, my same questions apply. |
I forgot about that PR, yes but with proper support for the runtime codepath.
In the runtime codepath, if Python < 3.8 is found, |
ba28781 to
d5002a9
Compare
d5002a9 to
03b5b4e
Compare
Description
Warning
Only tested on Linux so no runtime link test
Tests on Windows and macOS with various Python is needed
Replace deprecated PySys_SetArgv with recent Python method
TODO:
Closes #13014
Motivation and Context
Gave a try a while ago, now I cleaned it up
How Has This Been Tested?
Only quickly tested on Arch Linux with Python 3.14.5
Types of changes
Checklist: