Skip to content

Conversation

@waketzheng
Copy link

Fixes #582

@SaladDais
Copy link

Might be better to put the initial loop.add_signal_handler() in a try: ... except NotImplementedError: signals_supported = False and then skip the signal removal if signals aren't supported?

I think the inspect.getsource() approach may have issues if you're using a bundled interpreter with only bytecode for the stdlib files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ptpython on Windows 11 in asyncio mode does not work

2 participants