Changes between and of Initial VersionVersion 1Ticket #3996


Ignore:
Timestamp:
09/01/2009 09:38:42 AM (5 years ago)
Author:
thijs
Comment:

Fixing description markup

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3996

    • Property Cc thijs added
  • Ticket #3996 – Description

    initial v1  
    11log.err() is called with just one string all over the place even though the first parameter, _stuff, is type: NoneType?, Exception, or Failure according to the docs. Say the docs, _stuff "will be wrapped in a Failure". However: 
    22 
     3{{{ 
     4#!python 
    35from twisted.python import failure 
    46failure.Failure("Test") 
    57main__:1: DeprecationWarning?: Don't pass strings (like 'Test') to failure.Failure (replacing with a DefaultException?). 
    68<twisted.python.failure.Failure <class 'twisted.python.failure.DefaultException?'>> 
     9}}} 
    710 
    811so to skirt the DeprecationWarning and future unwanted behavior something else needs to be done with the strings to these log.err instances.