[Paraview] migrating ParaView 3.14.1 project to 4, pqPythonShell::releaseControl

Vanmoer, Mark W mvanmoer at illinois.edu
Thu Jan 15 12:10:53 EST 2015


Hi David, thanks for the explanation, finally getting back to this project.
Mark

From: David E DeMarle [mailto:dave.demarle at kitware.com]
Sent: Friday, December 19, 2014 3:57 PM
To: Vanmoer, Mark W
Cc: paraview at paraview.org
Subject: Re: [Paraview] migrating ParaView 3.14.1 project to 4, pqPythonShell::releaseControl

Hey Mark,

Yes that is superfluous now. We removed the GIL back in the 4.0 transition to be compatible with python libraries that are incompatible with it. Since then you don't need to manage it directly anymore.


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Fri, Dec 19, 2014 at 4:06 PM, Vanmoer, Mark W <mvanmoer at illinois.edu<mailto:mvanmoer at illinois.edu>> wrote:
Hello,

I’ve started migrating a set of plugins written in ParaView 3.14.1 to ParaView 4.0.1 There’s a class method that uses pqPythonShell and tries to call releaseControl(). Sure enough, pqPythonShell in 3.14.1 has a releseControl() method, but it’s no longer there in 4.0.1.

What’s recommended for this, is that method just superfluous now?

Thanks,
Mark

_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150115/b5150296/attachment.html>


More information about the ParaView mailing list