[Twisted-Python] Weekly Bug Summary

2014-09-28 Thread trac



Bug summary
__
Summary for 2014-09-21 through 2014-09-28
  Opened Closed  Total Change
Enhancements:  2  2   1239 +0
Defects:   4  0751 +4
Tasks: 1  1 98 +0
Regressions:   0  0  9 +0
Total: 7  3   2097 +4

|== Type Changes   |== Priority Changes   |== Component Changes   
|Defect:   +4  |Normal:  +4   |Core:  +3  
|Enhancement:  +0 |Web:   +1  
|Task: +0 



Total Tickets
Open Tickets



New / Reopened Bugs
__
= Normal =
[#7650] Support IPv6 address literals in IAgent implementations (opened by jtvjtv)
enhancement webhttp://twistedmatrix.com/trac/ticket/7650

[#7651] test_inspectCertificate fails on recent versions of OpenSSL because the "public key hash" differs (opened by glyph)
defect  core   http://twistedmatrix.com/trac/ticket/7651

[#7652] rename twisted.python.logger to twisted.logger (opened by glyph)
taskcore   http://twistedmatrix.com/trac/ticket/7652

[#7653] deprecate unused twisted.spread.jelly._unjelly_instance (opened by wolfgang61)
enhancement core   http://twistedmatrix.com/trac/ticket/7653

[#7654] UserString.UserString example in twisted.spread.jelly module docstring is broken (opened by exarkun)
defect  core   http://twistedmatrix.com/trac/ticket/7654

[#7655] UserString.UserString example in twisted.spread.jelly module docstring is broken (opened by exarkun)
defect  core   http://twistedmatrix.com/trac/ticket/7655

[#7656] UserString.UserString example in twisted.spread.jelly module docstring is broken (opened by exarkun)
defect  core   http://twistedmatrix.com/trac/ticket/7656



Closed Bugs
__
= Normal =
[#7648] Release Twisted 14.0.2 (opened by hawkowl, closed by hawkowl, fixed)
taskcore   http://twistedmatrix.com/trac/ticket/7648

[#7640] projects/core/howto/application.rst should be properly formatted (opened by hawkowl, closed by hawkowl, fixed)
enhancement core   http://twistedmatrix.com/trac/ticket/7640

[#7641] projects/core/howto/components.rst should be properly formatted (opened by hawkowl, closed by rwall, fixed)
enhancement core   http://twistedmatrix.com/trac/ticket/7641



Ticket Lifetime Stats
__
Oldest open ticket - [#50] conch command-line client doesn't work in win32 (since 2003-07-12 14:41:06).
Newest open ticket - [#7656] UserString.UserString example in twisted.spread.jelly module docstring is broken (since 2014-09-27 17:07:54.227566).

Mean open ticket age: 1409 days, 15:13:03.284595.
Median: 1163 days, 6:38:54.256636.
Standard deviation: 1026 days, 21:06:39.274523.
Interquartile range: 1616 days, 1:34:27.

Mean time between ticket creation and ticket resolution: 638 days, 16:05:25.556429.
Median: 99 days, 11:24:53.
Standard deviation is 906 days, 19:52:09.109575.
The interquartile range is 1011 days, 7:04:47.

Mean time spent in review: 103 days, 16:21:37.067832.
Median: 5 days, 6:43:00.
Standard deviation: 460 days, 18:39:52.006485.
Interquartile range: 23 days, 7:29:26.374084.

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


Contributor Stats
__
In the last 4 weeks,
17 unique ticket reporters
8 unique ticket reviewers
5 unique ticket resolvers
In the last 24 weeks,
58 unique ticket reporters
23 unique ticket reviewers
16 unique ticket resolvers
In the last 48 weeks,
106 unique ticket reporters
33 unique ticket reviewers
21 unique ticket resolvers





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


Re: [Twisted-Python] naming question before we end up committed...

2014-09-28 Thread Hynek Schlawack

 Does anyone have an opinion on renaming it to twisted.logger?  Or have a 
 better suggestion?

+1 on dropping `python` here.  That's a weird namespace anyway something as 
central as logging shouldn't be there.
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] twistedchecker TypeError: modifiedBlankLines() takes exactly 6 arguments (7 given)

2014-09-28 Thread Wolfgang Rohdewald
I am getting this traceback on about every source file like:


i5:~/ssdsrc/alt/Twisted/twisted/test (pb3) twistedchecker reflect_helper_ZDE.py
* Module reflect_helper_ZDE
W9001:  1,0: Missing copyright header
W9002:  1,0: Missing a reference to test module in header
C0103:  1,0: Invalid name reflect_helper_ZDE for type module (should match 
(([a-z_][a-z0-9_]*))$)
W9208:  1,0: Missing docstring
Traceback (most recent call last):
  File /usr/local/bin/twistedchecker, line 5, in module
pkg_resources.run_script('TwistedChecker==0.2.0', 'twistedchecker')
  File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 528, in 
run_script
self.require(requires)[0].run_script(script_name, ns)
  File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 1394, in 
run_script
execfile(script_filename, namespace, namespace)
  File 
/usr/lib/python2.7/dist-packages/TwistedChecker-0.2.0-py2.7.egg/EGG-INFO/scripts/twistedchecker,
 line 10, in module
Runner().run(sys.argv[1:])
  File 
/usr/lib/python2.7/dist-packages/TwistedChecker-0.2.0-py2.7.egg/twistedchecker/core/runner.py,
 line 325, in run
self.linter.check(args)
  File 
/usr/lib/python2.7/dist-packages/pylint-0.26.0-py2.7.egg/pylint/lint.py, line 
542, in check
self.check_astng_module(astng, walker, rawcheckers)
  File 
/usr/lib/python2.7/dist-packages/pylint-0.26.0-py2.7.egg/pylint/lint.py, line 
615, in check_astng_module
walker.walk(astng)
  File 
/usr/lib/python2.7/dist-packages/pylint-0.26.0-py2.7.egg/pylint/utils.py, 
line 553, in walk
cb(astng)
  File 
/usr/lib/python2.7/dist-packages/TwistedChecker-0.2.0-py2.7.egg/twistedchecker/checkers/pep8format.py,
 line 179, in visit_module
self._runPEP8Checker(node.file)
  File 
/usr/lib/python2.7/dist-packages/TwistedChecker-0.2.0-py2.7.egg/twistedchecker/checkers/pep8format.py,
 line 188, in _runPEP8Checker
recorder = PEP8WarningRecorder(file)
  File 
/usr/lib/python2.7/dist-packages/TwistedChecker-0.2.0-py2.7.egg/twistedchecker/checkers/pep8format.py,
 line 49, in __init__
self.run()
  File 
/usr/lib/python2.7/dist-packages/TwistedChecker-0.2.0-py2.7.egg/twistedchecker/checkers/pep8format.py,
 line 78, in run
pep8.Checker.check_all(self)
  File /usr/lib/python2.7/dist-packages/pep8-1.5.7-py2.7.egg/pep8.py, line 
1445, in check_all
self.check_logical()
  File /usr/lib/python2.7/dist-packages/pep8-1.5.7-py2.7.egg/pep8.py, line 
1338, in check_logical
for offset, text in self.run_check(check, argument_names) or ():
  File /usr/lib/python2.7/dist-packages/pep8-1.5.7-py2.7.egg/pep8.py, line 
1278, in run_check
return check(*arguments)
TypeError: modifiedBlankLines() takes exactly 6 arguments (7 given)


-- 
Wolfgang

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


Re: [Twisted-Python] naming question before we end up committed...

2014-09-28 Thread Chris
+1 for twisted.logger.

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


Re: [Twisted-Python] twistedchecker TypeError: modifiedBlankLines() takes exactly 6 arguments (7 given)

2014-09-28 Thread Glyph
How did you install twistedchecker?

-glyph

On Sep 27, 2014, at 11:52 PM, Wolfgang Rohdewald wolfgang@rohdewald.de 
wrote:

 I am getting this traceback on about every source file like:
 
 
 i5:~/ssdsrc/alt/Twisted/twisted/test (pb3) twistedchecker 
 reflect_helper_ZDE.py
 * Module reflect_helper_ZDE
 W9001:  1,0: Missing copyright header
 W9002:  1,0: Missing a reference to test module in header
 C0103:  1,0: Invalid name reflect_helper_ZDE for type module (should match 
 (([a-z_][a-z0-9_]*))$)
 W9208:  1,0: Missing docstring
 Traceback (most recent call last):
  File /usr/local/bin/twistedchecker, line 5, in module
pkg_resources.run_script('TwistedChecker==0.2.0', 'twistedchecker')
  File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 528, in 
 run_script
self.require(requires)[0].run_script(script_name, ns)
  File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 1394, in 
 run_script
execfile(script_filename, namespace, namespace)
  File 
 /usr/lib/python2.7/dist-packages/TwistedChecker-0.2.0-py2.7.egg/EGG-INFO/scripts/twistedchecker,
  line 10, in module
Runner().run(sys.argv[1:])
  File 
 /usr/lib/python2.7/dist-packages/TwistedChecker-0.2.0-py2.7.egg/twistedchecker/core/runner.py,
  line 325, in run
self.linter.check(args)
  File 
 /usr/lib/python2.7/dist-packages/pylint-0.26.0-py2.7.egg/pylint/lint.py, 
 line 542, in check
self.check_astng_module(astng, walker, rawcheckers)
  File 
 /usr/lib/python2.7/dist-packages/pylint-0.26.0-py2.7.egg/pylint/lint.py, 
 line 615, in check_astng_module
walker.walk(astng)
  File 
 /usr/lib/python2.7/dist-packages/pylint-0.26.0-py2.7.egg/pylint/utils.py, 
 line 553, in walk
cb(astng)
  File 
 /usr/lib/python2.7/dist-packages/TwistedChecker-0.2.0-py2.7.egg/twistedchecker/checkers/pep8format.py,
  line 179, in visit_module
self._runPEP8Checker(node.file)
  File 
 /usr/lib/python2.7/dist-packages/TwistedChecker-0.2.0-py2.7.egg/twistedchecker/checkers/pep8format.py,
  line 188, in _runPEP8Checker
recorder = PEP8WarningRecorder(file)
  File 
 /usr/lib/python2.7/dist-packages/TwistedChecker-0.2.0-py2.7.egg/twistedchecker/checkers/pep8format.py,
  line 49, in __init__
self.run()
  File 
 /usr/lib/python2.7/dist-packages/TwistedChecker-0.2.0-py2.7.egg/twistedchecker/checkers/pep8format.py,
  line 78, in run
pep8.Checker.check_all(self)
  File /usr/lib/python2.7/dist-packages/pep8-1.5.7-py2.7.egg/pep8.py, line 
 1445, in check_all
self.check_logical()
  File /usr/lib/python2.7/dist-packages/pep8-1.5.7-py2.7.egg/pep8.py, line 
 1338, in check_logical
for offset, text in self.run_check(check, argument_names) or ():
  File /usr/lib/python2.7/dist-packages/pep8-1.5.7-py2.7.egg/pep8.py, line 
 1278, in run_check
return check(*arguments)
 TypeError: modifiedBlankLines() takes exactly 6 arguments (7 given)
 
 
 -- 
 Wolfgang
 
 ___
 Twisted-Python mailing list
 Twisted-Python@twistedmatrix.com
 http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


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


Re: [Twisted-Python] INCOMPATIBLE CHANGE: twisted.python.threadpool

2014-09-28 Thread Joshua Bartlett
On 26 September 2014 08:31, Glyph Lefkowitz gl...@twistedmatrix.com wrote:

 So, does anyone out there have any code which makes use of the
 aforementioned bad attributes of ThreadPool, whose applications would break
 if I removed them?  If so, how can I make you feel as bad about yourselves
 for using it as I feel bad about myself for writing it? ;-)



There are a few times in a codebase I help maintain where we want a thread
pool of all daemon threads. The code we have for this overrides
threadFactory() like so:


class DaemonThreadPool(ThreadPool):
def threadFactory(self, *args, **kwargs):
t = threading.Thread(*args, **kwargs)
t.setDaemon(True)
return t


How would I do this with your proposed new API?

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