Discussion:
[Twisted-Python] An error occurred with twisted 15.2.1 & python 3.4.3 on windows
Gelin Yan
2015-07-27 11:17:12 UTC
Permalink
Hi All

When I tried to run a simple twisted program and noticed there was an
error as following:

File "C:\Python34\lib\site-packages\twisted\python\lockfile.py", line 52,
in <module>
_open = file
NameError: name 'file' is not defined


simply replace file as open like

_open = open

can run the program.

Is it a bug?

Regards

gelin yan
Tristan Seligmann
2015-07-28 07:46:26 UTC
Permalink
Post by Gelin Yan
Is it a bug?
Yes; see https://twistedmatrix.com/trac/ticket/7626 for more details.
Gelin Yan
2015-07-28 10:29:47 UTC
Permalink
Post by Tristan Seligmann
Post by Gelin Yan
Is it a bug?
Yes; see https://twistedmatrix.com/trac/ticket/7626 for more details.
_______________________________________________
Twisted-Python mailing list
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
It looks like this bug has existed for almost one year. Do we have
windows building slave for python 3?

Regards

gelin yan
Glyph Lefkowitz
2015-07-29 00:38:45 UTC
Permalink
Post by Gelin Yan
Is it a bug?
Yes; see https://twistedmatrix.com/trac/ticket/7626 <https://twistedmatrix.com/trac/ticket/7626> for more details.
_______________________________________________
Twisted-Python mailing list
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python <http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python>
It looks like this bug has existed for almost one year. Do we have windows building slave for python 3?
No. For this reason, technically Twisted only supports Python 3 on Linux. Does anyone feel like volunteering to set up a 3 builder? I wonder if HawkOwl has already done this...

-glyph
Amber "Hawkie" Brown
2015-07-29 03:05:00 UTC
Permalink
Post by Glyph Lefkowitz
Post by Gelin Yan
Is it a bug?
Yes; see https://twistedmatrix.com/trac/ticket/7626 for more details.
_______________________________________________
Twisted-Python mailing list
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
It looks like this bug has existed for almost one year. Do we have windows building slave for python 3?
No. For this reason, technically Twisted only supports Python 3 on Linux. Does anyone feel like volunteering to set up a 3 builder? I wonder if HawkOwl has already done this...
I haven't -- I don't think I have access or know how to get onto the Windows builders. Happy to set up a Py3 tests+coverage builder (after PyCon AU, that is). (Also, I might set up a Py2.7 coverage builder now we have https://codecov.io/github/twisted/twisted to combine it...)

- Amber
Post by Glyph Lefkowitz
-glyph
_______________________________________________
Twisted-Python mailing list
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Ray Cote
2015-07-29 14:38:21 UTC
Permalink
Post by Glyph Lefkowitz
No. For this reason, technically Twisted only supports Python 3 on
Linux. Does anyone feel like volunteering to set up a 3 builder? I wonder
if HawkOwl has already done this...
I know I don't have the personal bandwidth to deploy and manage a
Python3/Windows Buildbot, but I (my company) can kick-in for an A0 Azure
instance to run a Buildbot:
<http://azure.microsoft.com/en-us/pricing/details/virtual-machines/>
.

--Ray
--
Raymond Cote, President
voice: +1.603.924.6079 email: ***@AppropriateSolutions.com skype:
ray.cote
Loading...