aboutsummaryrefslogtreecommitdiffstats
path: root/testserver.py
diff options
context:
space:
mode:
authorGravatar JustAnotherArchivist2019-12-16 00:31:30 +0000
committerGravatar JustAnotherArchivist2019-12-16 00:31:30 +0000
commit859146621aa65211c9e60092c4e5cdf6a1d67a75 (patch)
treefd819aa2b84284d0b39419d15c8b1182e9b422bc /testserver.py
parentAdd welcome message and PING handling (diff)
downloadhttp2irc++-859146621aa65211c9e60092c4e5cdf6a1d67a75.tar.gz
http2irc++-859146621aa65211c9e60092c4e5cdf6a1d67a75.tar.bz2
http2irc++-859146621aa65211c9e60092c4e5cdf6a1d67a75.zip
Get rid of the SimpleNamespace for configuration since it complicates config change detection
SimpleNamespace's documentation does not say anything about equality tests, which is why the update_config methods checked the relevant values using a tuple instead. But as more config values are added, this makes the comparisons unnecessarily long. A dict simplifies this. As a side-effect, the constraints of the maps keys being a valid identifier are no longer relevant either.
Diffstat (limited to 'testserver.py')
0 files changed, 0 insertions, 0 deletions