On Sun, Jun 20, 2021, at 18:53, Charles R Harris wrote:
> 
> On Fri, Jun 18, 2021 at 8:52 AM Stefan van der Walt <stef...@berkeley.edu> 
> wrote:
>> __
>> On Thu, Jun 17, 2021, at 16:23, Stephan Hoyer wrote: 
>>> This happens all the time. Even if we make copy='never' an error *today*, 
>>> users will be encountering existing versions of NumPy for years into the 
>>> future, so we won't be able to change the behavior of copy='never' for a 
>>> very long time. Our deprecation policy says we would need to wait at least 
>>> one year for this, but frankly I'm not sure that's enough for the 
>>> possibility of silent bugs. 3-4 years might be more realistic.
>> 
>> If we go the enum route, we may just as well deprecate string arguments at 
>> the same time so that we have the flexibility to introduce them again in the 
>> future.

That makes sense to me, but I think this would not preclude the enum from being 
introduced right now. If we make this change, the enum will become the only 
mechanism by which to get the behavior we currently have (copy-if-needed). 

Stéfan
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion

Reply via email to