yaq-project / qtypes

Build Python Qt graphical user interfaces out of simple type objects.
GNU Lesser General Public License v3.0
0 stars 2 forks source link

potential bad behavior when setting float limits while setting units #1

Open untzag opened 2 years ago

untzag commented 2 years ago

If somebody was to provide both minimum and units, but not maximum, there might be ambiguous behavior.

Currently this will be totally ignored. We will have to revisit this in a polishing stage. I think the likely answer is to raise exceptions when naughty data appears.

ksunden commented 2 years ago

shouldn't the max just be inf then?