qwebirc
qwebirc copied to clipboard
Python 2 is EOL
https://www.python.org/doc/sunset-python-2/
Is a rewrite in Python 3 on the road map? The other decent alternatives all use node.js sadly.
I've been keeping an eye on twisted's port to python3 for a while
I was kinda hoping they'd have finished it by now, apparently it's partially done
I'll have a look
@retropc Got a link to the repo, it doesn't show when I search?
I haven't done it yet, I mean to shortly
I have a question about this, as I'm running qWebIRC on a very old system, where Python 3 simply can't be installed anymore (and node.js can't, either).
Will this mean that qWebIRC will stop working with Python 2 in case of a rewrite for Python 3?
Thanks!
upgrade the system?
I'm running python 3 on debian buster quite happily on my 2011 raspberry pi
It's a Windows 2000 machine actually. And the specific hardware has a bug in the processors (running quad Pentium Pro chips, early "Klamath" Pentium II's have the bug as well). The bug is related to symmetric multi-processing and L2 cache dirty TLB shootdown in the OS kernel. Anything equal to or newer than NT 5.2 (Server 2003) enforces this feature, creating a very problematic state in which system memory becomes inconsistent with L2 cache memory.
You can either disable dirty TLB shootdown (not possible with Windows) or disable SMP (crippling the system, downgrading it from four to one processors).
You can consider it a "private museum server" of sorts, so I'm fine with running an old version of qWebIRC. I was just curious about this part.
probably get yourself a raspberry pi if you want to keep running it
will probably be more powerful than that box, and use a lot less power!
probably get yourself a raspberry pi if you want to keep running it
will probably be more powerful than that box, and use a lot less power!
Very much correct, but it's not about speed or power consumption. ;) I just really like that machine and wanna see just how far I can push it. The minimum I'm aiming for is 30 years of near-continuous operation, and it's already reached 24 years. Plus, it is (as far as I know) the last one of its type still operational in the entire world - it's an IBM PC Server 704.
But that's totally off-topic here. ;)
new here, if it is on python 3 I ll use it.
I've made an attempt at a Python 3 port at https://github.com/mas90/qwebirc/tree/python3 (not quite confident enough in it yet to open a PR, but I'm using it and it seems to work!). If you're interested, please test it.
Some unusual code paths such as the QuakeNet authentication stuff are definitely untested.
This will almost certainly no longer work in Python 2, but as the OP said, Python 2 is EOL :-)
hi Malcom
thanks, you seem to have saved me quite a bit of work!
I'll have a good look at it this weekend
cheers
@mas90 no problems with unicode handling? Guess I should try it out!
@retropc anything us remaining qwebirc users can do other than help test it?
I've just submitted #401, please test. Cheers