Opened 4 years ago

Closed 2 years ago

#7963 defect closed fixed (fixed)

twisted.internet._dumbwin32proc missing on Windows Python 3.4 installation

Reported by: exvito Owned by:
Priority: normal Milestone: Python-3.x
Component: core Keywords: windows
Cc: exvito Branch:
Author:

Description

Environment:

  • Windows XP 32 bit
  • Python 3.4.3 + virtualenv
  • Virtualenv: pywin32 219, twisted 15.2.1, zope.interface 4.1.2

Test script:

from twisted.internet import reactor, protocol

if __name__ == '__main__':

    p = protocol.ProcessProtocol()
    e = 'c:/python34/python.exe'
    a = [e]

    reactor.callWhenRunning(lambda: reactor.spawnProcess(p, e, a))
    reactor.run()

Execution results in exception (stack trace omitted):

builtins.ImportError: No module named 'twisted.internet._dumbwin32proc'

Notes:

  • Twisted was installed via "pip install twisted" within the virtual environment.
  • The result was the same when installed from source via either "python setup.py install" or "python setup3.py install".
  • Verified that under "site-packages/twisted/internet/" there are a lot less files than under the equivalent Python 2.7 installation:
    • Python 3.4: 33 .py files
    • Python 2.7: 54 .py files

I'm aware that Windows is not a priority target for Twisted Python 3 compatibility.

Could this be a packaging/installation issue? I'll be glad to cooperate on fixing this, but I'm not sure where to start.

Change History (4)

comment:1 Changed 4 years ago by exvito

Cc: exvito added

comment:2 Changed 4 years ago by Glyph

Saying it's not a "priority target" is a complex value judgement; Twisted's position on Windows / Python 3 is not nearly so nuanced; it's just not a supported platform, where "supported platform" has a very specific meaning - we don't have a buildbot for it. See here for the full list of supported platforms; at some point we need a Windows buildbot that does python 3 stuff. I don't think anyone is opposed to setting one up; you should probably talk to HawkOwl as she's done the most recent work in this area.

comment:3 Changed 4 years ago by exvito

glyph,

Thanks for correcting my words. I didn't mean to bring in or impose any sort of "value judgement" on the subject. :)

Any advice on how to reach HawkOwl?

comment:4 Changed 2 years ago by Craig Rodrigues

Milestone: Python-3.x
Resolution: fixed
Status: newclosed

Fixed in 8609

Note: See TracTickets for help on using tickets.