slozier

Results 121 issues of slozier

Here are some examples: ```py class test(dict): def __iter__(self): return super().__iter__() def keys(self): return ["A"] def __getitem__(self, key): return 1 A = {"A": 1} B = test({"B": 2}) assert dict(B)...

The following builtin methods have doctests included in their `__doc__` string: - `bin` - `float.as_integer_ratio` - `float.fromhex` - `float.hex` - `hex` - `int` - `int.bit_length` - `oct`

%-formatting of 999999999999998 is busted (outputs `f-1`) on .NET Framework (because it's rounding up to 1000000000000000 and the formatting logic fails to handle that properly). ```py assert "%.15g" % 999999999999998...

It seems like we're using up the .NET runtime stack quite quickly which limits the usefulness of the MaxRecursion limit. For example, even when running the code from https://github.com/IronLanguages/ironpython3/issues/1610 with...

For example, running `ipy -m blabla` I get the following: > Unhandled exception: Traceback (most recent call last): File "C:\Program Files\IronPython 3.4\Lib\runpy.py", line 178, in run_module File "C:\Program Files\IronPython 3.4\Lib\runpy.py",...

Placeholder issue for buffer protocol related changes.

Placeholder issue for all the things related to the int/long changes. With Python 3 most of the int related stuff goes away and is replaced by the long structs (e.g....

Placeholder issue for all things related to the str/unicode changes. With Python 3 most of the `str` related stuff goes to `bytes` so we probably need to add support for...

Adds .NET 8.0 target. Since `BinaryFormatter` now throws an exception (see https://learn.microsoft.com/en-us/dotnet/core/compatibility/serialization/8.0/binaryformatter-disabled) this removes `FEATURE_SERIALIZATION` feature symbol from the target. Added `__getnewargs__` extensions to primitive types to allow some serialization...