Re: Possible to use Django & MySQL with Python 2.6?

2009-08-17 Thread James Bennett

On Mon, Aug 17, 2009 at 10:20 AM, Streamweaver wrote:
> It works fine for me with Python 2.6 on Linux (with the errors
> mentioned above) .  Windows is a bit of a problem as the mysql-python
> library doesn't yet support 2.6.

Since this has come up several times in different threads recently...

No, those are not "errors". Errors would cause your application to
crash and dump a traceback on the screen. What you are seeing are
*warnings*, usually indicating that a bit of code is doing something
that's deprecated. In other words, Python is saying "hey, this will
work for now, but in future versions of Python it won't". The key
there being "this will work for now".

Staying clear on this distinction is of rather crucial importance,
since at this point there are quite a few things that will raise
deprecation *warnings* under Python 2.6, but which are not actually
errors and do not actually crash your application  -- they're merely
telling you that down the road in a future Python version it'll stop
working.


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Possible to use Django & MySQL with Python 2.6?

2009-08-17 Thread Streamweaver

It works fine for me with Python 2.6 on Linux (with the errors
mentioned above) .  Windows is a bit of a problem as the mysql-python
library doesn't yet support 2.6.

On Aug 17, 12:32 am, Continuation  wrote:
> According to the site of the python MySQL driver it only supports
> Python 2.3 - 2.5:http://sourceforge.net/projects/mysql-python/
>
> So is it possible to use Django & MySQL with Python 2.6? Is there any
> workaround I can do to make it work?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Possible to use Django & MySQL with Python 2.6?

2009-08-16 Thread Alex Gaynor

On Sun, Aug 16, 2009 at 11:32 PM, Continuation wrote:
>
> According to the site of the python MySQL driver it only supports
> Python 2.3 - 2.5:
> http://sourceforge.net/projects/mysql-python/
>
> So is it possible to use Django & MySQL with Python 2.6? Is there any
> workaround I can do to make it work?
> >
>

MySQL works fine for me under Python 2.6, you get a warning when you
import it, but that doesn't prevent normal execution, it's just
annoying ;)

Alex

-- 
"I disapprove of what you say, but I will defend to the death your
right to say it." -- Voltaire
"The people's good is the highest law." -- Cicero
"Code can always be simpler than you think, but never as simple as you
want" -- Me

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---