1. Display the key itself (in addition to the values), because
searching factoids makes little sense without returning the key
2. Display only matching values, instead of all other values,
because some filters act on values
This allows overriding supybot.reply.mores.instant for private messages, where
it is usually more tolerable to send multiple lines.
However, this still defaults to 1, in order to not be abusable by default.
I can't open .prof files created with 'profile' using pyprof2calltree:
```
Traceback (most recent call last):
File "/home/val/.local/bin/pyprof2calltree", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/val/.local/lib/python3.11/site-packages/pyprof2calltree.py", line 339, in main
kg = CalltreeConverter(pstats.Stats(args.infile))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/val/.local/lib/python3.11/site-packages/pyprof2calltree.py", line 178, in __init__
self.entries = pstats2entries(profiling_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/val/.local/lib/python3.11/site-packages/pyprof2calltree.py", line 135, in pstats2entries
cc, nc, tt, ct = call_info
^^^^^^^^^^^^^^
TypeError: cannot unpack non-iterable int object
```
This only happens on the newly introduced account extban (in case the user
does not have an account, or the server does not provide accounts)
so this does not change existing behavior.
Falling back to the host instead of the exact mask makes it less easy
to evade these bans
When a password is added for a nick that is not a valid config entry name,
this causes _getNickServPassword to raise an error; and __call__ needs
to catch it or the bot becomes unusable.
We're going to commit directly to master from now one.
The 'testing' policy predates PyPI releases and Git master was the primary mean
of distributing Limnoria back then, but it does not make sense anymore.
943f39745d did not actually because:
1. the 'part' command is not available (it's in the Channel plugin)
so it just didn't do anything
2. one of the tests was missing the cleanup
This typically happens when banned from the channel, and returning an error
gives bot admins the impression @part did not remove the channel from
the auto-join list
These do not pass the `ircutils.isUserHostmask` check despite being a valid msg.prefix. We should probably return gracefully here instead of forcing plugins to deal with such a case themselves.
Closes GH-1548