ahgamut / superconfigure

wrap autotools configure scripts to build with Cosmopolitan Libc
The Unlicense
177 stars 24 forks source link

Windows os.add_dll_directory() missing Python 3.11.4 3.12.3 #41

Open igoforth opened 4 months ago

igoforth commented 4 months ago

I know the last thing you want is more Windows issues but I figured I'd drop this here on the off-chance it helps.

PS > .\python
Python 3.12.3 (main, May 26 2024, 10:15:20) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.add_dll_directory()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'os' has no attribute 'add_dll_directory'
PS > bin/python
Python 3.11.4 (heads/pypack1:7127f06, May 25 2024, 19:26:57) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.add_dll_directory()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'os' has no attribute 'add_dll_directory'