Opened 6 years ago

#6089 enhancement new

Improve and consolidate documentation of various writeSequence() implementations

Reported by: Hynek Schlawack Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:


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. """

Change History (0)

Note: See TracTickets for help on using tickets.