vote for 1
On Thu, Apr 16, 2009 at 2:53 PM, R. Tyler Ballance <[email protected]> wrote:
> On Thu, Apr 16, 2009 at 11:50:10PM +0200, Jean-Baptiste Quenot wrote:
> > 2009/4/16 R. Tyler Ballance <[email protected]>:
> > >
> > > The decision to be made between "us" as the community is which we want
> > > to be the *default* behavior:
> > > 1: Non-scoping import behavior (2.0.1 and earlier)
> > > 2: Scoping/inline import behavior.(2.1.0 and later)
> > >
> > >
> > > My personal vote is for #2 being the default behavior since it follows
> > > Python importing semantics closely (we also have updated our templates
> > > at Slide to avoid the issue Martin Skott describes).
> > >
> > >
> > > What say ye all? :)
> >
> > I don't care we don't use inline imports at my site, so I can say 2)
> > I'm not impacted by any incompatible change in this area :-)
>
> You might! Because of the writeBody() method lumping everything into
> itself, unless you put your global imports at the top of the template,
> the compiler will presume that you're meaning to import into writeBody
> instead of the module's global namespace
>
>
> > --
> > Jean-Baptiste Quenot
> > http://jbq.caraldi.com/
> >
> >
> ------------------------------------------------------------------------------
> > Stay on top of everything new and different, both inside and
> > around Java (TM) technology - register by April 22, and save
> > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> > 300 plus technical and hands-on sessions. Register today.
> > Use priority code J9JMT32. http://p.sf.net/sfu/p
> > _______________________________________________
> > Cheetahtemplate-discuss mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
>
> --
> -R. Tyler Ballance
> Slide, Inc.
>
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> Cheetahtemplate-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
>
>
--
Bidegg worlds best auction site
http://bidegg.com
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Cheetahtemplate-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.