<html><head><style type="text/css" media="screen">Body{font-family: Verdana;font-size:.75em;}h4{font-size:.9em;}a{color: #3a62a6;}.digest .toc {margin-bottom: 15px; padding-bottom:8px; border-bottom: 1px solid #ccc;}.digest .tocItem {margin-bottom: 15px;}.tocItem a{color:#000;text-decoration: none;}.tocItem a:hover{color: #3a62a6;text-decoration: underline;}.topic{padding-bottom: 8px;margin-bottom: 20px; border-bottom: 1px solid #ccc;}.topicHeader{margin-bottom:10px;}.topicTitle{font-weight: bold;}.replies p{margin:0;padding:0;}.replies hr{width: 15%;text-align: left;margin: 0 auto 5px 0;border: none 0;border-top: 1px solid #ccc;height: 1px;}.reply{margin-bottom: 6px;padding-bottom: 4px;}.anchorMarker{color: #3a62a6;}.footer{color: gray;}</style></head><body><div class="digest"><p>Hi ironpython,</p><p>Here's your Daily Digest of new issues for project "<a href="http://ironpython.codeplex.com/">IronPython</a>".</p><p>In today's digest:</p><h4>ISSUES</h4><div class="toc"><div class="tocItem"><a href="#toc_issue_1">1. <span class="tocTitle">[New comment] BaseHTTPServer doesn't accept empty string as server address like CPython does</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_2">2. <span class="tocTitle">[New comment] ast.literal_eval in IronPython raises exception for negative numbers in expressions</span> <span class="anchorMarker">↓</span></a></div></div><h4>ISSUES</h4><div class="topic"><a name="toc_issue_1"></a><div class="topicHeader"><span class="topicTitle">1. [New comment] BaseHTTPServer doesn't accept empty string as server address like CPython does</span> <a href="http://ironpython.codeplex.com/workitem/29477">view online</a></div><p>User paweljasinski has commented on the issue:</p><p>"<p>I found this old post.<br>http://lists.ironpython.com/pipermail/users-ironpython.com/2010-April/012518.html</p><p>socket.getfqdn does not behave as expected.</p><p>```<br>&gt;&gt;&gt; import socket<br>&gt;&gt;&gt; socket.getfqdn()<br>''<br>&gt;&gt;&gt; socket.getfqdn(&quot;&quot;)<br>''<br>&gt;&gt;&gt; socket.getfqdn(&quot;0.0.0.0&quot;)<br>Traceback (most recent call last):<br>  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>ValueError: IPv4 address 0.0.0.0 and IPv6 address ::0 are unspecified addresses that cannot be used as<br>a target address.<br>Parameter name: hostNameOrAddress<br>```</p>"</p></div><div class="topic"><a name="toc_issue_2"></a><div class="topicHeader"><span class="topicTitle">2. [New comment] ast.literal_eval in IronPython raises exception for negative numbers in expressions</span> <a href="http://ironpython.codeplex.com/workitem/35572">view online</a></div><p>User paweljasinski has commented on the issue:</p><p>"<p>The formatting is giving me a headache. I swear it looked good in preview.<br>This is one more test:</p><p>```<br>import ast</p><p>class Fix(ast.NodeTransformer):<br>    def visit_UnaryOp(self, node):<br>        if isinstance(node.operand, ast.Num):<br>            if isinstance(node.op, ast.USub):<br>                node.operand.n=-node.operand.n<br>                return node.operand<br>            if isinstance(node.op, ast.UAdd):<br>                return node.operand<br>        return node</p><p>def literal_eval_fix(string_only):<br>    tree = ast.parse(string_only, mode=&quot;eval&quot; )<br>    tree = Fix().visit(tree)<br>    return ast.literal_eval(tree)</p><p>print literal_eval_fix(&quot;42&quot;)<br>print literal_eval_fix(&quot;-42&quot;)<br>print literal_eval_fix(&quot;{ -1:-2, 2:'aaaaa'}&quot;)<br>``` </p>"</p></div><div class="footer"><p>You are receiving this email because you subscribed to notifications on CodePlex.</p><p>To report a bug, request a feature, or add a comment, visit <a href="http://ironpython.codeplex.com/workitem/list/basic">IronPython Issue Tracker</a>. You can <a href="http://ironpython.codeplex.com/subscriptions/workitem/project/edit">unsubscribe or change your issue notification settings</a> on CodePlex.com.</p></div></div></body></html>