-1
\$\begingroup\$

Every time a post involves Python code, it has the Python tag AND the Python version tag that suits the version of Python that the post is using.

I think that is a little repetitive, and we should either:

  • Burn and have Python related posts use the tag that contains the version of Python being used.

  • Keep , burn the Python version tags, and have Python related posts put the version of Python being used in the post body.

\$\endgroup\$
1

4 Answers 4

6
\$\begingroup\$

Glancing at the front page of questions tells me that you're exaggerating a bit. Not every question has a related version tag. Either way, burnination isn't the right course of action here. Synonyms would be much more appropriate.

Personally, I don't see a need for version tags. I mean, we don't have , , , etc. If a specific version of the language is being targeted, it's easy enough to say so in the question. Would anybody seriously be following the tag, but not ?

I would propose the synonyms and see if the other users of the tag agree with you.

\$\endgroup\$
7
  • 7
    \$\begingroup\$ The problem with python is... the one version is utterly incompatible with the other... while synonyms and mentioning the version in the question body would be a nice idea, some people may actually only want to follow python3 questions \$\endgroup\$
    – Vogel612
    Commented Jun 7, 2015 at 23:25
  • \$\begingroup\$ I tried to propose python3 as a synonym to python, but I got the error: Version specific synonyms can only be created by moderators. You should try it out to see if you don't get the error. \$\endgroup\$
    – SirPython
    Commented Jun 7, 2015 at 23:26
  • \$\begingroup\$ @Vogel612 I had no idea that was the case. That changes things s bit. Let's wait to hear what the regular Python users have to say. \$\endgroup\$
    – RubberDuck
    Commented Jun 7, 2015 at 23:28
  • 3
    \$\begingroup\$ @Vogel612 Python 2 and 3 have some significant differences. But "utterly incompatible" is an exaggeration. We use the version-specific tags only when it's not clear from context. \$\endgroup\$
    – 200_success Mod
    Commented Jun 8, 2015 at 1:07
  • 1
    \$\begingroup\$ I really think this checkmark is premature. I'd really like to hear from our Python users. \$\endgroup\$
    – RubberDuck
    Commented Jun 8, 2015 at 10:50
  • \$\begingroup\$ C# != Python. Consider ActionScript 2.0 vs. ActionScript 3.0, we have version specific tags there. Each language needs to be treated individually in this area. \$\endgroup\$ Commented Jun 8, 2015 at 14:57
  • 3
    \$\begingroup\$ It is important to know whether the question is Python 2 or 3, I have both installed, and seeing the tag allows me to open the right one immediately without waste of time. Keep. \$\endgroup\$
    – Caridorc
    Commented Jul 8, 2015 at 21:58
17
\$\begingroup\$

The reason why these tags are useful is that they affect the set of helpful review comments. The way that I interpret these tags is:

  • + — only required to run under Python 2.7, presumably because it is interfacing with a legacy system that has not yet been ported to Python 3. Review comments about portability to Python 3 are probably helpful, because it is likely that at some point the legacy system will be ported.

  • + — only required to run under Python 3, presumably because it needs to take advantage of features that are only available in Python 3, such as asynchronous I/O or the yield from statement. Review comments about portability to Python 2.7 are probably not helpful.

  • only – agnostic about Python version: there are no requirements either way. Review comments about portability to Python 3 may be helpful, to Python 2.7 probably not.

People asking questions rarely mention the version of Python that they are using in the text of the post, but do often add the appropriate tag. I think this is because of the way the tag interface works: when you type "python" into the Tags field, you are prompted to choose from and (among others). Without this prompt, I think it's likely that we would lose valuable information.

But maybe this benefit isn't worth the cost of having three tags. But remind me, what is the cost of having three tags?

\$\endgroup\$
1
  • 3
    \$\begingroup\$ Personally, I think the check mark should be here. \$\endgroup\$
    – RubberDuck
    Commented Jun 22, 2015 at 23:25
7
\$\begingroup\$

That's a really old problem. I often look for a version tag when I want to answer questions, be it with C++ or Python because I sometimes don't feel like answering questions for some versions, but I also sometimes want to see all the latest questions for the language, whatever the version. So I like having both the general and the version-specific tags on questions.

The elegant solution would be tag hierarchies which would allow questions tagged to be found when we search for but the SE team has consistently refused to implement such a feature for reasons.

\$\endgroup\$
2
\$\begingroup\$

Having both and doesn't supply more information than just on it's own. If backwards compatibility is required (it usually isn't), apply both and .

However, this is along the lines of using both and on the same question. They are different languages, don't use both tags at the same time. We don't have a tag either, so we don't need a general either.

However

Python used to be backwards compatible up till 2.7. Which means Python written for 1.5 should run in all versions from 1.5 up till 2.7. Since Python3, this is no longer applicable. Some questions are only tagged without a more specific version. Burning the tag would leave those questions without a language tag!

The tag info currently states:

Use the python tag for all Python related questions. If you believe your question may be even more specific, you can include a version specific tag such as python-2.7.

Guess what, many questions don't follow this advise. Do note the advice was added on January 20th this year by Hosch250. It appears to have been intended for Python2 questions only, but I'm not sure about that.

However, the current tagging is inconsistent. Something should be done to solve that. Burning isn't the option, re-tagging and synonimizing would be a better fit.

Deprecating the usage of and forcing users to pick a more specific version would be much, much better.

\$\endgroup\$

You must log in to answer this question.

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