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?

closed as off-topic by Arulkumar, Sonic the Anonymous WizHog, PolyGeo, Ward, Pierre.Vriens Jul 11 at 4:00

This question appears to be off-topic. The users who voted to close gave these specific reasons:

  • "The problem described here can no longer be reproduced. Changes to the system or to the circumstances affecting the asker have rendered it obsolete. If you encounter a similar problem, please post a new question." – PolyGeo, Ward, Pierre.Vriens
  • "This question's topic is only applicable to one specific site in the Stack Exchange Network. Questions on Meta Stack Exchange should relate to features or policies that commonly apply to the network or the software that drives it, within the guidelines defined in the help center. You should ask this question on the meta site where your concern originated." – Arulkumar, Sonic the Anonymous WizHog
If this question can be reworded to fit the rules in the help center, please edit the question.

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.

  • 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 – Simon Bergot Mar 7 '12 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." – Robert Harvey Mar 7 '12 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. – Simon Bergot Mar 7 '12 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. – Robert Harvey Mar 7 '12 at 17:28
  • @Robert - Seriously? Is that the flag that came over? Somehow I get the feeling stuff like that is not uncommon – Adam Rackis Mar 7 '12 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. – Simon Bergot Mar 7 '12 at 17:37
  • 1
    @AdamRackis It happens with impressive regularity. – Adam Lear Mar 7 '12 at 18:50

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