GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — The TypeError message from random.seed call has a seemingly unintentional newline in the middle · Issue #110050 · python/cpython Closed Labels stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionBug reportBug description:>>> import random >>> random.seed(random) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "...lib/python3.12/random.py", line 167, in seed raise TypeError('The only supported seed types are: None,\n' TypeError: The only supported seed types are: None, int, float, str, bytes, and bytearray. It appears that the newline in the middle added in #25874 isn't intentional. I'll send a PR. CPython versions tested on:3.12 Operating systems tested on:Linux Linked PRsActivity
MetadataMetadataAssigneesLabelsstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |