Skip to content

Conversation

fantix
Copy link
Member

@fantix fantix commented Mar 9, 2021

This fixes an issue in 0.22.0 where we passed WriteBuffer to writelines by mistake, which leads to an error under SSL and uvloop - the implementation that calls len() on each line of writelines().

Fixes: #700

This fixes an issue in 0.22.0 where we passed WriteBuffer to writelines
by mistake, which leads to an error under SSL and uvloop - the
implementation that calls len() on each line of writelines().

Fixes: MagicStack#700
@fantix fantix requested a review from elprans March 9, 2021 05:03
@fantix fantix marked this pull request as ready for review March 9, 2021 05:59
@elprans elprans merged commit 359a34c into MagicStack:master Mar 9, 2021
@fantix fantix deleted the t700-writebuffer-len branch March 9, 2021 17:47
@elprans elprans mentioned this pull request May 17, 2021
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.

0.22.0 - object of type 'asyncpg.pgproto.pgproto.WriteBuffer' has no len()

2 participants