Open Bug 1777313 Opened 3 years ago Updated 2 years ago

[python-nss] socket sending methods don't accept bytearray arguments

Categories

(NSS :: Tools, enhancement, P5)

enhancement

Tracking

(Not tracked)

People

(Reporter: abacabadabacaba, Unassigned)

Details

(Whiteboard: [nss-nofx])

Steps to reproduce:

Version: python-nss 1.0.1

Sending methods for NSS sockets (send, send_to and sendall) don't accept bytearray arguments. This prevents them from working with the code written for the built-in sockets, which do accept such arguments. This also requires an extra copy if the data to be sent is in a bytearray.

Severity: -- → S4
Priority: -- → P5
Whiteboard: [nss-nofx]
You need to log in before you can comment on or make changes to this bug.