Message98346
| Author | skrah |
|---|---|
| Recipients | facundobatista, jjconti, mark.dickinson, rhettinger, skrah |
| Date | 2010-01-26.18:41:28 |
| SpamBayes Score | 7.6157936e-05 |
| Marked as misclassified | No |
| Message-id | <1264531290.11.0.954773555913.issue7633@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
If none of you is working on it right now, I'll produce a new patch.
Mark, how about this:
def __add__(self, other, context=None, raiseit=False):
"""Returns self + other.
-INF + INF (or the reverse) cause InvalidOperation errors.
"""
other = _convert_other(other, raiseit)
if other is NotImplemented:
return other
Then the context functions could look cleaner. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010-01-26 18:41:31 | skrah | set | recipients: + skrah, rhettinger, facundobatista, mark.dickinson, jjconti |
| 2010-01-26 18:41:30 | skrah | set | messageid: <1264531290.11.0.954773555913.issue7633@psf.upfronthosting.co.za> |
| 2010-01-26 18:41:28 | skrah | link | issue7633 messages |
| 2010-01-26 18:41:28 | skrah | create | |