Thank you Bob & Thomas for your work and for the the replies (here and by email).
Thomas, I tried the interim version you referred me to by email and, indeed, it appears to resolve the issue. :) Side fun fact: Despite having complete IDEs, I always find learning and doing in bpython2/3 super productive, and so I always have both open. Thanks again for your work! NMV On Tuesday, July 1, 2014 1:56:50 PM UTC-4, Noelle Milton Vega wrote: > > Hello Friends: > > On bpython3 version 0.12 and 0.13, when I launch it with the "-i" option > to import modules first, there is a problem. > Here is a running, annotated dialogue of the issue. > > prompt$ *cat /path/to/bpython-PythonStartup.py* > import sklearn.<*anyModule*> # Any module from the SciKit-Learn package > triggers this issue. Maybe other packages, too. > prompt$ > > > prompt$ # *No issue with python2* > prompt$ *bpython -i /path/to/bpython-PythonStartup.py* > >>> <cr> > >>> <cr> > >>> quit() > prompt$ > > > prompt$ # *Issue with python3: As soon as I press anything at the ">>>" > prompt, I get hundreds of the following two warnings repeated.* > prompt$ *bpython3 -i /path/to/bpython-PythonStartup.py* > >>> <cr> > > /home/user/.local/lib/python3.3/site-packages/bpython/importcompletion.py:122: > DeprecationWarning: imp.get_suffixes() is deprecated; use the constants > defined on importlib.machinery instead > if not any(name.endswith(suffix[0]) for suffix in imp.get_suffixes()): > > > /home/user/.local/lib/python3.3/site-packages/bpython/importcompletion.py:130: > DeprecationWarning: imp.get_suffixes() is deprecated; use the constants > defined on importlib.machinery instead > for suffix in imp.get_suffixes(): > > [ ... both lines are repeated hundreds of times, then stops ... ] > >>> > >>> quit() > [ ... And again here: Upon exit, as the error buffer is emptied, both > lines are repeated hundreds of times, then stops ... ] > prompt$ > > This may not be exclusive to the scikit learn (sklearn) package modules. I > just happened be using them when I ran into this. > > Any ideas? > Thank you in advance! =:) > > NMV > -- You received this message because you are subscribed to the Google Groups "bpython" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/bpython. For more options, visit https://groups.google.com/d/optout.
