I've just created a bug - hopefully we can get this out in a bugfix release
soon.


On Wed, Jul 2, 2014 at 4:41 AM, Bob Farrell <[email protected]>
wrote:

> Oh dear. :-(
>
> Looks like we need to write some python3-specific code.
>
> Thanks for the report !
>
>
> On 1 July 2014 18:56, Noelle Milton Vega <[email protected]> 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.
>>
>
>  --
> 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.
>

-- 
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.

Reply via email to