pysnmp icon indicating copy to clipboard operation
pysnmp copied to clipboard

Python 3.12 compatibility

Open bieniu opened this issue 1 year ago • 6 comments

Is there a plan to make a package compatible with Python 3.12?

bieniu avatar Oct 22 '23 12:10 bieniu

I had a look and the first obstacle seems to be that the asyncio an asynsock transports are heavily grafted on the asyncore implementation. Support for asyncore was dropped in python 3.12 so this needs quite some rewriting I'm afraid.

sjoerdtimmer avatar Oct 25 '23 14:10 sjoerdtimmer

You might track https://github.com/lextudio/pysnmp/issues/10

lextm avatar Oct 25 '23 15:10 lextm

Hello

stumbling on this issue, there could be an easy way to work around this by using the pyasyncore Pypi package. I don't use pysnmp myself so I did not try it out for you, sorry.

gpatel-fr avatar Mar 31 '24 17:03 gpatel-fr

@gpatel-fr The question is whether people should rely on that package.

Nobody is actually maintaining that pyasyncore (except dumping the old files into it), so whatever bad happens the fire is on others, not you, right?

lextm avatar Mar 31 '24 17:03 lextm

You could ask yourself another question: is answering like this to someone trying to help an efficient way of showing you as a thoroughly unpleasant character ?

gpatel-fr avatar Mar 31 '24 18:03 gpatel-fr

@gpatel-fr You don't actually help, but copied some random information here. Don't overreact when people like me pointed out the fact that you don't like.

lextm avatar Mar 31 '24 19:03 lextm