slozier

Results 121 issues of slozier

https://docs.python.org/3/whatsnew/3.6.html#pep-487-simpler-customization-of-class-creation https://peps.python.org/pep-0487/ > This PEP proposes to support a wide range of customisation scenarios through a new `__init_subclass__` hook in the class body, and a hook to initialize attributes.

What's New In Python 3.6

To reproduce: ```py assert b'\xfe\xff\x00A'.decode("utf-16") == "A" ``` As a workaround, `codecs.decode` seems to work properly: ```py import codecs assert codecs.decode(b'\xfe\xff\x00A', "utf-16") == "A" ``` Ran into this while testing...

Add basic async/await syntax support so we don't raise a `SyntaxError` when trying to use the 3.6 standard library. In order to bootstrap things, https://github.com/IronLanguages/ironpython3/pull/1427 will comment out some async/await...

What's New In Python 3.5
3.6

The following algorithms are always available in hashlib in 3.6: blake2b, blake2s, sha3_224, sha3_256, sha3_384, sha3_512, shake_128, shake_256 The are disabled in https://github.com/IronLanguages/ironpython3/pull/1427 and changes should be reverted when available.

What's New In Python 3.6
3.6

Something in the 3.4 -> 3.6 transition is causing ScenarioXGC to fail. The test is disabled in https://github.com/IronLanguages/ironpython3/pull/1427.

testing
regression
3.6

```py class test: def __init__(self, x): self.__x = x assert f"{self.__x}" == f"{x}" test(0) ``` results in an `AttributeError`: > AttributeError: 'test' object has no attribute '__x' This came up...

In `IronPython.test_inheritance` there are tests which are similar to: ```py import System class test(System.Collections.Generic.List[System.Int32]): def __init__(self): super().__init__(1) test() ``` which fail with: >TypeError: object.\_\_init\_\_() takes no parameters These tests worked...

testing

From https://github.com/IronLanguages/ironpython3/pull/940 The Constrained Execution Region (CER) feature is not supported. I don't think this is a change specific to .NET 5, just a new warning. This comes up in...

.NET 5
module-ctypes

- Fixes https://github.com/IronLanguages/ironpython3/issues/736 - Remove MakeRethrowExceptionWorker which is no longer necessary after https://github.com/IronLanguages/ironpython3/pull/735