<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
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>> Date: Sun, 14 Mar 2010 16:11:58 +0100<br>> From: christoph.tapler@gmx.net<br>> To: pycrypto@lists.dlitz.net<br>> Subject: Re: [pycrypto] Pycrypto working with python 3.0 or 3.1<br>> <br>> Hi Grail,<br>> <br>> I have tried to fix the test suite, but I came across a problem,<br>> which seems to be specific to Python 3. It seems to me that Python 3 <br>> behaves differently in terms of hierarchical imports.<br>> <br>> To demonstrate this difference, I have attached a small example (just <br>> start level_test.py in Python 2 / 3). If you execute this example in <br>> Python 2, everything works fine. However, in Python 3, the second <br>> (nested) import fails. I don't understand why.<br>> <br>> Do you (or anybody else of course ;-) ) have an idea how this issue <br>> could be resolved? Btw, this pattern appears several times in the test <br>> suite.<br>> <br>> Kind Regards,<br>> Christoph<br>> <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>
</html>