Changes between Version 8 and Version 9 of Ticket #2268


Ignore:
Timestamp:
04/09/2015 08:42:32 PM (5 years ago)
Author:
sebastian
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2268

    • Property Summary changed from Get rid of setupStderr() to Deprecate setupStderr()
  • Ticket #2268 – Description

    v8 v9  
    66Moreover, we have more boilerplate code importing and calling `setupStderr()` than code actually writing to `sys.stderr`. 
    77 
     8However, it's not feasible to get rid of it at once, as this would require to test every single script. But deprecating it would be a good idea.  
     9 
    810=== What to change === 
    9 Remove the `setupStderr()` function and use the `logging` module to log warnings instead. 
     11Deprecate `setupStderr()` showing a warning when running the script during development. 
  • Ticket #2268 – Review URL(s)

    v8 v9  
    1 http://codereview.adblockplus.org/5269622571925504 
     1http://codereview.adblockplus.org/4790980679041024