Last call regarding Python 2 removal

Gary E. Miller gem at rellim.com
Fri Nov 6 03:41:03 UTC 2026


Yo Fred!

On Thu, 5 Nov 2026 19:27:40 -0800 (PST)
Fred Wright via devel <devel at ntpsec.org> wrote:

> > We only worry about NTPSec here.  NTPSec works fine with Python 3,
> > more versions at least.  That said, I have not found porintg 2 code
> > to 3 hard at all...  
> 
> If ntpsec only used Python *internally*, that would be fine.  But it 
> provides Python modules that *users* can use to interact with it in 
> *their* python code, making its Python compatibility a user-visible 
> aspect.

Got some links to examples?  I don't recall an complaints from any code
clients.  Do any of them read this list?  Or maybe users at ntpsec.org ?
Can you get some to speak up?

> >>>> there's the matter of the polyXXX() wrappers. Some people
> >>>> mistakenly believe that those are there to provide Python 2
> >>>> compatibility.  They're not.  They're there to provide *Python 3*
> >>>> compatibility.
> >>>
> >>> Is the glass half full or half empty?
> >>
> >> Huh?
> >
> > https://en.wikipedia.org/wiki/Is_the_glass_half_empty_or_half_full%3F

I mean that some will see the polyXXXX() as a positive, no matter
what, and others will see them as a negative, no matter what.

> >>> Maybe a kludge, but I find myself using them even in programs only
> >>> for Python 3.  
> >>
> >> That's nuts.  All *new* Python code that I write is compatible with
> >> both Python2 and Python 3, with nary a polyXXX() call in the lot.  
> >
> > Ugh.  I would hate to contart my brain that way...  But you go
> > ahead and code your way.  
> 
> In other words, you have yet to adopt the Python 3 view of dataypes.

Nope.  I certainly have, when appropriate, as appropriate.  I just think
that there are way too many "string" types for no real advantage.  But
not exactly on topic here.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 283 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20261105/7741d5ac/attachment-0001.bin>


More information about the devel mailing list