[Twisted-Python] An error occurred with twisted 15.2.1 & python 3.4.3 on windows
![](https://secure.gravatar.com/avatar/b21dcd444b9c16ac6bf50cda1999265a.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/869963bdf99b541c9f0bbfb04b0320f1.jpg?s=120&d=mm&r=g)
On Mon, 27 Jul 2015 at 13:18 Gelin Yan <dynamicgl@gmail.com> wrote:
Is it a bug?
Yes; see https://twistedmatrix.com/trac/ticket/7626 for more details.
![](https://secure.gravatar.com/avatar/b21dcd444b9c16ac6bf50cda1999265a.jpg?s=120&d=mm&r=g)
On Tue, Jul 28, 2015 at 3:46 PM, Tristan Seligmann <mithrandi@mithrandi.net> wrote:
It looks like this bug has existed for almost one year. Do we have windows building slave for python 3? Regards gelin yan
![](https://secure.gravatar.com/avatar/3d37232726396a1d3c7412dd915095ea.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/0734f21345c8dff72bd25969bcb9e362.jpg?s=120&d=mm&r=g)
On Tue, Jul 28, 2015 at 8:38 PM, Glyph Lefkowitz <glyph@twistedmatrix.com> wrote:
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: rgacote@AppropriateSolutions.com skype: ray.cote
![](https://secure.gravatar.com/avatar/869963bdf99b541c9f0bbfb04b0320f1.jpg?s=120&d=mm&r=g)
On Mon, 27 Jul 2015 at 13:18 Gelin Yan <dynamicgl@gmail.com> wrote:
Is it a bug?
Yes; see https://twistedmatrix.com/trac/ticket/7626 for more details.
![](https://secure.gravatar.com/avatar/b21dcd444b9c16ac6bf50cda1999265a.jpg?s=120&d=mm&r=g)
On Tue, Jul 28, 2015 at 3:46 PM, Tristan Seligmann <mithrandi@mithrandi.net> wrote:
It looks like this bug has existed for almost one year. Do we have windows building slave for python 3? Regards gelin yan
![](https://secure.gravatar.com/avatar/3d37232726396a1d3c7412dd915095ea.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/0734f21345c8dff72bd25969bcb9e362.jpg?s=120&d=mm&r=g)
On Tue, Jul 28, 2015 at 8:38 PM, Glyph Lefkowitz <glyph@twistedmatrix.com> wrote:
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: rgacote@AppropriateSolutions.com skype: ray.cote
participants (5)
-
Amber "Hawkie" Brown
-
Gelin Yan
-
Glyph Lefkowitz
-
Ray Cote
-
Tristan Seligmann