hi there, folks:
I'd really like to release 0.7.0 but I would like it to be at least a
little bit tested before I do so. Could those of you with CVS trees check
everything out and see if it performs as advertised? Deeper bugs than
that will have to wait for the next release, but I'd at least like to know
if it works for someone other than me.
______ __ __ _____ _ _
| ____ | \_/ |_____] |_____|
|_____| |_____ | | | |
@ t w i s t e d m a t r i x . c o m
I couldn't find Twisted-specific group, so posting here.
Recently Twisted 16.4.0 got released. Yesterday I've tried to upgrade it
for my apps and got an error.
I've created simple example, which demonstrates it.
from twisted.application import service, internet
application = service.Application("Demo application")
""" Stub function """
If you try to run it with twistd -y service.tac you'll get an error:
== output ==============================
Traceback (most recent call last):
line 648, in run
25, in runApp
line 379, in run
self.application = self.createOrGetApplication()
line 444, in createOrGetApplication
application = getApplication(self.config, passphrase)
--- <exception caught here> ---
line 455, in getApplication
application = service.loadApplication(filename, style, passphrase)
line 411, in loadApplication
223, in loadValueFromFile
eval(codeObj, d, d)
File "service.tac", line 7, in <module>
exceptions.ImportError: No module named mymodule
Failed to load application: No module named mymodule
The errors comes down to this: twistd script does not add current
working directory to python path (or removes it, I don't know what
exactly happens), so it fails to import any packages/modules from it.
The issue does not appear in previous version (Twisted 16.3.2).
Any ideas what caused it?
Hi everyone, here's a Twisted release to hopefully lift your spirits a little. It's not a big one, but it's got some goodies regardless.
- The ability to use "python -m twisted" to call the new `twist` runner,
- More reliable tests from a more reliable implementation of some things, like IOCP,
- Fixes for async/await & twisted.internet.defer.ensureDeferred, meaning it's getting closer to prime time!
- ECDSA support in Conch & ckeygen (which has also been ported to Python 3),
- Python 3 support for Words' IRC support and twisted.protocols.sip among some smaller modules,
- Some HTTP/2 server optimisations,
- and a few bugfixes to boot!
You can get the tarball and the NEWS file at https://twistedmatrix.com/Releases/rc/16.6.0rc1/ <https://twistedmatrix.com/Releases/rc/16.6.0rc1/> , or you can try it out from PyPI:
python -m pip install Twisted==16.6.0rc1
Please test it, and let me know how your applications fare, good or bad! If nothing comes up, I will release 16.6.0 next week.
It looks like older links to changesets in trac are now broken. For
example, https://twistedmatrix.com/trac/ticket/5236#comment:5 used to link
to r33400 but the link is now just plain text.
Is there a reason these links can't be restored? It was very convenient to
have them for navigating and understanding the history of the codebase.
After seeing a talk by Glyph and Moshe last month, I have looked into
twisted. It seems like a natural fit for a current project. Thought to
use klein for the web application portion as well.
But - we are using Python 3.5, and one of our deliverable platforms is
Windows 7 (64 bit). Bad idea? Things to watch out for?
I have been able to build twisted on Windows with Python 3.5, no cygwin. Simple
examples I tried run. Some klein examples run (some don't).
+ comments from anyone doing something similar
+ pointers to Windows status - what's available, what to avoid
+ amusing or snarky comments ;)
thanks in advance!
I am looking at sendMail in twisted.mail.smtp, however this to my
understanding doesn't maintain a connection pool to a smtp host and port.
The ESMTPSenderFactory is initialized using the from and to addresses as
Is there a way I can create a connection pool for the smtp connection and
thanks for your help.