Hi ironpython,
Here's your Daily Digest of new issues for project "IronPython".
In today's digest:ISSUES
1. [New issue] byte and string should be interchengable as arguments of string
methods
2. [New issue] Error when write dicom file using IronPython
3. [New comment] Error when write dicom file using IronPython
4. [New comment] Error when write dicom file using IronPython
----------------------------------------------
ISSUES
1. [New issue] byte and string should be interchengable as arguments of string
methods
http://ironpython.codeplex.com/workitem/35212
User paweljasinski has proposed the issue:
"The following code snippet works in cpython, but throws in ipy.
class estr(str):
pass
x=estr("a")
y=estr("a")
print x.__contains__("a")
print x.__contains__(b"a")
print x.__contains__(y)
print
print "a".__contains__("a")
print "a".__contains__(b"a")
print "a".__contains__(y)
print
print b"a".__contains__("a")
print b"a".__contains__(b"a")
print b"a".__contains__(y)
The list of the methods:
https://docs.python.org/2/library/stdtypes.html#string-methods
Original problem report:
https://github.com/IronLanguages/main/issues/195"-----------------
2. [New issue] Error when write dicom file using IronPython
http://ironpython.codeplex.com/workitem/35215
User shktang has proposed the issue:
"c:> ipy
IronPython 2.7.4 (2.7.0.40) on .NET 4.0.30319.18408 (32-bit)
Type "help", "copyright", "credits" or "license" for more information.
import dicom
da = dicom.read_file("CT.test01.dcm")
dicom.write_file("CT.out.dcm")
Which causes the following error message:
File "C:\IronPython2.7.4\lib\site-packages\dicom\filewriter.py", line 338, in
write_file
File "C:\IronPython2.7.4\lib\site-packages\dicom\filewriter.py", line 278, in
_write_file_meta_info
File "C:\IronPython2.7.4\lib\site-packages\dicom\filewriter.py", line 196, in
write_dataset
File "C:\IronPython2.7.4\lib\site-packages\dicom\filewriter.py", line 132, in
write_data_element
File "C:\IronPython2.7.4\lib\site-packages\dicom\filebase.py", line 47, in
write_tag
File "C:\IronPython2.7.4\lib\site-packages\dicom\filebase.py", line 86, in
write_leUS
Any way to resolve the problem?"-----------------
3. [New comment] Error when write dicom file using IronPython
http://ironpython.codeplex.com/workitem/35215
User paweljasinski has commented on the issue:
"<p>Please, direct question like this one to ironpython mailing list:
http://blog.gmane.org/gmane.comp.python.ironpython.user<br>or
https://mail.python.org/mailman/listinfo/ironpython-users<br>I also believe
that the actual error/exception got lost during the copy/paste. Is there
anything else you have got?</p>"-----------------
4. [New comment] Error when write dicom file using IronPython
http://ironpython.codeplex.com/workitem/35215
User shktang has commented on the issue:
"<p>Forget the last line of the error message:</p><p>TypeError: expected str,
got bytes</p>"
----------------------------------------------
----------------------------------------------
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
https://mail.python.org/mailman/listinfo/ironpython-users