slozier

Results 121 issues of slozier

When running on .NET Core on posix platforms, having the Mono.Posix.NETStandard package is a requirement for many functions in the `os` module. For example `os.stat('/')` will throw if this is...

good first issue
documentation

From https://github.com/IronLanguages/ironpython3/pull/940 Thread.Abort is not supported and throws PlatformNotSupportedException. I don't think this is a change specific to .NET 5, just a new warning. Should investigate to see if there's...

.NET 5
.NET 6

It's very often the case that you want to include the standard library in your project and this is not always obvious. We should at the very least have an...

good first issue
documentation

The following code intermittently fails (doesn't run in a loop in `CPython.ctypes.test_random_things`) ```py from ctypes import * windll.kernel32.LoadLibraryA.restype = c_void_p last_hdll = windll.kernel32.LoadLibraryA(b"kernel32") for i in range(10000): windll.kernel32.LoadLibraryA.restype = c_void_p...

module-ctypes

Running the following code Mono (from `CPython.ctypes.test_slicing`) leads to all sorts of failures (upon exiting the program?): ```py from ctypes import * import _ctypes_test s = b"abcdefghijklmnopqrstuvwxyz" dll = CDLL(_ctypes_test.__file__)...

Mono
module-ctypes

Looks like there are some samples at https://github.com/IronLanguages/main/tree/ipy-2.7-maint/Languages/IronPython/Public which never made it over to the repo. Might be worth seeing if there's anything salvageable.

documentation

`test_cp15514` from `Tests/modules/system_related/test_nt.py` ```Python import os, sys cmd_cmd = os.path.join(os.environ["windir"], "system32", "cmd") os.spawnv(os.P_WAIT, cmd_cmd , ["cmd", "/C", '""%s" -c "print(__name__)""' % sys.executable]) ```

module-os

Didn't know `ResourceMetaPathImporter` existed myself, so probably worth documenting! Also adding a unit test would probably be a good idea... https://ironpython.net/blog/2012/07/07/whats-new-in-ironpython-273.html

good first issue
testing
documentation

Discovered this when working on ipy3 stuff: ```Python x = ast.parse("assert False is (2 is 3)") exec(compile(x, "", "exec")) ``` The reason it fails is that it's executed as if...

module-ast

```py assert re.match(r'\U00010428', '\U00010428') ``` Related to https://github.com/IronLanguages/ironpython3/issues/252

What's New In Python 3.3
module-re