[OpenIndiana-discuss] meld tool/utility is broken

Alan Coopersmith alan.coopersmith at oracle.com
Mon Sep 14 20:56:17 UTC 2026


On 9/14/26 13:00, Tim Mooney via openindiana-discuss wrote:
> In regard to: [OpenIndiana-discuss] meld tool/utility is broken, Predrag...:
> 
>>     x: float | None = None,
>> TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
> 
> I think it may be this:
> 
> https://stackoverflow.com/questions/76712720/typeerror-unsupported-operand-types-for-type-and-nonetype
> 
> Both meld's web site and meld's gitlab page says it only requires Python
> 3.4.7 or later, but that "type | None" syntax is apparently a Python 3.10+
> thing.

Where do you see 3.4.7?

https://gitlab.gnome.org/GNOME/meld lists Python 3.10 under Requirements,
and https://meldmerge.org/ says 3.6 (which is admittedly wrong).

Meld's bug tracker says it uses this syntax because it expects Python 3.10
or later:
https://gitlab.gnome.org/GNOME/meld/-/work_items/921

-- 
         -Alan Coopersmith-                 alan.coopersmith at oracle.com
          Oracle Solaris Engineering - https://blogs.oracle.com/solaris



More information about the openindiana-discuss mailing list