X Tutup
Skip to content

crash when using pastebin and no active internet connection #134

@ikanobori

Description

@ikanobori

When using the submit to pastebin functionality, if there is no active internet connection the whole bpython interpreter crashes with backtrace.

Error is uncaugh exception "socket.gaierror" from repl.py:715

I see that XMLRPCError is caught, but if there's no active connection the dns host lookup throws socket.gaierror which isn't handled.

Tested on linux, python2.6 and python3.1 with bpython version 0.9.7


Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup