Timeline for Create a duplicate, or bounty the wrong version?
Current License: CC BY-SA 4.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 1, 2021 at 10:30 | comment | added | Braiam | @PM2Ring that's why you can add multiple answer to the same question. That would work perfectly. You don't need to have copies of the same "How to do X?" for both python 2 and 3 (or worse, for each X.Y version)! | |
Mar 31, 2021 at 19:08 | comment | added | PM 2Ring | (cont) One major difference is in Unicode handling, which had major flaws in Py 2, so a lot of Py 2 code that processes Unicode is buggy, and if it did work correctly it generally needs to be rewritten to run on Py 3. | |
Mar 31, 2021 at 19:07 | comment | added | PM 2Ring |
@Braiam That wouldn't work. Python 3 is not backwards compatible with Python 2. Depending on what you're doing, you may be able to write code that gives the same result in Py 2 or 3, but that's not always the case, and even when it is the code may be less efficient than version-specific code. If you're lucky, attempting to run code with the wrong version will fail, but it could run and give a different result, eg 9/2 gives 4 in Py 2 but gives 4.5 in Py 3.
|
|
Mar 31, 2021 at 18:14 | comment | added | Braiam | @PM2Ring that seems a lot of work for not just simply have a single tag for all Python questions, since at the end that's what they should have. | |
Mar 31, 2021 at 10:58 | history | edited | Tomerikoo | CC BY-SA 4.0 |
added 29 characters in body
|
Mar 31, 2021 at 10:49 | comment | added | PM 2Ring |
I think it's ok to have an answer on the old one, but @Gavin should expand the answer on the new question. And perhaps explain a bit about the things that work on Python 2 vs 3. Using subprocess can be a little confusing, due to the various changes & additions.
|
|
Mar 31, 2021 at 10:46 | comment | added | Tomerikoo | Makes sense... @GavinS.Yancey it seems to me that you just repeated the answer. Or at least kept the original inside the modified one. So can you please delete the original? This is an unnecessary duplication and whoever arrives to the old question will be redirected to the new one and see your answer there | |
Mar 31, 2021 at 10:33 | comment | added | Tomerikoo | @samcarter_is_at_topanswers.xyz I agree and this is what I advised to do and what I think should be the general rule. I only meant that it might feel logically "weird" because usually something new is already a duplicate of something existing. "How can an old question be a duplicate of a newer one if it was asked before?" - in SO it's possible if the new one has more helpful answers... | |
Mar 31, 2021 at 10:15 | comment | added | PM 2Ring | In general, all Python questions should have the generic tag, not just a version-specific tag, so if you come across Python questions (that are worth keeping) that don't have the generic tag, please edit it in. That also applies to stuff like Pandas or Django questions that don't have any python tags at all. | |
Mar 31, 2021 at 9:50 | comment | added | samcarter_is_at_topanswers.xyz | "dupes should be chronological " Isn't the usual stance that the best/clearest/most detailed question should become the dupe target even if it might be newer? | |
Mar 31, 2021 at 9:09 | vote | accept | Gavin S. Yancey | ||
Mar 31, 2021 at 9:09 | comment | added | Gavin S. Yancey |
The other question is different enough (asks for a limited set of processes, explicitly says not to use os.wait ) that I'm just writing a new answer based on it and leaving the old one up.
|
|
Mar 31, 2021 at 8:53 | comment | added | Tomerikoo | Well since you don't have any votes on it yet, I would say just delete and re-post | |
Mar 31, 2021 at 8:52 | comment | added | Gavin S. Yancey | Should I just copy-paste the contents of my answer, or is there a way to get it moved? | |
Mar 31, 2021 at 8:50 | history | answered | Tomerikoo | CC BY-SA 4.0 |