Sander Van Balen

Results 75 comments of Sander Van Balen

I found out about it by digging into the code when I was trying to find out the strange behavior that resulted in #198. See [here](https://github.com/c4urself/bump2version/blob/190a9940a6190401a4e528d832d9a0e82e0a49c2/bumpversion/cli.py#L60).

I agree documenting this would be a good idea. I believe there were some other things I didn't find in the README but I didn't think to write them down....

You're right, `lstrip` and `rstrip` only strip whitespace of course, I agree `lookbehind[0].endswith(search_lines[0])` would be better. I don't think you'd benefit from right-stripping both strings though (for the first line...

Additionally, if you'd use `endswith`, you'd have to consider the case where there's only one search line separately. If there's only one llne, `in` is correct I think.

I'll give this another go soon and take that into account, then report back.

Did you use Python 3.10? I just tried to reproduce the issue with Python 3.10 and failed, then went back to 3.9 (which I was using when I made the...

The Python version could be a misdiagnose. I'm having trouble getting consistent behavior. It looks like sometimes it works as expected for the first new package version since the server...

That's an interesting addendum, I only waited about 10 seconds each time. I've got a script now (I'll share it once it's more or less stable) and I'll add a...

I'm finally getting some consistency with my testing. Alas it looks like I can't reproduce it to the extent I described when I first opened this issue. It's possibly I...

Thanks for your response. I can confirm that the steps outlined above result in the desired behavior on that branch for Python 3.6. It still fails for 3.9 though. Should...