[New-bugs-announce] [issue1171] allow subclassing of bytes type

Mathieu Fenniak report at bugs.python.org
Mon Sep 17 19:18:34 CEST 2007


New submission from Mathieu Fenniak:

Uploading patch to make bytes type subclassable.

As e-mailed to python-3000 list during discussion with Guido, attached
patch to make bytes type subclassable.  Included are unit tests, and a
minor fix for pickling subclass instances (including __dict__ in
bytes_reduce).

----------
files: bytes-subclass-patch.diff
messages: 55970
nosy: mfenniak
severity: minor
status: open
title: allow subclassing of bytes type
type: rfe
versions: Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1171>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bytes-subclass-patch.diff
Type: application/octet-stream
Size: 4806 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20070917/365ab150/attachment.obj 


More information about the New-bugs-announce mailing list