Repository navigation
Eliminate from ... import * in wasmtime.* - #304
Conversation
My preference would be a, but I'm fine with b or c. |
|
I think it's reasonable yeah! I'm happy to defer to whichever style you feel is best, I don't have a strong preference myself |
One case is left for now in wasmtime._ffi, in the interest of keeping the PR less huge.
528a11e to
2a8cbc9
Compare
|
Hitting #303, a type mismatch in |
|
I think 2a8cbc9 is the most I should do in a single PR, to leave it reviewable. I've prototyped one followup
This eliminates the one remaining I'll try to look at #303 next week. |
from ... import *from ... import * in wasmtime.*
|
main...moreati:wasmtime-py:split-up contains the followup WIP |
|
I have vague recollections of historically mypy and ctypes basically don't work together. I tried my best in various locations to get things to work but I almost surely bungled it in various places. I forget what is necessary to get things working or why things are the way they are though unfortunately. |
On a hunch I thought one or more of the
from ... import *might be triggering or influencing #302, so I tried removing them. This is result, it did not fix #302, I'm creating this PR mainly on the off chance there is any interest.Otherwise please feel free to ignore/close it. The number of changed lines is quite a high, for a low to middling benefit.