Hi *
I upgraded python, I need to recompile INN2, currently I run with
version 2.7.2, what version do you recommend me to use now? or
snapshoots? thanks a lot!
all good so far on the test machine, but i have problem with
cleanfeed i need review of script with python3-3.12.7-i686-1...
"""
errlog say:
/usr/inn/filter/filter_innd.py:121: SyntaxWarning: invalid escape
sequence '\s' self.re_newrmgroup = re.compile("(?:new|rm)group\s") /usr/inn/filter/filter_innd.py:124: SyntaxWarning: invalid escape
sequence '\d' self.re_none44 = re.compile("none\d+\.yet>") /usr/inn/filter/filter_innd.py:126: SyntaxWarning: invalid escape
sequence '\!' self.re_meow = re.compile("^Meow\!", re.M)
"""
have you fixed yet?
"Nigel Reed" wrote:
,----[ Quote 20241124142427.08c9a95f@wibble.sysadmininc.com ]
| I have Python 3.10.12 here and don't see that problem in my logs,
then | again. I'm not even sure if I'm using that one tbh.
`----
The SyntaxWarning write out comes only with the >= 3.12.x of Python
my Linux distribution is Slackware®-current, this is a very
up-to-date!
me wrote:
,----[ Quote vhv958$oti$1@gatto.corradoroberto.it ]
| """
| /usr/inn/filter/filter_innd.py:121: SyntaxWarning: invalid escape sequence '\s'
| self.re_newrmgroup = re.compile("(?:new|rm)group\s")
| /usr/inn/filter/filter_innd.py:124: SyntaxWarning: invalid escape sequence '\d'
| self.re_none44 = re.compile("none\d+\.yet>")
| /usr/inn/filter/filter_innd.py:126: SyntaxWarning: invalid escape sequence '\!'
| self.re_meow = re.compile("^Meow\!", re.M)
| """
`----
https://onecompiler.com/python/42z3prksp
"""
import re
re.compile(r"(?:new|rm)group\s")
re.compile(r"none\d+\.yet>")
re.compile(r"^Meow\!", re.M)
"""
That's the problem with going all latest and greatest. Open a git issue
maybe and have it fixed at the source?
Weird, I don't think I've had this issue before.
Also, I like how you quote messages
I upgraded python, I need to recompile INN2, currently I run with
version 2.7.2, what version do you recommend me to use now? or
snapshoots?
https://www.eyrie.org/~eagle/software/inn/docs/news.html
There's currently no specific change, though. So updating from 2.7.2 to
a snapshot of 2.7.3 or 2.8.0 will be smooth.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 499 |
Nodes: | 16 (2 / 14) |
Uptime: | 44:52:21 |
Calls: | 9,833 |
Calls today: | 3 |
Files: | 13,764 |
Messages: | 6,193,628 |