[Twisted-Python] Endpoint composition syntax
Glyph Lefkowitz
glyph at twistedmatrix.com
Thu Oct 13 01:23:33 MDT 2016
> On Oct 12, 2016, at 7:35 PM, Tom Prince <tom.prince at ualberta.net> wrote:
>
> Thinking about it some more, there isn't currently any endpoint descriptions that have an empty name, so we could have a entirely new syntax that starts with `:`. If we went in that direction, we'd definitely want to think about future extensibility when designing it.
This applies more generally; no need for any weird hacks. Any 'new' plugin could just opt in to a different syntax; we can just look up until the first ':'; we just need to define a new interface for a new syntax.
-glyph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20161013/042677fa/attachment-0002.html>
More information about the Twisted-Python
mailing list