# programmable filter : returning 0/1

**URL:** https://discourse.paraview.org/t/programmable-filter-returning-0-1/448
**Category:** Development
**Tags:** python
**Created:** [August 20, 2018, 2:34pm UTC](https://discourse.paraview.org/t/programmable-filter-returning-0-1/448 "2018-08-20T14:34:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![michal.wozniak](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/848f3c/32.png) [@michal.wozniak](https://discourse.paraview.org/u/michal.wozniak)
#### Post date: [August 20, 2018, 2:34pm UTC](https://discourse.paraview.org/t/programmable-filter-returning-0-1/448/1 "2018-08-20T14:34:33Z")

</div>

Hi,

[https://gitlab.kitware.com/paraview/paraview/issues/17591](https://gitlab.kitware.com/paraview/paraview/issues/17591)

Is it still on track for 5.6?

To increase performance in our huge pipeline, we are thinking of converting some part of our pipeline into Python programmable scripts. This error handling process would help us avoid crashes.

Thanks

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [August 23, 2018, 3:26pm UTC](https://discourse.paraview.org/t/programmable-filter-returning-0-1/448/2 "2018-08-23T15:26:09Z")

</div>

It’s not on the roadmap for near future (unless priorities change). The **Programmable Filter** approach is on path to being deprecated in future. The newer PythonAlgorithm based approach is better suited for non trivial use-cases. I’d suggest taking a look at [this](https://www.paraview.org/ParaView/Doc/Nightly/www/py-doc/paraview.util.vtkAlgorithm.html) and [an example here](https://gitlab.kitware.com/paraview/paraview/tree/master/Examples/Plugins/PythonAlgorithm).
