On 6 May 2015 at 12:49, Volker Braun <vbraun.n...@gmail.com> wrote:
> vars() works as documented.
>
> Its a good test whether every object that we define can actually print

That sounds like a good thing, but I still do not understand why an
error is raised.

John

> itself. That caughs up plenty of deprecation warnings and fails for
>
> sage: notebook
> <sagenb.notebook.notebook_object.NotebookObject instance at 0x7fbf8537e758>
> ---------------------------------------------------------------------------
> TypeError                                 Traceback (most recent call last)
> <ipython-input-1-608e12875613> in <module>()
> ----> 1 notebook
>
> /mnt/disk/home/release/Sage/local/lib/python2.7/site-packages/IPython/core/displayhook.pyc
> in __call__(self, result)
>     230             self.start_displayhook()
>     231             self.write_output_prompt()
> --> 232             format_dict, md_dict = self.compute_format_data(result)
>     233             self.update_user_ns(result)
>     234             self.fill_exec_result(result)
>
> TypeError: 'NoneType' object is not iterable
>
>
>
> On Wednesday, May 6, 2015 at 1:16:49 PM UTC+2, John Cremona wrote:
>>
>> I also have a 6.6 install which quites badly when I give (as the first
>> command) vars().  The output is hunderds of lines long and ends with
>>
>> TypeError                                 Traceback (most recent call
>> last)
>> <ipython-input-1-ef3ed5b882d8> in <module>()
>> ----> 1 vars()
>>
>>
>> /usr/local/sage/sage-2/local/lib/python2.7/site-packages/IPython/core/displayhook.pyc
>> in __call__
>> (self, result)
>>     230             self.start_displayhook()
>>     231             self.write_output_prompt()
>> --> 232             format_dict, md_dict =
>> self.compute_format_data(result)
>>     233             self.update_user_ns(result)
>>     234             self.fill_exec_result(result)
>>
>> TypeError: 'NoneType' object is not iterable
>>
>>
>>
>> On 6 May 2015 at 11:26, Volker Braun <vbrau...@gmail.com> wrote:
>> > There were some changes to how globals() are handled. Did you run
>> > "make",
>> > can you show us the output, debugger, ...
>> >
>> >
>> >
>> > On Wednesday, May 6, 2015 at 10:51:27 AM UTC+2, Jean-Pierre Flori wrote:
>> >>
>> >> Dear all,
>> >>
>> >> My Sage 6.6 install quits after printing a depreciation warning message
>> >> when I issue:
>> >> sage: vars()
>> >>
>> >> Same is true for at least globals().
>> >> Any clue on what's going on?
>> >>
>> >> Best,
>> >> JP
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "sage-devel" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to sage-devel+...@googlegroups.com.
>> > To post to this group, send email to sage-...@googlegroups.com.
>> > Visit this group at http://groups.google.com/group/sage-devel.
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to