~ubuntu-branches/debian/experimental/spyder/experimental

« back to all changes in this revision

Viewing changes to spyderlib/widgets/externalshell/introspection.py

  • Committer: Package Import Robot
  • Author(s): Picca Frédéric-Emmanuel
  • Date: 2013-03-27 16:25:27 UTC
  • mfrom: (1.1.20)
  • Revision ID: package-import@ubuntu.com-20130327162527-kk4v2dr2fshy9ljf
Tags: 2.2.0~rc+dfsg-1
* Imported Upstream version 2.2.0~rc+dfsg
* Suggests: tortoisehg and gitk (Closes: #704064)

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
import threading
12
12
import socket
13
13
import errno
 
14
import os
14
15
 
15
16
# Local imports
16
17
from spyderlib.baseconfig import get_conf_path, DEBUG
65
66
            except socket.error as e:
66
67
                # See Issue 1275 for details on why errno EINTR is
67
68
                # silently ignored here.
68
 
                if e.args[0] == errno.EINTR:
 
69
                eintr = errno.WSAEINTR if os.name == 'nt' else errno.EINTR
 
70
                if e.args[0] == eintr:
69
71
                    continue
70
72
                raise
71
73
            shell_id = read_packet(conn)