Ticket #2512 enhancement closed fixed

Opened 6 years ago

Last modified 5 years ago

simple typo in twisted/internet/error.py

Reported by: thomasvs Owned by:
Priority: low Milestone:
Component: core Keywords:
Cc: moonfallen Branch:
Author: Launchpad Bug:

Description

This typo has been around a long time.

Attaching patch. I hope this is what was meant to be said.

Attachments

process.patch Download (451 bytes) - added by thomasvs 6 years ago.
error.diff Download (0.5 KB) - added by exarkun 5 years ago.
change excited to exited, leave has alone

Change History

Changed 6 years ago by thomasvs

1

Changed 6 years ago by moonfallen

Um, as long as you're in there, could you fix the *other* typo in that sentence too? "exited". :-)

2

Changed 6 years ago by moonfallen

  • cc moonfallen added

3

Changed 6 years ago by thomasvs

Oh, well how am I supposed to know which direction the developers wanted to go with their docstring ? I was just excited to be able to contribute.

I am happy if this gets fixed either way to uphold the excellent quality image of Twisted! Would it be better to do the fixing work on a branch ?

4

Changed 6 years ago by therve

You should probably add a unittest to verify that the word 'excited' is not in the doctring anymore. It's not in the twisted 'family spirit' policy, because it vehicles subversive ideas.

5

Changed 6 years ago by moonfallen

  • owner changed from glyph to moonfallen
  • status changed from new to assigned

No unit test or branch is necessary. I just thought it was strange that you fixed one typo and not the other. :-P Technically we're not supposed to review changes we made ourselves, and I'd like to review and commit your change.

Changed 5 years ago by exarkun

change excited to exited, leave has alone

6

Changed 5 years ago by exarkun

  • keywords review added
  • status changed from assigned to new
  • owner moonfallen deleted

has looks correct to me in that context. I fixed excited in the attached patch, though.

7

Changed 5 years ago by therve

  • keywords review removed
  • owner set to exarkun

Please apply.

8

Changed 5 years ago by exarkun

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

(In [23960]) Apply error.diff, fixing the docstring of ProcessExitedAlready

Author: exarkun Reviewer: therve Fixes: #2512

Reformat the docstring of ProcessExitedAlready and fix the spelling of "exited".

9

Changed 2 years ago by <automation>

  • owner exarkun deleted
Note: See TracTickets for help on using tickets.