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 — Bit cannot round-trip accepted empty values through text · Issue #165 · pgvector/pgvector-python Closed Description
Reproduced on current from struct import pack from pgvector import Bit bit = Bit(b"") assert bit.to_list() == [] assert bit.to_text() == "" assert bit.to_binary() == pack(">i", 0) assert Bit.from_binary(bit.to_binary()) == bit Bit.from_text(bit.to_text()) # ValueError: invalid literal for int() with base 2: '' # These also raise the same ValueError: # Bit("") # Bit([]) The shared string/list constructor reaches Nonempty controls at lengths 1, 7, 8 and 9 preserve their exact text and binary representations. This report concerns the public Prepared with AI assistance; no human review is claimed. Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue 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. |