youd have to provide us a test case.  to my knowledge our tests pass  
with MS on python 2.6.


On Apr 5, 2009, at 7:59 PM, Michael Mileusnich wrote:

> The code used to work in 2.5.  A simple add and flush was all I  
> needed to do.  I tried to use a commit but that did not work  
> either.  Am I missing something here?
>
> On Sun, Apr 5, 2009 at 4:58 PM, Michael Bayer <[email protected] 
> > wrote:
>
> this is not an error, it is only a warning.    There should be no
> difference in behavior between py2.5 and 2.6.  The code you have below
> may not necessarily create any data if you didn't commit your
> transaction.
>
> On Apr 5, 2009, at 6:05 PM, Michael Mileusnich wrote:
>
> > I have been working with Python 2.5 and SQLAlchemy.  I recently
> > upgraded to Python 2.6 on my Windows machine and I receive the
> > following message:
> >
> > D:\Python26\lib\site-packages\sqlalchemy-0.5.3-py2.6.egg\sqlalchemy
> > \databases\ms
> > sql.py:977: DeprecationWarning: object.__new__() takes no parameters
> >   return super(MSSQLDialect, cls).__new__(cls, *args, **kwargs)
> >
> > I have a script that creates my tables and inserts data.  The tables
> > get created however they are empty.
> >
> > Here is some example code that does not work:
> >
> > from sqlalchemy.orm import *
> >
> > from db import *
> >
> > session = getsession()
> >
> > new_serv = server(SERVER = "test")
> > session.add(new_serv)
> > session.flush()
> >
> >
> >
> > >
>
>
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" 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/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to