- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
Message65836
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | zathras |
|---|---|
| Recipients | zathras |
| Date | 2008-04-26.08:47:15 |
| SpamBayes Score | 0.08424998 |
| Marked as misclassified | No |
| Message-id | <1209199638.72.0.800736981101.issue2695@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Small change to allow get_algorithm_impls to correctly detect when lower
case algorithm strings are passed. I recently ran into a server that
sent 'md5' and so this function failed without this small change.
def get_algorithm_impls(self, algorithm):
# lambdas assume digest modules are imported at the top level
if algorithm.lower() == 'md5':
H = lambda x: hashlib.md5(x).hexdigest()
elif algorithm.lower() == 'sha':
H = lambda x: hashlib.sha1(x).hexdigest()
... |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-04-26 08:47:19 | zathras | set | spambayes_score: 0.08425 -> 0.08424998 recipients: + zathras |
| 2008-04-26 08:47:18 | zathras | set | spambayes_score: 0.08425 -> 0.08425 messageid: <1209199638.72.0.800736981101.issue2695@psf.upfronthosting.co.za> |
| 2008-04-26 08:47:17 | zathras | link | issue2695 messages |
| 2008-04-26 08:47:16 | zathras | create | |

