at what point did we even have a __getattr__ on RowProxy ? the close () method on there is not very important, more important on ResultProxy. but you do have "items", "keys", "values", etc. also somewhat generic names. without SVN annotating to see if it was my idea originally, id say why not just say row['colname'] as opposed to row.colname ? (SqlSoup a nicer alternative if you really want somerow.attribute ?)
On Jun 22, 2006, at 10:16 PM, Robert Leftwich wrote: > I just had an interesting failure in some tests with rev 1652, > although its a > fundamentally a v0.2 difference, but this is the first time I've > been in a > position to run this test on 0.2. > > The RowProxy class now has a 'close' method which, when using the > attribute > notation to access columns (i.e. result.close) gets priority over > any columns > called 'close' - and if you're dealing with financial data 'close' > is pretty > common :-). > > Is there scope to rename the RowProxy close to something else, > _close maybe? > Should there be a rethink on the column/attribute access feature > (although I > like it and use it a lot)? > > Robert > > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Sqlalchemy-users mailing list > Sqlalchemy-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users