<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] _sha256.sha224 isn&#39;t implemented</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_2">2. <span class="tocTitle">[New comment] Implement the _hashlib module</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_3">3. <span class="tocTitle">[New comment] Implement the _hashlib module</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_4">4. <span class="tocTitle">[New comment] Nuget needs to be updated with IronPython 2.7&#43;</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_5">5. <span class="tocTitle">[New comment] Nuget needs to be updated with IronPython 2.7&#43;</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_6">6. <span class="tocTitle">[New issue] Improve Release build process</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_7">7. <span class="tocTitle">[New comment] Please add a function somewhere which returns the underlying byte&#91;&#93; from a bytes object</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_8">8. <span class="tocTitle">[New comment] Please add a function somewhere which returns the underlying byte&#91;&#93; from a bytes object</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_9">9. <span class="tocTitle">[New comment] Please add a function somewhere which returns the underlying byte&#91;&#93; from a bytes object</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_10">10. <span class="tocTitle">[New comment] Please add a function somewhere which returns the underlying byte&#91;&#93; from a bytes object</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_11">11. <span class="tocTitle">[New comment] Please add a function somewhere which returns the underlying byte&#91;&#93; from a bytes object</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_12">12. <span class="tocTitle">[New comment] Please add a function somewhere which returns the underlying byte&#91;&#93; from a bytes object</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_13">13. <span class="tocTitle">[New comment] Please add a function somewhere which returns the underlying byte&#91;&#93; from a bytes object</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_14">14. <span class="tocTitle">[New comment] Please add a function somewhere which returns the underlying byte&#91;&#93; from a bytes object</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_15">15. <span class="tocTitle">[New comment] Please add a function somewhere which returns the underlying byte&#91;&#93; from a bytes object</span>&nbsp;<span class="anchorMarker">&darr;</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] _sha256.sha224 isn&#39;t implemented</span> <a href="http://ironpython.codeplex.com/workitem/16870">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Mono has an implementation of SHA224, can we pull it in and use it&#63;"</p></div><div class="topic"><a name="toc_issue_2"></a><div class="topicHeader"><span class="topicTitle">2. [New comment] Implement the _hashlib module</span> <a href="http://ironpython.codeplex.com/workitem/21408">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Markus, what specifically are you looking for from _hashlib&#63; We already implement _sha and friends &#40;minus sha224&#41;."</p></div><div class="topic"><a name="toc_issue_3"></a><div class="topicHeader"><span class="topicTitle">3. [New comment] Implement the _hashlib module</span> <a href="http://ironpython.codeplex.com/workitem/21408">view online</a></div><p>User jdhardy has commented on the issue:</p><p>"Well, it&#39;s a judgement call, but since I don&#39;t think it will ever be implemented, it might as well be closed. It can always be re-opened if needed."</p></div><div class="topic"><a name="toc_issue_4"></a><div class="topicHeader"><span class="topicTitle">4. [New comment] Nuget needs to be updated with IronPython 2.7&#43;</span> <a href="http://ironpython.codeplex.com/workitem/31126">view online</a></div><p>User jdhardy has commented on the issue:</p><p>"This is critical for 2.7.1, as I&#39;ve put it off for far too long. It will require some improvements to the build system that I&#39;d like to make anyway &#40;namely the zip building, which can then be used to build the Nuget package if it wasn&#39;t immediately thrown away&#41;."</p></div><div class="topic"><a name="toc_issue_5"></a><div class="topicHeader"><span class="topicTitle">5. [New comment] Nuget needs to be updated with IronPython 2.7&#43;</span> <a href="http://ironpython.codeplex.com/workitem/31126">view online</a></div><p>User jdhardy has commented on the issue:</p><p>"See &#91;workitem&#58;31144&#93; for more."</p></div><div class="topic"><a name="toc_issue_6"></a><div class="topicHeader"><span class="topicTitle">6. [New issue] Improve Release build process</span> <a href="http://ironpython.codeplex.com/workitem/31144">view online</a></div><p>User jdhardy has proposed the issue:</p><p>"The zip build process is a bit clunky at the moment. It would be nice to be able to re-use the same staging directory for zip generation, nuget packages, CI artifacts, and even a revamped MSI builder.<br /><br />First off, the staging directory construction should be moved to a MSBuild file so that it can be cross-platform. The actual package construction can then be done in MSBuild files as well."</p></div><div class="topic"><a name="toc_issue_7"></a><div class="topicHeader"><span class="topicTitle">7. [New comment] Please add a function somewhere which returns the underlying byte&#91;&#93; from a bytes object</span> <a href="http://ironpython.codeplex.com/workitem/27175">view online</a></div><p>User jdhardy has commented on the issue:</p><p>"At the very least there should be a ToByteArray &#40;or whatever&#41; method that makes a copy &#40;this has bit me before&#41;. It seems to me that getting at the raw _bytes isn&#39;t always possible, but it&#39;s been a while since I looked at it."</p></div><div class="topic"><a name="toc_issue_8"></a><div class="topicHeader"><span class="topicTitle">8. [New comment] Please add a function somewhere which returns the underlying byte&#91;&#93; from a bytes object</span> <a href="http://ironpython.codeplex.com/workitem/27175">view online</a></div><p>User adal has commented on the issue:</p><p>"A copy of the internal bytes would be fine.<br /><br />Ideally you would get the original, to avoid copying data &#40;in my use case I worked with gigabytes&#41;.<br /><br />Maybe an extra method could be added, GetUnderlyingByteArray&#40;&#41; which would return None if it fails to retrieve it and then you could fall back to the copy.<br />"</p></div><div class="topic"><a name="toc_issue_9"></a><div class="topicHeader"><span class="topicTitle">9. [New comment] Please add a function somewhere which returns the underlying byte&#91;&#93; from a bytes object</span> <a href="http://ironpython.codeplex.com/workitem/27175">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Looking at the Bytes.cs, I don&#39;t see a case where you couldn&#39;t grab a copy of the internal _bytes. &#64;jdhardy are you thinking of PythonBuffer&#63;"</p></div><div class="topic"><a name="toc_issue_10"></a><div class="topicHeader"><span class="topicTitle">10. [New comment] Please add a function somewhere which returns the underlying byte&#91;&#93; from a bytes object</span> <a href="http://ironpython.codeplex.com/workitem/27175">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Also, Bytes implements IList&#60;byte&#62; &#40;which means it implements IEnumerable&#60;byte&#62;&#41; so you should be able to call ToArray&#40;&#41; extension method already to get a copy of the data in byte&#91;&#93; form. We could still probably expose an internal pointer to the _bytes member with the understanding that it can have repercussions for using it."</p></div><div class="topic"><a name="toc_issue_11"></a><div class="topicHeader"><span class="topicTitle">11. [New comment] Please add a function somewhere which returns the underlying byte&#91;&#93; from a bytes object</span> <a href="http://ironpython.codeplex.com/workitem/27175">view online</a></div><p>User adal has commented on the issue:</p><p>"ToArray doesn&#39;t seem to work.<br /><br />&#62;&#62;&#62; b&#34;test&#34;.ToArray&#40;&#41;<br />Traceback &#40;most recent call last&#41;&#58;<br />  File &#34;&#60;stdin&#62;&#34;, line 1, in &#60;module&#62;<br />AttributeError&#58; &#39;bytes&#39; object has no attribute &#39;ToArray&#39;<br />"</p></div><div class="topic"><a name="toc_issue_12"></a><div class="topicHeader"><span class="topicTitle">12. [New comment] Please add a function somewhere which returns the underlying byte&#91;&#93; from a bytes object</span> <a href="http://ironpython.codeplex.com/workitem/27175">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"I thought this was to be used from the C&#35;, C&#43;&#43;&#47;CLI side, not from the python side."</p></div><div class="topic"><a name="toc_issue_13"></a><div class="topicHeader"><span class="topicTitle">13. [New comment] Please add a function somewhere which returns the underlying byte&#91;&#93; from a bytes object</span> <a href="http://ironpython.codeplex.com/workitem/27175">view online</a></div><p>User adal has commented on the issue:</p><p>"I need to get in Python a byte&#91;&#93; from a Python bytes object to pass to other C&#35; or C&#43;&#43;&#47;CLI modules which take as arguments byte&#91;&#93;. Passing the Python bytes object directly would also be nice.<br />"</p></div><div class="topic"><a name="toc_issue_14"></a><div class="topicHeader"><span class="topicTitle">14. [New comment] Please add a function somewhere which returns the underlying byte&#91;&#93; from a bytes object</span> <a href="http://ironpython.codeplex.com/workitem/27175">view online</a></div><p>User adal has commented on the issue:</p><p>"For example<br />file &#61; System.IO.BinaryWriter&#40;...&#41;<br />file.Write&#40;b&#34;test&#34;&#41;<br />file.Close&#40;&#41;<br />"</p></div><div class="topic"><a name="toc_issue_15"></a><div class="topicHeader"><span class="topicTitle">15. [New comment] Please add a function somewhere which returns the underlying byte&#91;&#93; from a bytes object</span> <a href="http://ironpython.codeplex.com/workitem/27175">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"In light of that, I propose the following methods&#58;<br /><br />         &#47;&#47;&#47; &#60;summary&#62;<br />        &#47;&#47;&#47; Returns a copy of the internal byte array.<br />        &#47;&#47;&#47; &#60;&#47;summary&#62;<br />        public byte&#91;&#93; ToByteArray&#40;&#41; &#123;<br />            byte&#91;&#93; res &#61; new byte&#91;_bytes.Length&#93;&#59;<br />            _bytes.CopyTo&#40;res, 0&#41;&#59;<br />            return res&#59;<br />        &#125;<br /><br />        &#47;&#47;&#47; &#60;summary&#62;<br />        &#47;&#47;&#47; Allows access to the internal byte array representation.<br />        &#47;&#47;&#47; This method should be used sparingly&#33;<br />        &#47;&#47;&#47; &#60;&#47;summary&#62;<br />        public byte&#91;&#93; GetUnderlyingByteArray&#40;&#41; &#123;<br />            return _bytes&#59;<br />        &#125;<br /><br />        <br />"</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="https://ironpython.codeplex.com/subscriptions/workitem/project/edit">unsubscribe or change your issue notification settings</a> on CodePlex.com.</p></div></div></body></html>