Opened 14 years ago

Last modified 10 years ago

#2787 defect new

IReactorProcess.spawnProcess doesn't document all exceptions which the implementation can raise

Reported by: Jean-Paul Calderone Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: therve Branch:
Author:

Description

One exception is documented at <http://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.IProcessTransport.html#signalProcess>. However, the POSIX implementation at least can raise anything which os.kill can raise, which means OSError, probably for either EPERM or ESRCH. I don't even know what exceptions win32process.TerminateProcess might decided to raise. The implementations should probably try to do something consistent with each other, and then the documentation should be made correct.

Change History (4)

comment:1 Changed 14 years ago by therve

Cc: therve added

That's something that could be adjusted during the resolution of #2420.

comment:2 Changed 13 years ago by Glyph

Owner: changed from Glyph to Jean-Paul Calderone

comment:3 Changed 11 years ago by <automation>

Owner: Jean-Paul Calderone deleted

comment:4 Changed 10 years ago by Jean-Paul Calderone

#5222 was a duplicate of this.

Note: See TracTickets for help on using tickets.