Closed zzzeek closed 6 years ago
Originally reported by: Anonymous
can we nuke these? they screw with doctest something fierce. :)
./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"
Original comment by Michael Bayer (Bitbucket: zzzeek, GitHub: zzzeek):
logging implemented via python logging module in changeset:1895, replaces print statements
sure...print statements get in the code quite frequently...
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"