[Twisted-Python] Possible bug

Amber "Hawkie" Brown hawkowl at atleastfornow.net
Sat Oct 31 00:45:29 MDT 2015


Hi Chris,

Twisted does not yet support Python 3 on Windows.

There's a ticket at https://twistedmatrix.com/trac/ticket/8025#ticket which makes all the tests pass on the platform; I just need to work on it some more. I expect Twisted 16.0 to have base support for Python 3 on Windows.

- Amber

> On 31 Oct 2015, at 14:41, Chris Norman <chris.norman2 at googlemail.com> wrote:
> 
> Hi all,
> Using windows 10 with Python 3.5, importing pretty much anything gives me the following error. Not sure if there's something wrong with my configuration or if it's a bug... I seem to remember something a while back, should I file a ticket?
> 
> 
> Traceback (most recent call last):
>  File "<string>", line 1, in <module>
>  File "C:\python35\lib\site-packages\twisted\internet\reactor.py", line 38, in <module>
>    from twisted.internet import default
>  File "C:\python35\lib\site-packages\twisted\internet\default.py", line 56, in <module>
>    install = _getInstallFunction(platform)
>  File "C:\python35\lib\site-packages\twisted\internet\default.py", line 50, in _getInstallFunction
>    from twisted.internet.selectreactor import install
>  File "C:\python35\lib\site-packages\twisted\internet\selectreactor.py", line 18, in <module>
>    from twisted.internet import posixbase
>  File "C:\python35\lib\site-packages\twisted\internet\posixbase.py", line 18, in <module>
>    from twisted.internet import error, udp, tcp
>  File "C:\python35\lib\site-packages\twisted\internet\udp.py", line 53, in <module>
>    from twisted.internet import base, defer, address
>  File "C:\python35\lib\site-packages\twisted\internet\base.py", line 23, in <module>
>    from twisted.internet import fdesc, main, error, abstract, defer, threads
>  File "C:\python35\lib\site-packages\twisted\internet\defer.py", line 29, in <module>
>    from twisted.python import lockfile, failure
>  File "C:\python35\lib\site-packages\twisted\python\lockfile.py", line 52, in <module>
>    _open = file
> NameError: name 'file' is not defined
> 
> Cheers,
> 
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: </pipermail/twisted-python/attachments/20151031/740d9208/attachment.sig>


More information about the Twisted-Python mailing list