Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #18836
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:code': 0.07; '>>>>': 0.09; 'portions': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'subject:was': 0.15; '"copyright",': 0.16; '"credits"': 0.16; '"license"': 0.16; 'bieber': 0.16; 'email addr:ix.netcom.com': 0.16; 'email name:wlfraed': 0.16; 'from:addr:ix.netcom.com': 0.16; 'from:addr:wlfraed': 0.16; 'from:name:dennis lee bieber': 0.16; 'hashlib': 0.16; 'linux2': 0.16; 'message-id:@4ax.com': 0.16; 'pythonwin': 0.16; 'received:wlfraed': 0.16; 'url:netcom': 0.16; 'url:wlfraed': 0.16; 'wulfraed': 0.16; 'wed,': 0.17; 'wrote:': 0.18; '>>>': 0.18; 'jan': 0.19; 'subject:not': 0.21; 'url:home': 0.21; 'feb': 0.22; '+0100,': 0.23; 'received:166': 0.23; 'sep': 0.23; 'import': 0.27; 'lee': 0.28; 'bit': 0.28; "skip:' 30": 0.29; 'skip:> 30': 0.30; 'header:X-Complaints-To:1': 0.33; 'to:addr :python-list': 0.34; 'charset:us-ascii': 0.37; 'received:org': 0.38; 'mark': 0.39; 'to:addr:python.org': 0.40; 'more': 0.61; 'copyright': 0.64; 'further': 0.64; '2012': 0.67; 'dennis': 0.73; '2.7.1': 0.84; 'subject::': 0.87; 'here...': 0.91; 'subject:found': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
| Subject | Re: ERROR:root:code for hash md5 was not found |
| Date | Wed, 11 Jan 2012 12:12:45 -0500 |
| References | <f777e948-02ca-45d3-a858-73e0003d7bcc@t13g2000vbt.googlegroups.com> <4F0D7274.9080905@gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | mobile-166-147-101-182.mycingular.net |
| X-Newsreader | Forte Agent 6.00/32.1186 |
| X-No-Archive | YES |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4654.1326301984.27778.python-list@python.org> (permalink) |
| Lines | 40 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1326301984 news.xs4all.nl 6896 [2001:888:2000:d::a6]:40964 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:18836 |
Show key headers only | View raw
On Wed, 11 Jan 2012 12:28:52 +0100, Laurent Claessens
<moky.math@gmail.com> wrote:
>
>Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)
>[GCC 4.4.5] on linux2
>Type "help", "copyright", "credits" or "license" for more information.
>>>> import hashlib
>>>> h=hashlib.new("md5")
>>>> h.update("Hello")
>>>> h.hexdigest()
>'d992641f1b2b9c08b569c0a17c4e7cb8'
>
Interesting... I get a different result here...
PythonWin 2.7.1 (r271:86832, Feb 7 2011, 11:33:02) [MSC v.1500 64 bit
(AMD64)] on win32.
Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin'
for further copyright information.
>>> import hashlib
>>> h = hashlib.new("md5")
>>> h.update("Hello")
>>> h.hexdigest()
'8b1a9953c4611296a827abf8c47804d7'
>>>
PythonWin 2.7.1 (r271:86832, Feb 7 2011, 11:30:38) [MSC v.1500 32 bit
(Intel)] on win32.
Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin'
for further copyright information.
>>> import hashlib
>>> h = hashlib.new("md5")
>>> h.update("Hello")
>>> h.hexdigest()
'8b1a9953c4611296a827abf8c47804d7'
>>>
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ERROR:root:code for hash md5 was not found mike <mikaelpetterson1@gmail.com> - 2012-01-11 03:19 -0800
Re: ERROR:root:code for hash md5 was not found Laurent Claessens <moky.math@gmail.com> - 2012-01-11 12:28 +0100
Re: ERROR:root:code for hash md5 was not found mike <mikaelpetterson1@gmail.com> - 2012-01-11 05:54 -0800
Re: ERROR:root:code for hash md5 was not found Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-11 23:28 +0000
Re: ERROR:root:code for hash md5 was not found mike <mikaelpetterson1@gmail.com> - 2012-01-11 22:13 -0800
Re: ERROR:root:code for hash md5 was not found mike <mikaelpetterson1@gmail.com> - 2012-01-11 23:25 -0800
Re: ERROR:root:code for hash md5 was not found Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-13 03:34 +0000
Re: ERROR:root:code for hash md5 was not found alex23 <wuwei23@gmail.com> - 2012-01-12 20:41 -0800
Re: ERROR:root:code for hash md5 was not found mike <mikaelpetterson1@gmail.com> - 2012-01-13 06:14 -0800
Re: ERROR:root:code for hash md5 was not found Michael Torrie <torriem@gmail.com> - 2012-01-13 09:49 -0700
Re: ERROR:root:code for hash md5 was not found Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-14 04:30 +0000
Re: ERROR:root:code for hash md5 was not found Marc Christiansen <usenet@solar-empire.de> - 2012-01-14 13:33 +0100
Re: ERROR:root:code for hash md5 was not found Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-01-11 12:12 -0500
Re: ERROR:root:code for hash md5 was not found Terry Reedy <tjreedy@udel.edu> - 2012-01-11 13:25 -0500
Re: ERROR:root:code for hash md5 was not found Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-01-11 21:23 -0500
csiph-web