zzzeek / sqla_issue_test

1 stars 0 forks source link

live print statements #229

Closed zzzeek closed 6 years ago

zzzeek commented 18 years ago

Originally reported by: Anonymous


can we nuke these? they screw with doctest something fierce. :)

find . -name "*py" |xargs egrep "\bprint\b" |grep -v "#"

./sqlalchemy/databases/mssql.py: print "LAST ROW ID", self._last_inserted_ids ./sqlalchemy/databases/mssql.py: print "CCROW", row.keys(), row ./sqlalchemy/engine/default.py: print "LAST INSERTED PARAMS", param ./sqlalchemy/orm/unitofwork.py: print "Task dump: None" ./sqlalchemy/orm/unitofwork.py: print "Task dump:\n" + head.dump() ./sqlalchemy/orm/unitofwork.py: print "\nExecute complete\n"


zzzeek commented 18 years ago

Original comment by Michael Bayer (Bitbucket: zzzeek, GitHub: zzzeek):


logging implemented via python logging module in changeset:1895, replaces print statements

zzzeek commented 18 years ago

Original comment by Michael Bayer (Bitbucket: zzzeek, GitHub: zzzeek):


sure...print statements get in the code quite frequently...