Adam Morris

Results 9 issues of Adam Morris

Games cry out for color / format options. Perhaps use the following API with `say`: `say(something, fg="red", bg="white")` There is colorama that would help implement this, but if you wanted...

Using mutable objects for default keyword arguments can result in hard-to-find bugs; beginners will likely find it to be a rabbit hole. So I suggest changing `kwargs={}` to the standard...

I was just wondering if there is a good workaround or if anyone can shed any light on this.

This way you can write kernel.js the same way we write the kernel.json, for say, a syntax highlighter: ```python class MyKernel(Metakernel): kernel_javascript = """ define( ['codemirror/lib/codemirror', 'codemirror/addon/mode/simple'], function(CodeMirror, _) {...

In node, the following js does not result in any errors: ```js obj = {}; obj.const = {}; ``` ```js obj = {}; obj.function = {}; ``` However, in App...

enhancement
pr welcome

backward behavior for python 3.5 - 3.10; no need for decorator if deprecated in python >= 3.11

Since it likely requires action from the developer, added as a NORETRY.

You can get even better results by having a manual mode, where the programmer can call `.set` but it doesn't actually persist yet (just puts it in the cache). Then,...

enhancement