#2936 closed defect (fixed)
socketutil not usable in main
Reported by: | brief | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | minor | Milestone: | 4.1 |
Component: | server | Version: | trunk |
Keywords: | Cc: |
Description
While investigating #2125, I tried to use socket_util in main.
This only works with the attached patch.
Attachments (1)
Change History (5)
Changed 3 months ago by
Attachment: | socket_util.py.patch added |
---|
comment:1 Changed 3 months ago by
Version: | 3.0.x → trunk |
---|
comment:2 Changed 3 months ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 3 months ago by
If you try to use a function socket_util in main, e.g.
from xpra.net.socket_util import parse_bind_vsock
it gives the following error:
ImportError: cannot import name 'parse_bind_vsock' from partially initialized module 'xpra.net.socket_util' (most likely due to a circular import)
comment:4 Changed 5 weeks ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2936
Note: See
TracTickets for help on using
tickets.
also found a whitespace :)