David Hoese

Results 1156 comments of David Hoese

I think I'd be more in favor of dropping the conflicts as it is a little "louder" of an error than picking the first one.

FYI I have had this on my TODO list to add a `copy=False` keyword argument to `set_data` since we left this issue open. I finally had time to look into...

@h-westmacott Great! (that we have someone who can test, not that you're having trouble) What do you get when you run `python -c "import locale; print(locale.getpreferredencoding())"` on the command line?...

How do you feel about hacking your vispy installation? If you can find the `_constants.py` module and add a print statement before this line: https://github.com/vispy/vispy/blob/c52c48194c0af60ce97ac844eb87a54f8434988c/vispy/gloo/gl/_constants.py#L330 That says `print(ob)` that might...

> python -c "import vispy.gloo.gl._constants" does indeed raise the same exception. python -c "import vispy._constants" raises ModuleNotFoundError: No module named 'vispy._constants' :man_facepalming: Thanks. For the print out output, does the...

One more hack: ``` ENUM_MAP = {} for key, ob in list(globals().items()): print(f"#### {key}:") print(ob) if repr(ob).startswith('GL_'): ENUM_MAP[int(ob)] = ob del ob ``` If it is the `__builtins__` dict then...

Ok so now, create a test module in your current directory named `check_builtins.py` with the below in it: ``` print(__builtins__) ``` And do `python -c "import check_builtins"`.

I should have said this earlier, but regardless of what the cause of this error is we can definitely simplify this for loop and avoid unimportant things in the globals...

Wild idea...does your username have non-ASCII characters in it?

Ok so we've removed vispy from the equation. So that part of `_sitebuiltins.py` is parsing license and copyright files. You can see that here: https://github.com/python/cpython/blob/f13f466474ed53529acd3f209070431fbae14323/Lib/_sitebuiltins.py#L40-L42 And you can see where...