<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] Include some way to discover IronPython path</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_2">2. <span class="tocTitle">[New issue] Popen.send_signal(CTRL_BREAK_EVENT) does not work</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_3">3. <span class="tocTitle">[New issue] __doc__ should not be read-only in partial</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] Include some way to discover IronPython path</span> <a href="http://ironpython.codeplex.com/workitem/34692">view online</a></div><p>User javierpr19 has commented on the issue:</p><p>"<p>Yes, I am a victim of registry virtualization. <br>I have this info under HKLM\SOFTWARE\Wow6432Node\IronPython\2.7\InstallPath</p><p>Thank you for your time</p>"</p></div><div class="topic"><a name="toc_issue_2"></a><div class="topicHeader"><span class="topicTitle">2. [New issue] Popen.send_signal(CTRL_BREAK_EVENT) does not work</span> <a href="http://ironpython.codeplex.com/workitem/35020">view online</a></div><p>User pekkaklarck has proposed the issue:</p><p>"Code like this works fine on CPython but doesn't seem to send correct/any signal with IronPython (v2.7.3):<br />
<pre><code>process = subprocess.Popen(command, creationflags=subprocess.CREATE_NEW_PROCESS_GROUP)
process.send_signal(signal.CTRL_BREAK_EVENT)
</code></pre>

As a workaround I was able to send the signal using ctypes:<br />
<pre><code>ctypes.windll.kernel32.GenerateConsoleCtrlEvent(signal.CTRL_BREAK_EVENT, process.pid)
</code></pre>

I created a simple example demonstrating the problem and attached it to the issue. Run the script with <code>use_signal</code> or <code>use_ctypes</code> arguments to test behavior. Below is what I got on Windows 7:<br />
<pre><code>E:\>python send_signal.py use_signal
Started
Received signal 21

E:\>python send_signal.py use_ctypes
Started
Received signal 21

E:\>ipy send_signal.py use_signal
Started

E:\>ipy send_signal.py use_ctypes
Started
Received signal 21</code></pre>

"</p></div><div class="topic"><a name="toc_issue_3"></a><div class="topicHeader"><span class="topicTitle">3. [New issue] __doc__ should not be read-only in partial</span> <a href="http://ironpython.codeplex.com/workitem/35021">view online</a></div><p>User abeham has proposed the issue:</p><p>"The following code does not work in IronPython, but works in CPython:<br />
<br />
from functools import partial<br />
<br />
def function(arg):<br />
  print arg<br />
<br />
hiFunc = partial(function, "hi")<br />
hiFunc.<strong>doc</strong> = "Doc-string"<br />
<br />
hiFunc()"</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>