franzk@netal.com: [Python-bugs-list] Memory exception in python15.dll when calling IActi veScript::AddTypeLib (PR#76)

mhammond@skippinet.com.au mhammond@skippinet.com.au
Wed, 15 Sep 1999 18:48:50 -0400 (EDT)


This was only just reported to me!  It is definately a bug in the
Active Scripting implementation, so I guess it doesnt belong in the
bugs list.  If you did decide to make a seperate category for the
Windows extensions I would be happy to word it appropriately, but Im
not sure it makes sense for my bugs to go there...

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
>