slozier

Results 121 issues of slozier

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

Port to ipy3
.NET interop

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

Port to ipy3
CPython compatibility

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`:...

Port to ipy3

Looking at the code we have: ```C# public static int __hash__(decimal x) { return ((BigInteger)x).GetHashCode(); } ``` In particular this means it's always `0` for values of `x` in `-1...

Port to ipy3
.NET interop

Assemblies in the DLLs folder are not loaded properly. This only occurs for .NET Core since the assembly probing occurs differently. Changing `InitializeExtensionDLLs` to use `AddReferenceToFile` loads the assembly into...

.NET Core
Port to ipy3

`pyexpat` does not support Python encoding names. This is because the names are not understood by `System.Xml.XmlReader` which is used under the hood. ```Python from xml.etree import ElementTree as ET...

Port to ipy3

The following tests cases in the mpmath tests are failing: - [ ] test_functions.areal_inverses - [ ] test_functions.complex_inverse_functions - [ ] test_gammazeta.rs_zeta - [ ] test_interval.interval_complex Looks like most of...

Port to ipy3
good first issue

Improve usage of file modes: - os.chmod - os.stat - ...

mono
.NET Core
Port to ipy3

`typing` module fails to import with IronPython. Here's the error: > import typing Traceback (most recent call last): File "", line 1, in File "C:\Program Files\IronPython 2.7\Lib\site-packages\typing.py", line 1788, in...

Port to ipy3

Our `listreverseiterator` implementation uses an increasing index relative to the current size of the list while the CPython implementation appears to use the actual index and decreases. CPython: ```Python d...

Port to ipy3
CPython compatibility