3

This question has been closed as too localized.

String equality failure in Python. What gives?

The real problem was an issue with an invisible character not removed by the strip string method. The question was asked by a newcomer, and while it did not contain all the necessary information, it was far from a bad question. The OP took the effort of updating the question with more details.

What is the problem in this SO question which makes it too localized?

3

1 Answer 1

3

The answer is in the close reason:

This question is unlikely to ever help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet.

In other words, it is a troubleshooting question, the problem being so specific that it is unlikely to be of help to anyone else.

Note that the OP got a solution to his problem anyway. Mission accomplished.

7
  • 4
    I understand the meaning of too localized. I simply don't agree. The behavior of strip is counter intuitive in this case, and sanitizing input strings is not by any mean an extraordinarily narrow situation Mar 7, 2012 at 17:17
  • 2
    The question got three close votes from community members, and one moderator flag with the following text: "Please guess what's wrong with my code."
    – user102937
    Mar 7, 2012 at 17:21
  • 1
    I am not discussing the moderation mecanism. I question the motivation in this specific case. I am not saying that I am right either. If you think the decision was correct I honestly want to know why. I understand that this is not a dictatorial decision, and that several people are involved. But the question was also upvoted, so I think that I am not the only one to disagree. Mar 7, 2012 at 17:25
  • 2
    It is a troubleshooting question, the problem being so specific that it is unlikely to be of help to anyone else. Granted, this is a judgement call.
    – user102937
    Mar 7, 2012 at 17:28
  • @Robert - Seriously? Is that the flag that came over? Somehow I get the feeling stuff like that is not uncommon Mar 7, 2012 at 17:28
  • Note that the OP got a solution to his problem anyway. Mission accomplished. I don't think so. Unfair decisions are likely to degrade the community. Mar 7, 2012 at 17:37
  • 1
    @AdamRackis It happens with impressive regularity.
    – Adam Lear StaffMod
    Mar 7, 2012 at 18:50

Not the answer you're looking for? Browse other questions tagged .