Wilfredo Sánchez Vega
Wilfredo Sánchez Vega
IIRC, according to @glyph, the issue here is that SQLite doesn't work at all with Alchmia, because SQLite doesn't get along with multiple threads. So… either Alchmia should prevent the...
I notice that `BaseProtocol`'s docs say: ``` This is the abstract superclass of all protocols. ``` Which I think is false, and more so given this push to discourage use...
You do need to test the code past where `connector` is `None`, or remove the defensive check if it's not necessary. What's `mypy` complaining about there?
> The interface that this code implements is pretty clear: the argument is `bytes`: https://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.ITransport.html#write True, and we've been discussion recently how it's not really feasible (unfortunately out not) to...
FWIW, I find exposing more `attrs`-specific stuff onto classes to be problematic. That I use `attrs` is, to me, an implementation detail, and I don't intend "this is an `attrs`-built...
This seems out of scope to me… as it's a start at extensible serialization, which isn't what `attrs` is trying to provide.
@hynek I'm having a hard time understanding why a `list` of steps is better than a function with those steps in it. What is that adding? @glyph Your example with...
For what it's worth, I think I'd find that a bit surprising also if I were coming in new. A single validator (for either the class, or for individual attributes)...
@hynek: agreed. Perhaps `attr.s` could take a `doc_formatter` argument which is an object of a given shape that can generate the documentation for attributes? Then one could eventually write formatters...
Another detailed description in #698, which is a duplicate.