-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System hijacks failing when using python 3.7 #110
Comments
Actually, it doesn't look like this is Vim at all. I've built back to v7.4.2330, and I'm still seeing the same problem. I am using vroom 0.12.0, but that shouldn't matter here. |
I wonder if this is actually recent versions of Python? (I have 3.7.5rc1 in the place it's failing). |
Yep, I can repro and it fails on 3.7 but not on 3.5. Until the issue is tracked down and fixed, is it easy to just avoid python 3.7 for now in the places you're running into the failures, or not that simple? |
Possibly related: looks like doctests fail against python 3.7 as well, with a bunch of mismatch errors showing a trailing comma in the string representation of thrown exceptions. Example:
|
Doctests issue was unrelated. I fixed it in 379eefc. Still looking into the syscalls. |
Looks like there was a strange behavior change in
In 3.7.5rc1:
Looks pretty simple to work around. We ought to also report upstream however that works, and should be a pretty simple unit test you could write in cpython to bisect when the behavior changed. |
I bisected it and tracked it down to https://bugs.python.org/issue32308. It's an intentional change, apparently. I can't wrap my head around why it would make sense, but it should be an easy workaround changing |
An intentional behavior change in python re.sub added a second empty match and "substitution" for '.*' (https://bugs.python.org/issue32308). This changed the catch-all regex vroom was using to an anchored '^.*$', which will ensure it only makes one substitution. Fixes #110.
An intentional behavior change in python re.sub added a second empty match and "substitution" for '.*' (https://bugs.python.org/issue32308). This changed the catch-all regex vroom was using to an anchored '^.*$', which will ensure it only makes one substitution. Fixes #110.
With Vim 8.1.2269, running Vroom over it's own tests fails with some odd doubled-up outputs for hijacked syscalls:
I believe this is caused by a change in a recent version of Vim, probably sometime after 8.1.0875.
The text was updated successfully, but these errors were encountered: