This is great! It's so hard to find bugs in software tools because the conventional wisdom is that "it's never a bug in the compiler." Interesting that you had to create two patches for python 2.x and 3.x. (Frustrating, no?) Seems like you were able to get this submitted and fixed fairly quickly; the Python guys seem like a welcoming group. Has anyone else had experience contributing to this particular project?
I fixed a bug in Python
11–20 of 27 posts
Re: I fixed a bug in Python
#12Re: I fixed a bug in Python
#13link bait. actual title: i fixed an obscure bug in the cpython tokenizer.
I apologize for the "link bait." I didn't intend it as such, I was actually making fun of my "accomplishment," having contributed a tiny patch that fixed an obscure problem. I can see how it reads very differently on Hacker News...
Re: I fixed a bug in Python
#14link bait. actual title: i fixed an obscure bug in the cpython tokenizer.
I apologize for the "link bait." I didn't intend it as such, I was actually making fun of my "accomplishment," having contributed a tiny patch that fixed an obscure problem. I can see how it reads very differently on Hacker News...
Anyways, I did it anyhow (with the caveat to make me feel better :P) but I felt the same way about the "accomplishment" :). So congrats!
(This is tos9 by the way).
Re: I fixed a bug in Python
#15link bait. actual title: i fixed an obscure bug in the cpython tokenizer.
I apologize for the "link bait." I didn't intend it as such, I was actually making fun of my "accomplishment," having contributed a tiny patch that fixed an obscure problem. I can see how it reads very differently on Hacker News...
Re: I fixed a bug in Python
#16Re: I fixed a bug in Python
#17This is slightly off-topic but I always wondered: why are commits in the CPython repo have their username changed from the author of the change to the person who committed it?
Re: I fixed a bug in Python
#18This is slightly off-topic but I always wondered: why are commits in the CPython repo have their username changed from the author of the change to the person who committed it?
Completely guessing here, but it might be a tool thing. For example it's roughly what happens when I merge your code with git and then push it to subversion with git-svn.
So what happens isn't that someone with write access merges in changes (which, unless tools get in the way, should preserve authorship), but applies the patch - which attributes that code change to the person applying the patch.
Re: I fixed a bug in Python
#19It sounds to me like the guy who submitted 40k spaces is the one who discovered the bug ;). Congrats on getting your patch accepted though!
Re: I fixed a bug in Python
#20Earlier quoted context omitted.
Completely guessing here, but it might be a tool thing. For example it's roughly what happens when I merge your code with git and then push it to subversion with git-svn.
What you describe is a probable scenario, but I think the real reason is in the patch process. Contributions in python don't appear to happen pull request style ("here's my repo with my changes, please merge that in"), but rather through submitting patches ("here's a .patch file with my changes, please apply that to tip"). So what happens isn't that someone with write access merges in changes (which, unless tools get…
Does anyone know if hg has a similar author vs committer distinction? If so, perhaps the tool is displaying committers by default?