Karthikeyan Singaravelan <[email protected]> added the comment:
I think this is a valid UUID and trying this on JDK 9 also returns 15 for the
version like Python. Am I missing something here?
➜ ~ jshell
| Welcome to JShell -- Version 9.0.4
| For an introduction type: /help intro
jshell> import java.util.*
jshell> UUID.fromString("481a8de5-f0d1-f211-b425-e41f134196da").version()
$2 ==> 15
jshell> UUID.fromString("481a8de5-f0d1-f211-b425-e41f134196da").variant()
$3 ==> 2
JDK implementation :
http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/src/share/classes/java/util/UUID.java#l247
Thanks
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue34732>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com