Hi ironpython,
Here's your Daily Digest of new issues for project "IronPython".
In today's digest:ISSUES
1. [New comment] _sha256.sha224 isn't implemented
2. [New comment] Implement the _hashlib module
3. [New comment] Implement the _hashlib module
4. [New comment] Nuget needs to be updated with IronPython 2.7+
5. [New comment] Nuget needs to be updated with IronPython 2.7+
6. [New issue] Improve Release build process
7. [New comment] Please add a function somewhere which returns the underlying
byte[] from a bytes object
8. [New comment] Please add a function somewhere which returns the underlying
byte[] from a bytes object
9. [New comment] Please add a function somewhere which returns the underlying
byte[] from a bytes object
10. [New comment] Please add a function somewhere which returns the underlying
byte[] from a bytes object
11. [New comment] Please add a function somewhere which returns the underlying
byte[] from a bytes object
12. [New comment] Please add a function somewhere which returns the underlying
byte[] from a bytes object
13. [New comment] Please add a function somewhere which returns the underlying
byte[] from a bytes object
14. [New comment] Please add a function somewhere which returns the underlying
byte[] from a bytes object
15. [New comment] Please add a function somewhere which returns the underlying
byte[] from a bytes object
----------------------------------------------
ISSUES
1. [New comment] _sha256.sha224 isn't implemented
http://ironpython.codeplex.com/workitem/16870
User slide_o_mix has commented on the issue:
"Mono has an implementation of SHA224, can we pull it in and use
it?"-----------------
2. [New comment] Implement the _hashlib module
http://ironpython.codeplex.com/workitem/21408
User slide_o_mix has commented on the issue:
"Markus, what specifically are you looking for from _hashlib? We already
implement _sha and friends (minus sha224)."-----------------
3. [New comment] Implement the _hashlib module
http://ironpython.codeplex.com/workitem/21408
User jdhardy has commented on the issue:
"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."-----------------
4. [New comment] Nuget needs to be updated with IronPython 2.7+
http://ironpython.codeplex.com/workitem/31126
User jdhardy has commented on the issue:
"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)."-----------------
5. [New comment] Nuget needs to be updated with IronPython 2.7+
http://ironpython.codeplex.com/workitem/31126
User jdhardy has commented on the issue:
"See [workitem:31144] for more."-----------------
6. [New issue] Improve Release build process
http://ironpython.codeplex.com/workitem/31144
User jdhardy has proposed the issue:
"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.
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."-----------------
7. [New comment] Please add a function somewhere which returns the underlying
byte[] from a bytes object
http://ironpython.codeplex.com/workitem/27175
User jdhardy has commented on the issue:
"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."-----------------
8. [New comment] Please add a function somewhere which returns the underlying
byte[] from a bytes object
http://ironpython.codeplex.com/workitem/27175
User adal has commented on the issue:
"A copy of the internal bytes would be fine.
Ideally you would get the original, to avoid copying data (in my use case I
worked with gigabytes).
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.
"-----------------
9. [New comment] Please add a function somewhere which returns the underlying
byte[] from a bytes object
http://ironpython.codeplex.com/workitem/27175
User slide_o_mix has commented on the issue:
"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?"-----------------
10. [New comment] Please add a function somewhere which returns the underlying
byte[] from a bytes object
http://ironpython.codeplex.com/workitem/27175
User slide_o_mix has commented on the issue:
"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."-----------------
11. [New comment] Please add a function somewhere which returns the underlying
byte[] from a bytes object
http://ironpython.codeplex.com/workitem/27175
User adal has commented on the issue:
"ToArray doesn't seem to work.
>>> b"test".ToArray()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'bytes' object has no attribute 'ToArray'
"-----------------
12. [New comment] Please add a function somewhere which returns the underlying
byte[] from a bytes object
http://ironpython.codeplex.com/workitem/27175
User slide_o_mix has commented on the issue:
"I thought this was to be used from the C#, C++/CLI side, not from the python
side."-----------------
13. [New comment] Please add a function somewhere which returns the underlying
byte[] from a bytes object
http://ironpython.codeplex.com/workitem/27175
User adal has commented on the issue:
"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.
"-----------------
14. [New comment] Please add a function somewhere which returns the underlying
byte[] from a bytes object
http://ironpython.codeplex.com/workitem/27175
User adal has commented on the issue:
"For example
file = System.IO.BinaryWriter(...)
file.Write(b"test")
file.Close()
"-----------------
15. [New comment] Please add a function somewhere which returns the underlying
byte[] from a bytes object
http://ironpython.codeplex.com/workitem/27175
User slide_o_mix has commented on the issue:
"In light of that, I propose the following methods:
/// <summary>
/// Returns a copy of the internal byte array.
/// </summary>
public byte[] ToByteArray() {
byte[] res = new byte[_bytes.Length];
_bytes.CopyTo(res, 0);
return res;
}
/// <summary>
/// Allows access to the internal byte array representation.
/// This method should be used sparingly!
/// </summary>
public byte[] GetUnderlyingByteArray() {
return _bytes;
}
"
----------------------------------------------
----------------------------------------------
You are receiving this email because you subscribed to notifications on
CodePlex.
To report a bug, request a feature, or add a comment, visit IronPython Issue
Tracker. You can unsubscribe or change your issue notification settings on
CodePlex.com.
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users