New submission from Tilman Krummeck <tilman.krumm...@googlemail.com>:
I found a problem by accident on Python 3.5.3 with the uuid library. Running this: from uuid import UUID UUID(["string"]) This throws an AttributeError: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Users\Tilman Krummeck\AppData\Local\Programs\Python\Python35-32\lib\uuid.py", line 137, in __init__ hex = hex.replace('urn:', '').replace('uuid:', '') AttributeError: 'list' object has no attribute 'replace' This is for sure not intended to work, but should throw a type error in my opinion even before trying to create that UUID object. ---------- components: Library (Lib) messages: 305148 nosy: TilmanKrummeck priority: normal severity: normal status: open title: Creating a UUID with a list throws bad exception type: behavior versions: Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31888> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com