-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This appears to be a bug with Python 3.5.
o https://stackoverflow.com/questions/16950394/why-is-a-trailing-comma-a-syntaxerror-in-an-argument-list-that-uses-args-syntax Apparently a trailing comma after "arbitrary" function arguments was not a part of the language specification at the time or was implemented incorrectly. Guido van Rossum, the creator Python and Benevolent Dictator for Life, has spoken, and the trailing comma is fixed in Python 3.6. Let's see whether I can say this in a nice way. My impulse has always been to include a trailing comma anywhere I might be inclined to add a line later. Upon thinking back, I suppose I was never able to get away with that in Python 2, but, after switching to Python 3 at 3.7, I didn't get caught again. I don't propose to change the "Phenology" WeeWX extension, though, because I side with Guido: The trailing comma is good practice, and all future Python interpreters should conform with it. You may wish to upgrade to Python 3.6+. If that doesn't work for you, eliminating the trailing commas after "arbitrary" arguments should be do-able and fix the problem. I apologize for the trouble. - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 50° — Wind SE 9 mph -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEfbJQAKCRBg2/xipKOW UktiAJ9JXdCDJsOVVG1iQFLVTEXJn2bRqQCfR18XqjmsK8VldOkgJ7FigYGKnr4= =jJCN -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/20210309143133.3e7d9f1e%40wealthy.