ipython / ipython/traitlets

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

Open
#533 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
653
Forks
217
Avg merge
2d 21h
Merged PRs (30d)
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.