Akuli

Results 420 comments of Akuli

> As I said before, I believe (sync) write() methods are supposed to return the number of items written, a convention that goes back at least 40 years. This convention...

> I assume it could be possible to check every time you click the menu, but that probably isn't a great solution for performance reasons but maybe it's fine? It...

If it is reasonably possible, I would strongly prefer detecting a click over having 8 or so different conditions. Detecting each possible case separately seems like it will cause subtle...

This prints stuff when opening menu ```python import tkinter root = tkinter.Tk() menubar = tkinter.Menu() root["menu"]=menubar submenu = tkinter.Menu(tearoff=False, postcommand=(lambda: print("Asd AsdAsd"))) submenu.add_command(label="One") submenu.add_command(label="Two") submenu.add_command(label="threee") menubar.add_cascade(label="click here", menu=submenu) root.mainloop() ```

Instead of an automated test, we could also add a comment explaining how to manually test it. Porcupine isn't a project where you need to write a test for everything....

`user-doc/projects.md` will need to be updated when this is implemented.

The problem being fixed is a regex being slow. Apparently some people consider it a "security vulnerability" (pygments maintainers don't), so dependabot auto-fixed it for me. I'm not sure if...

There seems to be decent tests in `tests/test_highlight_plugin.py`. Let's get this merged.

I have assigned the issue to you, but in Porcupine you can just start working on things without asking me to assign them :)

> to correctly raise Something is not in __slots__ when assigning extra attributes. Can you clarify this? Type checkers complain about assigning non-existent attributes anyway, unless it's a subclass and...