Message298785
| Author |
wbolster |
| Recipients |
Nir Soffer, wbolster |
| Date |
2017年07月21日.08:57:53 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1500627473.71.0.580028777158.issue30977@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
i consider uuids as low level data types, not as fancy containers, similar to how i view datetime objects. given the native support in e.g. postgresql and many other systems, it's common to deal with uuids.
of course you can convert to/from strings or numbers, but that is cumbersome in many cases. for comparison, one would typically not convert unicode text from/into utf-8 encoded byte strings either, even though the latter will save memory in many cases.
from experience: converting can lead to nasty bugs, e.g. because you forgot about a conversion, and then a uuid string does not compare equal to a uuid.UUID instance, leaving you puzzled. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2017年07月21日 08:57:53 | wbolster | set | recipients:
+ wbolster, Nir Soffer |
| 2017年07月21日 08:57:53 | wbolster | set | messageid: <1500627473.71.0.580028777158.issue30977@psf.upfronthosting.co.za> |
| 2017年07月21日 08:57:53 | wbolster | link | issue30977 messages |
| 2017年07月21日 08:57:53 | wbolster | create |
|