[yt-users] Changing na => np internally

Matthew Turk matthewturk at gmail.com
Mon Sep 10 10:59:14 PDT 2012


Hi everyone,

I've pushed the set of changes from Anthony Scopatz that accomplish
this to the development repository.  There shouldn't be any
outward-facing changes, but if you run into any problems please do not
hesitate to write to the list.

-Matt

On Fri, Aug 31, 2012 at 3:30 PM, Matthew Turk <matthewturk at gmail.com> wrote:
> Hi all,
>
> There's been quite a bit of discussion on yt-dev about changing the
> internal convention in yt of using "na" for numpy (which originally
> stood for "numarray") to "np", which is the commonly used shorthand.
> We'll keep around "na" in the yt.mods namespace, which means your
> scripts should *not* need any adjustment.  But, if you have made a
> number of substantial changes to the internals of yt in your version,
> any updates after this change is made may pose problems and may need
> to be hand-modified.
>
> If you'd like to contribute to the discussion (we're waiting until
> next week to make the switch) please do so on yt-dev or here.  This
> change, which touches many many files, was not decided on lightly and
> we're trying to ensure that the transition is smooth without any
> external effects.  Here's the thread:
>
> http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/2012-August/002353.html
>
> (Note that tomorrow starts a new archive month, so you might need to
> switch the URL for any new messages after today.)
>
> Again, this should not pose any issues for you unless you have
> modified yt internals.  If you have done so and would like help
> updating, please reply to this message or contact yt-dev.
>
> Best,
>
> Matt



More information about the yt-users mailing list