Issue #1015 wontfix

Socket inheritance code breaks on Windows CE

Jason R. Coombs
created an issue

In #856, guest reports the fix for #856 breaks CherryPy on Windows CE.

The nature of the error is not described.

A patch was proposed:

{{{ Index: cherrypy/wsgiserver/ =================================================================== --- cherrypy/wsgiserver/ (revision 2684) +++ cherrypy/wsgiserver/ (working copy) @@ -1467,6 +1467,10 @@ except ImportError: try: from ctypes import windll, WinError + VER_PLATFORM_WIN32_CE = 3 + isCE = sys.getwindowsversion()[3]==VER_PLATFORM_WIN32_CE + if isCE: + raise ImportError except ImportError: def prevent_socket_inheritance(sock): """Dummy function, since neither fcntl nor ctypes are available.""" }}}

Since the patch doesn't describe why CE is different or what the failure was, I suggest we wait on clarification before applying any patch.

Comments (1)

  1. Log in to comment