[yt-dev] na => np in 3.0 and 2.x

Anthony Scopatz scopatz at gmail.com
Mon Aug 27 10:47:41 PDT 2012


Hello All,

Obviously, I am +1 for #3 and +0 on #2 (no need to create a maintenance
headache if you don't have to).  I originally did this in the 3.0 fork just
because
I thought it was more of a sandbox than the 2.x series.  I am also +0 on
#1,
if that is what is best.

Be Well
Anthony


On Mon, Aug 27, 2012 at 9:54 AM, Kacper Kowalik <xarthisius.kk at gmail.com>wrote:

> On 27.08.2012 16:08, Matthew Turk wrote:
> > Because this could be disruptive for any major, outstanding forks, I
> > also think it needs to be discussed here.  (I'm actually kind of -1 on
> > big discussions happening in pull requests.)  My vote is for #3.  I'd
> > rather get this over with, since we all know it probably ought to
> > happen at some point in the future.
>
> Hi,
> there's a way to minimize the disruption on any outstanding forks,
> namely to automate the process. If we use the same "tool" on both main
> repo and the fork, the difference should be close to none.
> In this case something along the lines:
>
> find . -name "*.py" \
>    -exec sed -e "s/\([[:punct:]]\|[[:space:]]\)na\./\1np\./g" \
>    -e "s/numpy as na/numpy as np/g" -i {} \;
>
> should do the trick. I haven't check yet if that reproduces Anthony's PR
> so use it carefully ;)
> Cheers,
> Kacper
>
>
>
> _______________________________________________
> yt-dev mailing list
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20120827/4715524a/attachment.htm>


More information about the yt-dev mailing list