You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 15, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 15, 2026. It is now read-only.
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:
======================================================================
FAIL: Doctest: vroom.actions.ActionLine
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for vroom.actions.ActionLine
File "/home/dbarnett/projects/vroom/vroom/actions.py", line 63, in ActionLine
----------------------------------------------------------------------
File "/home/dbarnett/projects/vroom/vroom/actions.py", line 86, in vroom.actions.ActionLine
Failed example:
try: ActionLine(' @nope')
except vroom.ParseError as e: e
Expected:
ParseError('Unrecognized directive "nope"',)
Got:
ParseError('Unrecognized directive "nope"')
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 .* to ^.*$.
Activity
malcolmr commentedon Dec 5, 2019
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.
[-]System hijacks appear to be broken in recent Vim versions[/-][+]System hijacks appear to be broken?[/+]malcolmr commentedon Dec 5, 2019
I wonder if this is actually recent versions of Python? (I have 3.7.5rc1 in the place it's failing).
[-]System hijacks appear to be broken?[/-][+]System hijacks failing when using python 3.7[/+]dbarnett commentedon Jan 20, 2020
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?
dbarnett commentedon Jan 20, 2020
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:
dbarnett commentedon Jan 20, 2020
Doctests issue was unrelated. I fixed it in 379eefc. Still looking into the syscalls.
dbarnett commentedon Jan 21, 2020
Looks like there was a strange behavior change in
re.sub. In 3.5.4rc1: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.
dbarnett commentedon Jan 21, 2020
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
.*to^.*$.Fix weirdly duplicated system hijack output on python 3.7
Fix weirdly duplicated system hijack output on python 3.7
Bump version to 0.14.0