This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: SimpleXMLRPCServer doesn't work anymore on Windows
Type: Stage:
Components: Library (Lib) Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: anthonybaxter Nosy List: anthonybaxter, kadeko
Priority: high Keywords:

Created on 2006-04-12 10:23 by kadeko, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg28204 - (view) Author: kadeko (kadeko) Date: 2006-04-12 10:23
The bug resolution of [ 1222790 ] SimpleXMLRPCServer
does not set FD_CLOEXEC break the compatibility with
Windows system.
The new "import fcntl" is not possible on non POSIX system.


C:\Python25>C:\Python25\python.exe C:\Python25\server2.py
Traceback (most recent call last):
  File "C:\Python25\server2.py", line 1, in <module>
    from DocXMLRPCServer import DocXMLRPCServer
  File "C:\Python25\lib\DocXMLRPCServer.py", line 18,
in <module>
    from SimpleXMLRPCServer import (SimpleXMLRPCServer,
  File "C:\Python25\lib\SimpleXMLRPCServer.py", line
107, in <module>
    import os, fcntl
ImportError: No module named fcntl
msg28205 - (view) Author: Anthony Baxter (anthonybaxter) (Python triager) Date: 2006-04-12 12:08
Logged In: YES 
user_id=29957

Fixed in r45305 by handling the 'no fcntl module available'
case. Thanks for the bug report!
History
Date User Action Args
2022-04-11 14:56:16adminsetgithub: 43192
2006-04-12 10:23:15kadekocreate