[issue14278] email.utils.localtime throws exception if time.daylight is False

2012-03-14 Thread R. David Murray
R. David Murray added the comment: Fixed in the email6 feature branch. Thanks Brian. -- status: open -> closed ___ Python tracker ___ __

[issue14278] email.utils.localtime throws exception if time.daylight is False

2012-03-14 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray resolution: -> fixed stage: -> committed/rejected type: -> behavior ___ Python tracker ___ ___

[issue14278] email.utils.localtime throws exception if time.daylight is False

2012-03-14 Thread Brian Jones
Changes by Brian Jones : -- nosy: +Brian.Jones ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14278] email.utils.localtime throws exception if time.daylight is False

2012-03-13 Thread R. David Murray
R. David Murray added the comment: Thanks, Brian. (For the record, this is a bug in email6 code that hasn't been checked into trunk yet.) -- ___ Python tracker ___ ___

[issue14278] email.utils.localtime throws exception if time.daylight is False

2012-03-13 Thread Brian Jones
Changes by Brian Jones : -- nosy: +r.david.murray -Brian.Jones ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14278] email.utils.localtime throws exception if time.daylight is False

2012-03-12 Thread Brian Jones
New submission from Brian Jones : In email.utils.localtime, there's a variable 'offset' that will only exist if time.daylight evaluates to True. If time.daylight evaluates to False, you'll get an UnboundLocalError, because 'offset' is being referenced without being assigned. The attached pat