Skip to main content
13 events
when toggle format what by license comment
May 5, 2017 at 16:18 vote accept George McGinn
May 3, 2017 at 6:24 comment added Mast Mod This question has attracted good answers. Consider accepting the one that best answered your question.
Feb 25, 2017 at 1:58 history edited JamalMod CC BY-SA 3.0
added 1 character in body; edited title
Feb 24, 2017 at 9:44 comment added Peilonrayz Mod @GeorgeMcGinn I rejected your latest edit, which I think prompted you to write this. I ran the code in my 2.7.13 Python install and it worked fine. I can't see a reason why it wouldn't work on 2.6 either, and the parenthesis are the only reason it doesn't work on any Python 3 version.
Feb 24, 2017 at 7:53 answer added Simon ForsbergMod timeline score: 3
Feb 24, 2017 at 7:34 answer added Der Kommissar timeline score: 6
Feb 24, 2017 at 6:48 comment added George McGinn @Hosch250 I have two copies of Python 2.7, one on my web server, and the other on an App on my iPad. Both failed. But my question isn't about software versions per say, it is that we are allowed to edit questions as long as we don't change the meaning, and adding two pairs of parenthesis isn't a major change. My questions get edited all the time by others who are not moderators and they helped (like formatting issues). So why can't we lower the threshold to allow an edit to put () or fix a minor syntax error the OP may not be aware of?
Feb 24, 2017 at 6:44 comment added George McGinn @Mat'sMug I read that post and I agree, if the the changes are to the logic where the person hasn't a clue how to code in that language and combines actual code with pseudo code, the yes, flag and close. But this was a case of either forgetting a pair of parenthesis, or there is a version of Python that I do not have, and I have 6 different versions in Apps, iMac and my webservers, including the version of Python in the tag and unless there is a library that allows you to not put parenthesis in PRINT statement, the OP's question should not be closed. It is a minor fix the should be allowed.
Feb 24, 2017 at 5:57 comment added George McGinn But I used that as an example of what I think is the issue, why six characters? You can't get six characters if someone has made a simple mistake in the code. Then you need to type something as to why you fixed it in the answer. That is my real concern. Not what version of Python it is. I have many versions and it syntax's out in all. My question is why 6 characters?
Feb 24, 2017 at 5:55 comment added George McGinn I ran it in Python 2.7 and it still gave me a syntax error.
Feb 24, 2017 at 5:54 comment added user34073 In the first place, the question was probably tagged Python 2.x, or should have been. You were trying to run it on Python 3.x, and editing the code is not allowed anyway, so your edit would have been rejected.
Feb 24, 2017 at 5:42 comment added Mathieu Guindon Mod Related (somewhat): Non-OP edits to change the original question to make it on-topic, and Can I edit broken code if I'm sure I'm recreating OP's original code? seems relevant
Feb 24, 2017 at 5:36 history asked George McGinn CC BY-SA 3.0