<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 issue] byte and string should be interchengable as arguments of string methods</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_2">2. <span class="tocTitle">[New issue] Error when write dicom file using IronPython</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_3">3. <span class="tocTitle">[New comment] Error when write dicom file using IronPython</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_4">4. <span class="tocTitle">[New comment] Error when write dicom file using IronPython</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 issue] byte and string should be interchengable as arguments of string methods</span> <a href="http://ironpython.codeplex.com/workitem/35212">view online</a></div><p>User paweljasinski has proposed the issue:</p><p>"The following code snippet works in cpython, but throws in ipy.<br />
<pre><code>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)</code></pre>
The list of the methods: <a href="https://docs.python.org/2/library/stdtypes.html#string-methods" rel="nofollow">https://docs.python.org/2/library/stdtypes.html#string-methods</a><br />
Original problem report: <a href="https://github.com/IronLanguages/main/issues/195" rel="nofollow">https://github.com/IronLanguages/main/issues/195</a>"</p></div><div class="topic"><a name="toc_issue_2"></a><div class="topicHeader"><span class="topicTitle">2. [New issue] Error when write dicom file using IronPython</span> <a href="http://ironpython.codeplex.com/workitem/35215">view online</a></div><p>User shktang has proposed the issue:</p><p>"c:> ipy<br />
IronPython 2.7.4 (2.7.0.40) on .NET 4.0.30319.18408 (32-bit)<br />
Type "help", "copyright", "credits" or "license" for more information.<br />
<blockquote>
<blockquote>
<blockquote>
import dicom<br />
da = dicom.read_file("CT.test01.dcm")<br />
dicom.write_file("CT.out.dcm")<br />
</blockquote>
</blockquote>
</blockquote>
Which causes the following error message:<br />
<br />
<br />
File "C:\IronPython2.7.4\lib\site-packages\dicom\filewriter.py", line 338, in write_file<br />
File "C:\IronPython2.7.4\lib\site-packages\dicom\filewriter.py", line 278, in _write_file_meta_info<br />
File "C:\IronPython2.7.4\lib\site-packages\dicom\filewriter.py", line 196, in write_dataset<br />
File "C:\IronPython2.7.4\lib\site-packages\dicom\filewriter.py", line 132, in write_data_element<br />
File "C:\IronPython2.7.4\lib\site-packages\dicom\filebase.py", line 47, in write_tag<br />
File "C:\IronPython2.7.4\lib\site-packages\dicom\filebase.py", line 86, in write_leUS<br />
<br />
Any way to resolve the problem?"</p></div><div class="topic"><a name="toc_issue_3"></a><div class="topicHeader"><span class="topicTitle">3. [New comment] Error when write dicom file using IronPython</span> <a href="http://ironpython.codeplex.com/workitem/35215">view online</a></div><p>User paweljasinski has commented on the issue:</p><p>"<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>"</p></div><div class="topic"><a name="toc_issue_4"></a><div class="topicHeader"><span class="topicTitle">4. [New comment] Error when write dicom file using IronPython</span> <a href="http://ironpython.codeplex.com/workitem/35215">view online</a></div><p>User shktang has commented on the issue:</p><p>"<p>Forget the last line of the error message:</p><p>TypeError: expected str, got bytes</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>