Ticket #5633 enhancement new
better endpoint reprs
| Reported by: | glyph | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | endpoint |
| Cc: | Branch: | branches/better-endpoint-reprs-5633-3 | |
| Author: | ashfall | Launchpad Bug: |
Description
It is often desirable to indicate where one is going to be connecting (let's say, in a log message) before one actually makes such a connection. Given that most attributes of endpoints are private (and, for these purposes, should remain so: we don't want to have IStreamClientEndpoint grow a host attribute which is just a made-up value for logging), it is annoying that the repr() and str() of these endpoints just give a memory address, rather than information about where they will be listening on or connecting to.
(It may be worthwhile to split this into one ticket per endpoint type to have nice small branches.)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

