bugrdiff-backup - Bugs: bug #25529, Warning suppression in hash.py...

 
 

bug #25529: Warning suppression in hash.py doesn't work with Python 2.2

Submitted by:  None
Submitted on:  Mon 09 Feb 2009 05:36:44 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 10 Feb 2009 06:34:37 PM UTC, comment #1:

Thanks for the feedback. I have fixed this bug in CVS, and it will be included in 1.2.7 and 1.3.2. I have also narrowed the filter to only filter for the sha module DeprecationWarning.

http://cvs.savannah.gnu.org/viewvc/rdiff-backup/rdiff_backup/hash.py?root=rdiff-backup&r1=1.4&r2=1.5

Andrew Ferguson <owsla>
Project Administrator
Mon 09 Feb 2009 05:36:44 PM UTC, original submission:

This fix, intended to silence warnings, breaks on Python 2.2 where warnings.simplefilter() isn't available:

http://cvs.savannah.gnu.org/viewvc/rdiff-backup/rdiff_backup/hash.py?root=rdiff-backup&r1=1.3&r2=1.4

(As an aside, is it really good manners to insert a global warning for everything, rather than fine-tune it to silence the warning just for the one module that is known to be deprecated?)

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by owsla (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 10 Feb 2009 06:34:37 PM UTCowslaStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1