Re: [Twisted-Python] Announcing Twisted 10.1.0pre2!

2010-09-25 Thread exarkun

On 11 Sep, 11:18 pm, the...@free.fr wrote:

It's this time of the year again! From the dangerous and intrepid land
of Montr�al, Canada, I have the pleasure to announce the first 10.2.0
pre-release.

Tarballs for Twisted 10.2.0pre1 are now available at:
 http://people.canonical.com/~therve/Twisted/10.2.0pre1/


Highlights include:

* A new implementation of the Deferred callbacks firing, which now
handles chains iteratively instead of recursively, and should prevent
recursion errors.

* Deferred.setTimeout has finally been removed.


Maybe we can also mention the new email auth example and the 
spawnProcess optimization?  Or a few other issues that seem interesting. 
The Deferred changes are cool, but only having two highlights for the 
release seems weak.
And the usual load of bug fixes. For more information, see the NEWS 
file.



Please download the tarballs and test them as much as possible. I
intend to do a final release within the next 2 weeks, if I didn't die
by ingestion of poutine.


I did a user install (without setuptools) on Ubuntu 9.10.  Some 
observations:


 * #4503 was misclassified as a core bug, but it's a words bug.
 * There are still .doc files in the topfiles directories
 * There are two trial test failures, apparently the ones fixed by #4608
 * The topfiles directories all get installed
 * twisted/web/test/test_util.py appears to be missing

Aside from the two trial failures the test suite passes.  I'm installing 
this on my mail server now, I'll post again if I run into any troubles 
there.


Jean-Paul

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] Weekly Bug Summary

2010-09-25 Thread exarkun



Bug summary
__
Summary for 2010-09-19 through 2010-09-26
  Opened Closed  Total Change
Enhancements:  2  0658 +2
Defects:   0  1509 -1
Tasks: 0  0 72 +0
Regressions:   0  0  1 +0
Total: 2  1   1240 +1

|== Type Changes   |== Priority Changes   |== Component Changes   
|Defect:   -1  |Normal:  +1   |Core: +1   
|Enhancement:  +2 |Trial:-1   
  |Website:  +1   



Total Tickets
Open Tickets



New / Reopened Bugs
__
= Normal =
[#4655] function or method to construct an SSL context factory for clients that do not use a certificate from objects in twisted.internet.ssl (opened by glyph)
enhancement core   http://twistedmatrix.com/trac/ticket/4655

[#4656] regenerate old API docs with new stylesheet that prominently points to new versions (opened by glyph)
enhancement websitehttp://twistedmatrix.com/trac/ticket/4656



Closed Bugs
__
= Normal =
[#4608] subunit reporter test failures (opened by mithrandi, closed by jml, fixed)
defect  trial  http://twistedmatrix.com/trac/ticket/4608



Ticket Lifetime Stats
__
Oldest open ticket - [#50] conch command-line client doesn't work in win32 (since 2003-07-12 16:41:06).
Newest open ticket - [#4656] regenerate old API docs with new stylesheet that prominently points to new versions (since 2010-09-21 19:00:50).

Mean open ticket age: 983 days, 4:29:02.301758.
Median: 920 days, 6:00:08.225952.
Standard deviation: 666 days, 1:04:59.567322.
Interquartile range: 1031 days, 5:51:54.

Mean time between ticket creation and ticket resolution: 237 days, 0:56:16.208494.
Median: 29 days, 2:49:34.
Standard deviation is 411 days, 18:06:05.317405.
The interquartile range is 272 days, 2:20:42.

Mean time spent in review: 80 days, 9:07:08.933783.
Median: 4 days, 6:30:11.
Standard deviation: 300 days, 19:37:59.341689.
Interquartile range: 16 days, 1:36:14.

Mean number of times a ticket is reviewed: 2.00132187707.
Median: 1
Standard deviation: 1.63690044422.
Interquartile range: 1.


Contributor Stats
__
In the last 4 weeks,
7 unique ticket reporters
4 unique ticket reviewers
6 unique ticket resolvers
In the last 24 weeks,
85 unique ticket reporters
22 unique ticket reviewers
14 unique ticket resolvers
In the last 48 weeks,
167 unique ticket reporters
40 unique ticket reviewers
27 unique ticket resolvers





___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] how to abort a Protocol connection

2010-09-25 Thread Weikai Xie
Folks,
I have a usage case where the server need to abort a client TCP
connection (implemented by Protocol) immediately. However, the normal
Protocol.transport.loseConnection() will try to send pending data to
the client first before close the connection.
Currently I used an ugly hack to work around it, where I set
Protocol.transport._writeDisconnected=True before call
Protocol.transport.loseConnection() , which can fool the
loseConnection to  give up writing pending data. But I think there
should be some more elegant way to do it. Any idea?


Regards.

Weikai Xie

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python