Ticket #6241 defect closed fixed

Opened 5 months ago

Last modified 5 months ago

Documentation on twisted.web.client.FileBodyProducer.__init__()

Reported by: cpburnz Owned by: mwh
Priority: low Milestone:
Component: web Keywords: documentation
Cc: jknight Branch:
Author: Launchpad Bug:

Description

The documentation for  twisted.web.client.FileBodyProducer.__init__() indicates that the default value for readSize is 216, but in the source it is 2 ** 16 (which is 65536). This is probably related to what parses the doc-strings. Interpreting "2 ** 16" to "216" seems likely a bug with it.

Change History

1

Changed 5 months ago by DefaultCC Plugin

  • cc jknight added

2

Changed 5 months ago by glyph

  • owner set to mwh
  • keywords twisted web client FileBodyProducer removed
  • milestone Twisted-12.3 deleted

Don't think a milestone is appropriate for this one, especially not a milestone of an existing release. (Unless you're proposing that it be done in a maintenance release? It might be cool to have one of those.)

Over to mwh because this is probably really a pydoctor bug. Please file one if so.

3

Changed 5 months ago by mwh

Yep, that's a pydoctor bug. I fixed it in revision 590 of  lp:pydoctor, didn't bother filing a bug though.

4

Changed 5 months ago by exarkun

  • status changed from new to closed
  • resolution set to fixed

It sounds like this will be fixed in the next release of Twisted, then, when the documentation is regenerated? In that case, I think this ticket is resolved (and it seems like it was really a pydoctor ticket to begin with). Please re-open if I missed something.

Note: See TracTickets for help on using tickets.