-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPython console: "sre_constants.error: unbalanced parenthesis" while typing #2341
Comments
Thanks for your report. |
Hi. Here's the full output it gives me:
|
Thanks, it will be easier to debug ! |
@blink1073 has not worked on this, I've done it, so I'll take a look at this bug :-) |
Oops, my bad @blink1073 ;-) |
Thanks guys. |
I can reproduce the problem (Linux, python3, with jedi, rope and sphinx installed) |
I can reproduce this (and confirm it works in a standalone ipython console). |
Uh sorry, I can reproduce the problem (I updated my comment above). |
drafter250 it happens with the decimal module if I alias decimal.Decimal
as soon as you type a second open parenthesis you get the regex error unbalanced parenthesis.
Anaconda 2.2 with python 2.7.9, ipython 3.0.0. on windows 7.
|
I can confirm this bug, and I think I know how to fix it :-) |
Description
What steps will reproduce the problem?
In an IPython console in Spyder, write:
Now try to enter the following line:
What is the expected output? What do you see instead?
In my case, as soon as I type the second '(', the internal console raises an "sre_constants.error: unbalanced parenthesis".
In a standalone IPython Qt console, this works fine and the arguments list of datetime.now is shown as expected.
Version and main components
Optional dependencies
pyflakes >=0.6.0: 0.8.1 (OK)
pep8 >=0.6 : 1.6.2 (OK)
IPython >=1.0 : 3.1.0 (OK)
zmq >=2.1.11 : 14.5.0 (OK)
pygments >=1.6 : 2.0.2 (OK)
pandas >=0.13.1 : 0.16.0 (OK)
sphinx >=0.6.6 : None (NOK)
rope >=0.9.2 : 0.9.4-1 (OK)
jedi >=0.8.1 : None (NOK)
matplotlib >=1.0: 1.4.3 (OK)
sympy >=0.7.3 : 0.7.6 (OK)
pylint >=0.25 : 1.4.3 (OK)
The text was updated successfully, but these errors were encountered: