Re: [sqlalchemy] sqlalchemy 0.9.2 + pymysql 0.6.1 + python 3.3 - traceback ?

2014-02-03 Thread Alexander Belchenko
понедельник, 3 февраля 2014 г., 19:13:04 UTC+2 пользователь Michael Bayer написал: > > > On Feb 3, 2014, at 10:51 AM, Alexander Belchenko > > > wrote: > > this is a Py3k-specific issue, ticket > http://www.sqlalchemy.org/trac/ticket/2933 has been created and the issue > is fixed in 8b08b1a35b

Re: [sqlalchemy] SQLite dialect missing data type affinities, causes problems with reflection (DOUBLE, LONGTEXT, etc.)

2014-02-03 Thread Michael Bayer
pullreq is great and i left some comments. On Feb 3, 2014, at 8:14 PM, Erich Blume wrote: > I've sumitted a Pull Request for this feature: > https://github.com/zzzeek/sqlalchemy/pull/65 > > Let me know if you would prefer the PR in some other format, like a > format-patch or something (or on

Re: [sqlalchemy] SQLite dialect missing data type affinities, causes problems with reflection (DOUBLE, LONGTEXT, etc.)

2014-02-03 Thread Erich Blume
I've sumitted a Pull Request for this feature: https://github.com/zzzeek/sqlalchemy/pull/65 Let me know if you would prefer the PR in some other format, like a format-patch or something (or on bitbucket or wherever). As I mentioned in the PR, I included a PEP8 cleanup for ` dialects.sqlite.base.p

Re: [sqlalchemy] AttributeError: 'CompositeProperty' object has no attribute 'props'

2014-02-03 Thread Michael Bayer
just call configure_mappers() for now, and the need for that step has been removed in b069127b2d3f7b3f2c27f91cf, http://www.sqlalchemy.org/trac/ticket/2935. On Feb 3, 2014, at 4:12 PM, Matthew Phipps wrote: > Hi SQLAlchemy, > > On SQLAlchemy 0.9.2, if I construct a query selecting a composit

[sqlalchemy] AttributeError: 'CompositeProperty' object has no attribute 'props'

2014-02-03 Thread Matthew Phipps
Hi SQLAlchemy, On SQLAlchemy 0.9.2, if I construct a query selecting a composite property before constructing any other queries, I see this error: Traceback (most recent call last): File "/home/badmin/.virtualenvs/bridge-it/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTe

Re: [sqlalchemy] Relationships using "max"

2014-02-03 Thread Michael Bayer
On Feb 3, 2014, at 11:00 AM, Josh Kuhn wrote: > Would I be correct in assuming this Version object won't be in the same > identity map as the other Version objects? no, the identity mapping is based on the class + primary key, so as long as the primary key consists of the same columns (i don’

Re: [sqlalchemy] sqlalchemy 0.9.2 + pymysql 0.6.1 + python 3.3 - traceback ?

2014-02-03 Thread Michael Bayer
On Feb 3, 2014, at 10:51 AM, Alexander Belchenko wrote: > I have no idea what I'm doing wrong, but I can't get sqlalchemy working with > MySQL and PyMySQL driver. The driver works with my db. But SQLAlchemy blows > with traceback. Any hints, please? > > Here is testing script: > > File >

Re: [sqlalchemy] Relationships using "max"

2014-02-03 Thread Josh Kuhn
Would I be correct in assuming this Version object won't be in the same identity map as the other Version objects? On Fri, Jan 31, 2014 at 9:45 PM, Michael Bayer wrote: > > On Jan 31, 2014, at 8:51 PM, Josh Kuhn wrote: > > This is pretty amazing. I get it to *almost* work. The issue seems to be

[sqlalchemy] sqlalchemy 0.9.2 + pymysql 0.6.1 + python 3.3 - traceback ?

2014-02-03 Thread Alexander Belchenko
I have no idea what I'm doing wrong, but I can't get sqlalchemy working with MySQL and PyMySQL driver. The driver works with my db. But SQLAlchemy blows with traceback. Any hints, please? Here is testing script: #!/usr/bin/python3 import sys print('sys.version: %s' % sys.version) import pymys

Re: [sqlalchemy] Savepoints and expiry

2014-02-03 Thread Michael Bayer
On Feb 3, 2014, at 2:39 AM, Wolfgang Schnerring wrote: > > I guess I didn't make it clear enough that I'm talking mainly about > this collections issue. Sorry about that; let me try again: > I feel it would be much more convenient if the state achieved by a savepoint > was reflected by collecti