ipython / ipython/traitlets

get function of TraitType(BaseDescriptor) is called right after start ipython and then run forever?

Ouverte
#533 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
653
Forks
217
Merge moyen
2 j 21 h
PR mergées (30 j)
2

Description

Hi, I'm using ipython and trailets. I met a bug in my code and eventually lead me to try to print something inside `get` function of `TraitType(BaseDescriptor)`.

I put `print('enter get function')` before `try` block [here](https://github.com/ipython/traitlets/blob/master/traitlets/traitlets.py#L518). I observed that once I start `ipython`, `enter get function` started printing out and never stopped. It looks like `get` was called in a loop and run forever. Is there something that could help me understand this?

output
```
enter get function
enter get function
enter get function
enter get function
enter get function
...
```

Below are version info:
ipython 7.7.0
python 3.7
traitlets 4.3.3

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.