# Point == None crashes my kernel

**URL:** <https://openturns.discourse.group/t/point-none-crashes-my-kernel/149>\
**Category:** Python usage\
**Tags:** api\
**Created:** [June 14, 2021, 1:13pm UTC](https://openturns.discourse.group/t/point-none-crashes-my-kernel/149 "2021-06-14T13:13:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanaaZ](https://yyz2.discourse-cdn.com/free1/user_avatar/openturns.discourse.group/sanaaz/32/241_2.png) [@sanaaZ](https://openturns.discourse.group/u/sanaaZ)\
**Post date:** [June 14, 2021, 1:13pm UTC](https://openturns.discourse.group/t/point-none-crashes-my-kernel/149/1 "2021-06-14T13:13:26Z")

</div>

Hello,  
i’ve encountered a somewhat weird problem. In my code i had to check if one specific argument was provided by the user, so i did something in these lines :

```auto
import openturns
openturns.Point([1,1,1]) == None

```

this resulted in my kernel crashing and being unable to restart.

Once i’ve determined the root cause of the problem i was able to rewrite my code and to work around the problem. I just thought it could be useful to correct it in some future release

regards

sanaa

---

<div class="post-metadata">

**Author:** ![schueller](https://yyz2.discourse-cdn.com/free1/user_avatar/openturns.discourse.group/schueller/32/3_2.png) [@schueller](https://openturns.discourse.group/u/schueller)\
**Post date:** [June 16, 2021, 4:19pm UTC](https://openturns.discourse.group/t/point-none-crashes-my-kernel/149/2 "2021-06-16T16:19:20Z")

</div>

good catch, I’ll fix it  
instead of “if x == None” we write these as “if x is None”, which works in the current version
