Re: Memory access violation using pywin32 as WSH
Bob Kline <[email protected]> Wed, 30 Nov 2022 07:59:41 -0500
| Newsgroups | gmane.comp.python.windows |
|---|---|
| Message-ID | <CAGjKmVoBckCuEYSieBC37UTPcY+rbnf153tApjnv0D0p2yE2gA@mail.gmail.com> |
On Tue, Nov 29, 2022 at 6:19 PM Mark Hammond <[email protected]> wrote: > > On 30/11/2022 3:06 am, Bob Kline wrote: > .... >> As a side note, imp.new_module() [3] was deprecated back in Python 3.4. > > Yep, you are looking at a very old version. True, but I checked HEAD for the main branch, and the code [1] is still calling the deprecated method. Cheers, Bob [1] https://github.com/mhammond/pywin32/blob/main/com/win32comext/axscript/client/pyscript.py#L217