diff options
Diffstat (limited to 'pipermail/pycrypto/attachments/20100317/e858551a/attachment.htm')
-rw-r--r-- | pipermail/pycrypto/attachments/20100317/e858551a/attachment.htm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pipermail/pycrypto/attachments/20100317/e858551a/attachment.htm b/pipermail/pycrypto/attachments/20100317/e858551a/attachment.htm new file mode 100644 index 0000000..ed95dc4 --- /dev/null +++ b/pipermail/pycrypto/attachments/20100317/e858551a/attachment.htm @@ -0,0 +1,20 @@ +<tt> +<html><br> +<head><br> +<style><!--<br> +.hmmessage P<br> +{<br> +margin:0px;<br> +padding:0px<br> +}<br> +body.hmmessage<br> +{<br> +font-size: 10pt;<br> +font-family:Verdana<br> +}<br> +--></style><br> +</head><br> +<body class='hmmessage'><br> +Ok ... so had a look at this and the only change to make is in the __init__.py under level1<div><br></div><div>change: import level2</div><div><br></div><div>to: from . import level2</div><div><br></div><div>All works good ;)<br><br>&gt; Date: Sun, 14 Mar 2010 16:11:58 +0100<br>&gt; From: christoph.tapler@gmx.net<br>&gt; To: pycrypto@lists.dlitz.net<br>&gt; Subject: Re: [pycrypto] Pycrypto working with python 3.0 or 3.1<br>&gt; <br>&gt; Hi Grail,<br>&gt; <br>&gt; I have tried to fix the test suite, but I came across a problem,<br>&gt; which seems to be specific to Python 3. It seems to me that Python 3 <br>&gt; behaves differently in terms of hierarchical imports.<br>&gt; <br>&gt; To demonstrate this difference, I have attached a small example (just <br>&gt; start level_test.py in Python 2 / 3). If you execute this example in <br>&gt; Python 2, everything works fine. However, in Python 3, the second <br>&gt; (nested) import fails. I don't understand why.<br>&gt; <br>&gt; Do you (or anybody else of course ;-) ) have an idea how this issue <br>&gt; could be resolved? Btw, this pattern appears several times in the test <br>&gt; suite.<br>&gt; <br>&gt; Kind Regards,<br>&gt; Christoph<br>&gt; <br><br><div style="z-index: -1; position:absolute; top:0px; left: 0px; width: 100%; height: 1542px;"></div></div>                                            <br /><hr />Meet local singles online. <a href='http://clk.atdmt.com/NMN/go/150855801/direct/01/' target='_new'>Browse profiles for FREE!</a></body><br> +</html> +</tt> |