On Thursday January 22, 2009 13:05:47 Jorge Vargas wrote:
> On Thu, Jan 22, 2009 at 5:59 AM, przemek.ch <[email protected]> wrote:
> > Hi,
> >
> > python 2.6 has a switch -3 which will show warnings about code that is
> > not compatible with python 3
> > is ther a way to use tis switch with pylons?
> > pylons don't use python directly and there's no such switch for
> > paster
>
> many of pylons dependencies do not yet work on py3k therefore pylons
> itself still doesn't works there. that said we do run on 2.6. the
> simplest way I see of doing that is to change the shebang line of the
> paster command, which should be in $ENV/bin/paster, where ENV depends
> on your system and/or if you are using virtualenv. $ which paster will
> tell you.

A work-around is to run your test suite with that switch (`python -3 setup.py 
test`). 

But of course, this won't be effective in projects that don't have a decent 
code coverage.

Cheers.
-- 
Gustavo Narea <http://gustavonarea.net/>.

Get rid of unethical constraints! Get freedomware:
http://www.getgnulinux.org/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to