[Twisted-Python] Importing reactor changes PATHs?

Merovingian full_access at bk.ru
Mon May 26 08:12:36 MDT 2014


Hello,

Python 2.7.5 32 bit on Windows.
Twisted 13.2.0

     import ctypes
     dll = ctypes.CDLL("ssleay32.dll")

Loads dll from the current folder

     import ctypes
     from twisted.internet import reactor
     dll = ctypes.CDLL("ssleay32.dll")

Loads dll from Python27\lib\site-packages\OpenSSL
How so? How can I prevent reactor from changing the PATH (or whatever 
it's changing)?




More information about the Twisted-Python mailing list