[Patches] [Patch #102068] fix for bug #117402 (repr of array)

noreply@sourceforge.net noreply@sourceforge.net
Wed, 1 Nov 2000 10:28:57 -0800


Patch #102068 has been updated. 

Project: python
Category: Modules
Status: Open
Summary: fix for bug #117402 (repr of array)

Follow-Ups:

Date: 2000-Oct-22 09:51
By: mwh

Comment:
before:
>>> import array
>>> array.array('c',"cd")
array('c', 'cd')
>>> repr(_)
Segmentation fault (core dumped)

after:
>>> import array
>>> array.array('c',"dd")
array('c', 'dd')
>>> `_`
"array('c', 'dd')"

Fixes bug #117402, which was introduced in revision 2.51.
-------------------------------------------------------

Date: 2000-Oct-23 06:22
By: nascheme

Comment:
A test case should be added to make sure str() and repr() work on arrays.
-------------------------------------------------------

Date: 2000-Oct-23 08:36
By: fdrake

Comment:
Assigned to Tim since the bug is already assigned to him.
-------------------------------------------------------

Date: 2000-Nov-01 10:28
By: mwh

Comment:
oop!  I wrote a simple test a while back , but sf's web pages were down, so I forgot to upload it...
-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=102068&group_id=5470