slozier

Results 121 issues of slozier

The issue is that the `PythonType._subtypes` list (which is used for the `__subclasses__` method) is growing every time a new subclass is created and not getting cleaned up as types...

.NET 7 adds a number of new methods and properties to `Int32` which are not available on `BigInteger`: `TrailingZeroCount`, `Log2`, `MinMagnitude`, `PopCount`, `TryCreate`, `CreateSaturating`, `CreateTruncating`, `LeadingZeroCount`, `MaxMagnitude`, `CreateChecked`, `WriteLittleEndian`, `IsPow2`,...

.NET 7

For example: ```Python class Test(SystemExit): pass raise Test ``` does not terminate the process. The C# code expects a `SystemExitException` but the exception ends up being of type `Exception`. Also,...

core

For example: ```py called = [False] class test(int): def __radd__(self, other): called[0] = True return NotImplemented assert 1 + test() == 1 # throws with ipy assert called[0] ``` Similar...

Normally, for operations like `a + b`, Python will try `a.__add__(b)` then `b.__radd__(a)`. However for sequence types `__add__` is a `concat` operation and method resolution is not the same. Even...

This is basically like trying to import a module when running from the bin/Release folder without having set IRONPYTHONPATH. Because our standard libary is not in the normal location it...

testing
3.6

CPython 3.5 adds `_imp.create_builtin` and `_imp.exec_builtin`. https://github.com/IronLanguages/ironpython3/pull/1427 adds stubs for these methods.

What's New In Python 3.6

https://docs.python.org/3/whatsnew/3.6.html#pep-520-preserving-class-attribute-definition-order https://peps.python.org/pep-0520/

What's New In Python 3.6