Skip to content

Fix ValueError when formatVal is 0#13

Merged
evantypanski merged 1 commit into
masterfrom
topic/etyp/fix-implicit-string-conversion
Oct 14, 2025
Merged

Fix ValueError when formatVal is 0#13
evantypanski merged 1 commit into
masterfrom
topic/etyp/fix-implicit-string-conversion

Conversation

@evantypanski

Copy link
Copy Markdown
Member

Using f-strings doesn't implicitly convert the val to a string, whereas before the % formatting would. Caused by linter changes 836454e.

reported on Slack

@evantypanski
evantypanski force-pushed the topic/etyp/fix-implicit-string-conversion branch from d205d7c to f4ee91d Compare October 14, 2025 12:53
Comment thread trace-summary Outdated
Using f-strings doesn't implicitly convert the val to a string, whereas
before the % formatting would. Caused by linter changes 836454e.
@evantypanski
evantypanski force-pushed the topic/etyp/fix-implicit-string-conversion branch from f4ee91d to 232fdaa Compare October 14, 2025 13:27
@evantypanski
evantypanski merged commit f8cdde0 into master Oct 14, 2025
5 checks passed
@evantypanski
evantypanski deleted the topic/etyp/fix-implicit-string-conversion branch October 14, 2025 13:30
@timwoj

timwoj commented Oct 14, 2025

Copy link
Copy Markdown
Member

Should we turn around 8.0.3 pretty quick to get this in?

@evantypanski

Copy link
Copy Markdown
Member Author

Should we turn around 8.0.3 pretty quick to get this in?

Probably, but not sure how often it actually happens, I'm sure it depends on the environment. Could be a real issue if it does though, if you rely on it

@ckreibich

Copy link
Copy Markdown
Member

Given that we already have another driver for 8.0.3 (to get zeek-client to work out of the box again), I think we should.

@vpax

vpax commented Oct 14, 2025

Copy link
Copy Markdown

Let me also pitch including the ZAM use-after-free workaround!

@timwoj

timwoj commented Oct 14, 2025

Copy link
Copy Markdown
Member

Let me also pitch including the ZAM use-after-free workaround!

That one is already in 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants