ironpython2
ironpython2 copied to clipboard
Implementation of the Python programming language for .NET Framework; built on top of the Dynamic Language Runtime (DLR).
### Description I am trying to use the 'profile' library, but when I attempted to use profile.run(...) it gives the following error: test.py: ```py import profile print profile.run('print "hello world"')...
# Description The import mechanism does not appear to be thread safe under heavy load. Running the code: ``` var code = @"def method1(): from System.Diagnostics import Stopwatch; from collections...
```Python import io with io.open("test.txt", "r", encoding="gb2312") as f: f.read() ``` fails with > LookupError: unknown encoding: gb2312 This is failing because `encodings.gb2312` is not available with IronPython (since we...
I use command 'pip install scapy' to install scapy , and it install sucessful (C:\Program Files\IronPython 2.7\Lib\site-packages\scapy). It's failed to import scapy in ironpython , but it's ok in python....
Rounding when using formatting should be done towards the even choice when doing string formatting. CPython: ``` >>> str(10000000000.25) '10000000000.2' >>> str(10000000000.75) '10000000000.8' ``` IronPython: ``` >>> str(10000000000.25) '10000000000.3' >>>...
Happens at least with `u'\uFFFE'` and `u'\uFFFF'`, possibly also with other characters. Doesn't happen with CPython. ``` E:\>ipy -V IronPython 2.7.9 2.7.9.0 on .NET 4.0.30319.42000 E:\>ipy -c "import unicodedata; unicodedata.normalize('NFC',...
The following example using the `rstr` package fails since it tries to use `re.sre_parse` ```Python import rstr rstr.xeger(r'[A-Z]\d[A-Z] \d[A-Z]\d') ``` It appears that `re.sre_parse` is the same thing as `sre_parse`:...
### Description I am investigating the thread-safety of IronPython and follow the list of atomic operations in CPython as it can be found on [Python FAQ](https://docs.python.org/2/faq/library.html#what-kinds-of-global-value-mutation-are-thread-safe). It is my understanding,...
I am facing with an intermittent issue of hanging script execution in my application. Unfortunately it is very hard to reproduce, probably related to some timing issues. When happens, CPU...
### Description When hooking the `AssemblyResolve` function in a secondary AppDomain, IPY throws a `StandardError` ### Steps to Reproduce This was done directly in the IPY interepreter ```python >>> from...