You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a weird bug related to the python or ipython console (both have the same issue) and packages which take a long time to load. A minimal example is below.
What steps will reproduce the problem?
Create a package testpackage with the following content for __init__.py:
import time
time.sleep(.5)
In my actual code the time.sleep is not present, but many packages are loaded.
Create a script example.py with the following content:
# -*- coding: utf-8 -*-
"""
Created on Thu Jan 5 13:12:31 2017
@author: eendebakpt
"""
#%%
import testpackage
#%%
In a fresh console run the block in the script example.py using ctrl-enter
Go to the console, type 1 and press enter. No output is generated
Press enter once more, the output is shown.
What is the expected output? What do you see instead?
This is a weird bug related to the python or ipython console (both have the same issue) and packages which take a long time to load. A minimal example is below.
What steps will reproduce the problem?
testpackage
with the following content for__init__.py
:In my actual code the
time.sleep
is not present, but many packages are loaded.example.py
with the following content:example.py
usingctrl-enter
1
and press enter. No output is generatedWhat is the expected output? What do you see instead?
The entire output is this:
I would expect to see a response
Versions and main components
Dependencies
jedi >=0.8.1 : 0.9.0 (OK)
matplotlib >=1.0 : 1.5.1 (OK)
nbconvert >=4.0 : 4.2.0 (OK)
numpy >=1.7 : 1.11.1 (OK)
pandas >=0.13.1 : 0.18.1 (OK)
pep8 >=0.6 : 1.7.0 (OK)
pyflakes >=0.6.0 : 1.2.3 (OK)
pygments >=2.0 : 2.1.3 (OK)
pylint >=0.25 : 1.5.4 (OK)
qtconsole >=4.2.0: 4.2.1 (OK)
rope >=0.9.4 : 0.9.4-1 (OK)
sphinx >=0.6.6 : 1.4.1 (OK)
sympy >=0.7.3 : 1.0 (OK)
The text was updated successfully, but these errors were encountered: