ok phessler@
The requests library has the concept of pluggable transport adapters.
These adapters allow you to register your own handlers for different
URIs or protocols.
The requests-mock library at its core is simply a transport adapter that
can be preloaded with responses that are returned if certain URIs are
requested. This is particularly useful in unit tests where you want to
return known responses from HTTP requests without making actual calls.
As the requests library has very limited options for how to load and use
adapters requests-mock also provides a number of ways to make sure the
mock adapter is used. These are only loading mechanisms, they do not
contain any logic and can be used as a reference to load the adapter in
whatever ways works best for your project.
invocation.
While here, correct (a bit) the license detection (bug reported by
kpcyrd <kpcyrd AT rxv.cc> some time ago) and tweak
modcargo-gen-crates-licenses a bit.
Diff from semarie, ok landry.
if the root user starts spamd with the --username
flag, the supplemental group list of the spamd worker processes is never
changed. The worker processes execute with root's original supplemental
group list.
Backports some patches for LLVM6 compatibility.
Note that this is likely to be BROKEN-i386 soonish, i'm giving it a last
chance locally but i never managed to build it here. That also means we
can say goodbye to firefox on i386.
OK sthen@
A Tcl extension providing utilities for comparisons of strings, lists and files.
The base comparison is a Longest Common Substring algorithm based on
J. W. Hunt and M. D. McIlroy, "An algorithm for differential file comparison,"
Comp. Sci. Tech. Rep. #41, Bell Telephone Laboratories (1976).
Available on the Web at the second author's personal site:
http://www.cs.dartmouth.edu/~doug/
It is basically an LCS diff algorithm implemented in C on top of Tcl's API,
thus giving full Unicode and VFS support.