franzk@netal.com: [Python-bugs-list] Memory exception in python15.dll when calling IActi veScript::AddTypeLib (PR#76)
Mark Hammond
mhammond@skippinet.com.au
Mon, 4 Oct 1999 17:21:21 +1000
Regarding bug ID 76, as detailed below.
This can be moved to "resolved" with a note that it is fixed in
win32all-127 and later (not yet out, but preparing for it now)
Thanks,
Mark.
>
>
> Do you have any insights here? I'm not sure how to file this in the
> bugs list...
>
> --Guido van Rossum (home page: http://www.python.org/~guido/)
>
>
> ------- Forwarded Message
>
> Date: Sat, 11 Sep 1999 10:47:13 -0400
> From: franzk@netal.com
> To: python-bugs-list@python.org
> cc: bugs-py@python.org
> Subject: [Python-bugs-list] Memory exception in python15.dll
> when calling IActi
> veScript::AddTypeLib (PR#76)
>
> Full_Name: Franz Krainer
> Version: 1.5.2
> OS: NT
> Submission from: tk142052.telekabel.at (195.34.142.52)
>
>
> A memory exception happens in python15.dll when an ActiveX
> Scripting Host
> (Windows Scripting Host 2.0, for example) calls
> IActiveScript::AddTypeLib to ad
> d
> a type library to the engine.
>
> Use the following WSH 2.0 Beta 2 code to reproduce the problem:
>
> - --------------------Start of
> bugtest.ws----------------------------------
> <job>
> <reference object="Scripting.FileSystemObject" version="1.0"/>
> <script language="Python">
> # Testall - test core AX support.
>
> # Test "Restricted Execution" (ie, IObjectSafety).
> # This will fail if in a "restricted execution" environment, but
> # will silenty do nothing of not restricted. This same line
> in an MSIE
> # script would cause an exception.
> print "Importing win32api..."
> import win32api
> if 1==1:
> print "Hi"
>
> WScript.Echo("Hello from WScript")
>
> #fail
> </script>
> </job>
> - --------------------End of bugtest.ws------------------
>
>
>
>
>
> _______________________________________________
> Python-bugs-list maillist - Python-bugs-list@python.org
> http://www.python.org/mailman/listinfo/python-bugs-list
>
> ------- End of Forwarded Message
>