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 — BUG: SeedSequence accepts types outside of spec · Issue #27380 · numpy/numpy Open Labels DescriptionDescribe the issue:
This might be more of a FR than a bug, but the lack of standardization could increase end users error risk. Reproduce the code example:import numpy as np np.random.SeedSequence(0).generate_state(1) np.random.SeedSequence([]).generate_state(1) np.random.SeedSequence([[],[]]).generate_state(1) np.random.SeedSequence(np.empty((0,10,10))).generate_state(1) np.random.SeedSequence(np.empty((0,10,10), dtype=float)).generate_state(1) Error message:No error. The output of the above is All produce array([2968811710], dtype=uint32) array([2968811710], dtype=uint32) array([2968811710], dtype=uint32) array([2968811710], dtype=uint32) array([2968811710], dtype=uint32) Python and NumPy Versions:2.1.1 Runtime Environment:No response Context for the issue:It simply seems a bit less careful than it should be, and could allow accidental seed values in. Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — 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. |