On 2020-04-17 20:19, Robert Huff wrote:
> 
> Dimitry Andric writes:
> 
>>  But basically, expect all python 2.x using ports to go away, unless
>>  they get fixed to use python 3.x, or no python at all.
> 
>       Is there a method whereby - given a list of installed ports using
> python 2 - one might determine which can and which cannot be upgraded
> to pythin 3?
> [...]

There's a heuristic method: run the python program "2to3" on the
file you want to asses.  It will try to replace 2.x usages with
their 3.x equivalents.  Success is not guaranteed.  (2to3 is part
of python27.)                                        -- George

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to