Changes between and of Initial VersionVersion 1Ticket #3996
- Timestamp:
- 09/01/2009 11:38:42 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3996
- Property cc thijs added
-
Ticket #3996 – description
initial v1 1 1 log.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: 2 2 3 {{{ 4 #!python 3 5 from twisted.python import failure 4 6 failure.Failure("Test") 5 7 main__:1: DeprecationWarning?: Don't pass strings (like 'Test') to failure.Failure (replacing with a DefaultException?). 6 8 <twisted.python.failure.Failure <class 'twisted.python.failure.DefaultException?'>> 9 }}} 7 10 8 11 so to skirt the DeprecationWarning and future unwanted behavior something else needs to be done with the strings to these log.err instances.
