<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't implemented</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_2">2. <span class="tocTitle">[New comment] Implement the _hashlib module</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_3">3. <span class="tocTitle">[New comment] Implement the _hashlib module</span> <span class="anchorMarker">↓</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+</span> <span class="anchorMarker">↓</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+</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_6">6. <span class="tocTitle">[New issue] Improve Release build process</span> <span class="anchorMarker">↓</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[] from a bytes object</span> <span class="anchorMarker">↓</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[] from a bytes object</span> <span class="anchorMarker">↓</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[] from a bytes object</span> <span class="anchorMarker">↓</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[] from a bytes object</span> <span class="anchorMarker">↓</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[] from a bytes object</span> <span class="anchorMarker">↓</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[] from a bytes object</span> <span class="anchorMarker">↓</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[] from a bytes object</span> <span class="anchorMarker">↓</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[] from a bytes object</span> <span class="anchorMarker">↓</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[] from a bytes object</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] _sha256.sha224 isn'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?"</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? We already implement _sha and friends (minus sha224)."</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's a judgement call, but since I don'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+</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've put it off for far too long. It will require some improvements to the build system that I'd like to make anyway (namely the zip building, which can then be used to build the Nuget package if it wasn't immediately thrown away)."</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+</span> <a href="http://ironpython.codeplex.com/workitem/31126">view online</a></div><p>User jdhardy has commented on the issue:</p><p>"See [workitem:31144] 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[] 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 (or whatever) method that makes a copy (this has bit me before). It seems to me that getting at the raw _bytes isn't always possible, but it'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[] 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 (in my use case I worked with gigabytes).<br /><br />Maybe an extra method could be added, GetUnderlyingByteArray() 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[] 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't see a case where you couldn't grab a copy of the internal _bytes. @jdhardy are you thinking of PythonBuffer?"</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[] 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<byte> (which means it implements IEnumerable<byte>) so you should be able to call ToArray() extension method already to get a copy of the data in byte[] 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[] 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't seem to work.<br /><br />>>> b"test".ToArray()<br />Traceback (most recent call last):<br /> File "<stdin>", line 1, in <module><br />AttributeError: 'bytes' object has no attribute 'ToArray'<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[] 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#, C++/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[] 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[] from a Python bytes object to pass to other C# or C++/CLI modules which take as arguments byte[]. 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[] 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 = System.IO.BinaryWriter(...)<br />file.Write(b"test")<br />file.Close()<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[] 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:<br /><br /> /// <summary><br /> /// Returns a copy of the internal byte array.<br /> /// </summary><br /> public byte[] ToByteArray() {<br /> byte[] res = new byte[_bytes.Length];<br /> _bytes.CopyTo(res, 0);<br /> return res;<br /> }<br /><br /> /// <summary><br /> /// Allows access to the internal byte array representation.<br /> /// This method should be used sparingly!<br /> /// </summary><br /> public byte[] GetUnderlyingByteArray() {<br /> return _bytes;<br /> }<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>