Ticket #6089 enhancement new
Opened 7 months ago
Improve and consolidate documentation of various writeSequence() implementations
| Reported by: | hynek | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | Branch: | ||
| Author: | Launchpad Bug: |
Description
As discussed in #6083, some of the writeSequence() implementations aren’t very clear about the datatype it accepts. For example twisted.internet.abstract.FileDescriptor vs. twisted.internet.interfaces.ITransport.writeSequence.
Quoth Glyph:
""" If it is super, crystal clear that you absolutely must always pass a L{list} of L{bytes}es, then it will be a bit less likely that people will bump into that problem, and the documentation should be fixed regardless of whatever other error-behavior improvements are done. """
Note: See
TracTickets for help on using
tickets.
