Andrew Bradley
Andrew Bradley
After learning about pyglet's Sprite, and learning that pyglet's drawables are generic such that shapes and sprites can be combined into the same batch, I wondered how it compares against...
**Describe the bug** `set_handler` and `remove_handler` do not wrap methods in `WeakMethod`. There are a few implications from this: - Using `set_handler` to register a handler method creates strong reference...
**Describe the bug** Pyglet and arcade's codebases both set `Player.on_player_eos = None` to allow the previous callback to be garbage-collected. The method is declared here: https://github.com/pyglet/pyglet/blob/515d7a52a63fc20d76109f06a02f059459ec03b8/pyglet/media/player.py#L553-L559 Pyglet sets this method...
**Describe the bug** If `_PlayerProperty` is a generic, then the values of those properties can be hinted correctly. In arcade, we get typechecker diagnostics when we access `player.volume` because `_PlayerProperty`...
**Describe the bug** The `group`, `height`, `width` parameters to `pyglet.text.layout.TextLayout()` do not declare types. https://github.com/pyglet/pyglet/blob/515d7a52a63fc20d76109f06a02f059459ec03b8/pyglet/text/layout.py#L891 This means `TextLayout.group`, `.height`, and `.width` are inferred as type `Unknown | None`. In arcade,...
**Describe the bug** The function stubs here describe return types, but do not have a return type annotation: https://github.com/pyglet/pyglet/blob/515d7a52a63fc20d76109f06a02f059459ec03b8/pyglet/input/__init__.py#L81-L136 This means typecheckers and IDE tooling infer the return types to...
I've started working on support for the Windows Store version of Among Us, to fix #411. I'm able to use a powershell.exe invocation to get a version number: `2020.12.4.0`. This...
### Is this a docs issue? - [X] My issue is about the documentation content or website ### Type of issue Information is incorrect ### Description Docs for `docker cp...
_Related to nodejs/node#44710 but I want to extract here so it can outlive that PR_ It would be great to have written down the expected sequencing behavior of the loader...
I have created a bunch of workflows but they have not started executing because the worker is logging an error "workflow NameOfMyWorkflowFunc not found" That error is probably unrelated to...