[Ironpython-users] IronPython, Daily Digest 3/6/2014

CodePlex no_reply at codeplex.com
Fri Mar 7 09:22:23 CET 2014


Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New comment] Include some way to discover IronPython path
2. [New issue] Popen.send_signal(CTRL_BREAK_EVENT) does not work
3. [New issue] __doc__ should not be read-only in partial

----------------------------------------------

ISSUES

1. [New comment] Include some way to discover IronPython path
http://ironpython.codeplex.com/workitem/34692
User javierpr19 has commented on the issue:

"<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>"-----------------

2. [New issue] Popen.send_signal(CTRL_BREAK_EVENT) does not work
http://ironpython.codeplex.com/workitem/35020
User pekkaklarck has proposed the issue:

"Code like this works fine on CPython but doesn't seem to send correct/any signal with IronPython (v2.7.3):
process = subprocess.Popen(command, creationflags=subprocess.CREATE_NEW_PROCESS_GROUP)
process.send_signal(signal.CTRL_BREAK_EVENT)


As a workaround I was able to send the signal using ctypes:
ctypes.windll.kernel32.GenerateConsoleCtrlEvent(signal.CTRL_BREAK_EVENT, process.pid)


I created a simple example demonstrating the problem and attached it to the issue. Run the script with use_signal or use_ctypes arguments to test behavior. Below is what I got on Windows 7:
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
"-----------------

3. [New issue] __doc__ should not be read-only in partial
http://ironpython.codeplex.com/workitem/35021
User abeham has proposed the issue:

"The following code does not work in IronPython, but works in CPython:

from functools import partial

def function(arg):
  print arg

hiFunc = partial(function, "hi")
hiFunc.doc = "Doc-string"

hiFunc()"
----------------------------------------------



----------------------------------------------
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20140307/ce82bbbd/attachment.html>


More information about the Ironpython-users mailing list