Hi ironpython,

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

In today's digest:ISSUES

1. [New issue] signal module does not work on non-Windows machines

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

ISSUES

1. [New issue] signal module does not work on non-Windows machines
http://ironpython.codeplex.com/workitem/32627
User jdhardy has proposed the issue:

"The current implementation of 'signal' is Windows-specific. Getting it to work 
on Mono will take some trickery in the code, but it should be possible.

Dino's take:
"It looks like the current signal implementation won't work off of Windows.  
There's a call to SetConsoleControlHandler that happens when the signal module 
gets imported - which is very windows specific and is going to fail on all 
other platforms.

This can all be handled at runtime in a graceful way, but the calls to platform 
specific APIs need to be moved into non-inlinable methods.  In this case it 
seems like the 2 implementations are going to be pretty different given that 
everyone but windows has a reasonable signal function, so it might start to get 
to be a pain to keep both in the same module at the same time.  If someone 
wanted to get really adventurous they could add a platform attribute to 
PlatformID parameter to PythonModuleAttribute and have different 
implementations of modules for different platforms - then implementing the Unix 
signal implementation is probably pretty easy.""
----------------------------------------------



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

Reply via email to