Re: [Numpy-discussion] Improve Numpy Datetime Functionality for Gsoc

2015-03-25 Thread Ralf Gommers
On Wed, Mar 25, 2015 at 6:50 AM, Stephan Hoyer sho...@gmail.com wrote: The most recent discussion about datetime64 was back in March and April of last year: http://mail.scipy.org/pipermail/numpy-discussion/2014-March/thread.html#69554

Re: [Numpy-discussion] Improve Numpy Datetime Functionality for Gsoc

2015-03-25 Thread Ralf Gommers
On Wed, Mar 25, 2015 at 6:00 AM, SMRUTI RANJAN SAHOO c99.smr...@gmail.com wrote: you are saying that if i will find out this bugs ,then i will selected for gsoc 2015 ?? and where i will find my mentor?? No, that's not what I'm saying. Submitting a patch is a requirement from the Python

Re: [Numpy-discussion] Improve Numpy Datetime Functionality for Gsoc

2015-03-25 Thread Ralf Gommers
On Wed, Mar 25, 2015 at 12:17 PM, SMRUTI RANJAN SAHOO c99.smr...@gmail.com wrote: so may i know the links for mentor ,so that i can talk with them more ?? can you provide me the links please ??? Hi Smruti, there are no links. I am one of the mentors, the other mentors are all reading this

[Numpy-discussion] Do you find this behavior surprising?

2015-03-25 Thread Jaime Fernández del Río
import numpy as np a = np.arange(10) flags = a.flags flags C_CONTIGUOUS : True F_CONTIGUOUS : True OWNDATA : True WRITEABLE : True ALIGNED : True UPDATEIFCOPY : False flags.writeable = False a.flags C_CONTIGUOUS : True F_CONTIGUOUS : True OWNDATA : True WRITEABLE : False

Re: [Numpy-discussion] Do you find this behavior surprising?

2015-03-25 Thread Benjamin Root
Ah, *that* example is surprising to me. Regardless of whether it is a C int of the PyArrayObject struct or not, the way it is presented at the python code level should make sense. From my perspective, a.flags is a mutable object of some sort. Updating it should act like a mutable object, not some

Re: [Numpy-discussion] Do you find this behavior surprising?

2015-03-25 Thread Benjamin Root
I fail to see the wtf. flags = a.flags So, flags at this point is just an alias to a.flags, just like any other variable in python flags.writeable = False would then be equivalent to a.flags.writeable = False. There is nothing numpy-specific here. a.flags is mutable object. This is how Python

Re: [Numpy-discussion] Do you find this behavior surprising?

2015-03-25 Thread Jaime Fernández del Río
On Wed, Mar 25, 2015 at 1:45 PM, Benjamin Root ben.r...@ou.edu wrote: I fail to see the wtf. flags = a.flags So, flags at this point is just an alias to a.flags, just like any other variable in python flags.writeable = False would then be equivalent to a.flags.writeable = False. There

Re: [Numpy-discussion] Improve Numpy Datetime Functionality for Gsoc

2015-03-25 Thread SMRUTI RANJAN SAHOO
so may i know the links for mentor ,so that i can talk with them more ?? can you provide me the links please ??? On Wed, Mar 25, 2015 at 12:26 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Wed, Mar 25, 2015 at 6:50 AM, Stephan Hoyer sho...@gmail.com wrote: The most recent discussion