Re: [Numpy-discussion] Time to fix ticket #390?
On Sat, Jun 28, 2008 at 04:31:22PM -0600, Charles R Harris wrote: Questions about ticket #390http://projects.scipy.org/scipy/numpy/ticket/390: Unfortunately, Trac has a problem, it's impossible to view the ticket: SubversionException: (Can't open file '/home/scipy/svn/numpy/db/revprops/5331': Permission denied, 13) It seems like some to do with permissions? Thanks, Zbyszek ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] Time to fix ticket #390?
On Wed, Jul 2, 2008 at 05:29, Zbyszek Szmek [EMAIL PROTECTED] wrote: On Sat, Jun 28, 2008 at 04:31:22PM -0600, Charles R Harris wrote: Questions about ticket #390http://projects.scipy.org/scipy/numpy/ticket/390: Unfortunately, Trac has a problem, it's impossible to view the ticket: SubversionException: (Can't open file '/home/scipy/svn/numpy/db/revprops/5331': Permission denied, 13) It seems like some to do with permissions? It is working for me right now. Can you try again? -- Robert Kern I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth. -- Umberto Eco ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
[Numpy-discussion] Time to fix ticket #390?
Questions about ticket #390http://projects.scipy.org/scipy/numpy/ticket/390: 1. Should we fix this for 1.2? 2. Is the attached patch the correct fix for this? Chuck Index: records.py === --- records.py (revision 5321) +++ records.py (working copy) @@ -309,6 +309,10 @@ return obj.view(ndarray) return obj +def __repr__(self) : +ret = ndarray.__repr__(self) +return ret.replace(rec, rec.) + def field(self, attr, val=None): if isinstance(attr, int): names = ndarray.__getattribute__(self,'dtype').names ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] Time to fix ticket #390?
Charles R Harris wrote: Questions about ticket #390 http://projects.scipy.org/scipy/numpy/ticket/390 : 1. Should we fix this for 1.2? +1 2. Is the attached patch the correct fix for this? It looks good, except for the rare case where the array contains the word rec Perhaps the fix should be changed to only replace the rec only at the first of the string to rec. -Travis ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] Time to fix ticket #390?
On Sat, Jun 28, 2008 at 7:16 PM, Travis E. Oliphant [EMAIL PROTECTED] wrote: Charles R Harris wrote: Questions about ticket #390 http://projects.scipy.org/scipy/numpy/ticket/390 : 1. Should we fix this for 1.2? +1 2. Is the attached patch the correct fix for this? It looks good, except for the rare case where the array contains the word rec Perhaps the fix should be changed to only replace the rec only at the first of the string to rec. Good point. Chuck ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion