The following code does not work in IronPython, but works in CPython:
from functools import partial
hiFunc = partial(function, "hi")
hiFunc.__doc__ = "Doc-string"
Id #35021 | Release:
| Updated: Mar 6 at 10:27 PM by abeham | Created: Mar 6 at 10:26 PM by abeham
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)
Id #35020 | Release:
| Updated: Fri at 12:06 PM by paweljasinski | Created: Mar 6 at 6:32 PM by pekkaklarck
ast.parse raises SystemError on "yield"
ast.parse("def f(): yield")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
Id #35001 | Release:
| Updated: Mar 4 at 2:18 PM by paweljasinski | Created: Feb 25 at 10:52 AM by Demon
Adding a metaclass causes partial properties to fail due to not passing all arguments to property using the partial. Same functionality without even a dummy metaclass works.
In the attached file ...
Id #34968 | Release:
| Updated: Feb 10 at 4:29 AM by tfigment | Created: Feb 10 at 3:08 AM by tfigment
Jeff Hardys recommendation on importing ThreadPool from multiprocessing.pool fails on IPY 2.7.4.
Try from multiprocessing.pool import ThreadPool. IronPython should
include the Pytho...
Id #34959 | Release:
| Updated: Feb 5 at 1:42 PM by objarni | Created: Feb 5 at 1:42 PM by objarni
the following will fail given attached file:
lines = 
with codecs.open("text-utf8-with-bom.txt", encoding="utf-8-sig") as file_obj:
for line in file_obj: # fails here
Id #34951 | Release:
| Updated: Feb 4 at 11:06 AM by paweljasinski | Created: Feb 2 at 1:06 PM by paweljasinski
the only visible implementation of FunctionType.new raises NotImplementedException.
For small tweaks (e.g. faking module membership) it would be beneficial to have any usable FunctionType.new
Id #34932 | Release:
| Updated: Jan 25 at 12:47 PM by paweljasinski | Created: Jan 25 at 12:47 PM by paweljasinski
nt.kill ignores sig arguments and performs unconditional Terminate
It should distinguish CTRL_C_EVENT, CTRL_BREAK_EVENT and try to use GenerateConsoleCtrlEvent
This of course on Windows only, mono ...
Id #34928 | Release:
| Updated: Jan 24 at 9:25 AM by paweljasinski | Created: Jan 24 at 9:25 AM by paweljasinski
cpython 2.7 and 3.3 accept bytes as argument of os.stat, ip doesn't
IronPython 2.7.4 (126.96.36.199) on .NET 4.0.30319.18052 (32-bit)
Type "help", "copyright", "credits" or "license" for more informatio...
Id #34910 | Release:
| Updated: Mar 4 at 2:22 PM by paweljasinski | Created: Jan 17 at 11:28 AM by paweljasinski
Tested on IronPyton 2.7.4
from System.Dynamic import DynamicObject
f = Foo()
Id #34893 | Release:
| Updated: Jan 15 at 9:48 AM by becio | Created: Jan 15 at 9:46 AM by becio