table.tometadata(metadata) should copy column.info dictionary instead of referencing same dictionary
Issue #2716
resolved
After executing table.tometadata(metadata)
, the new table's new column's info
dictionaries are references to the original columns' dictionaries instead of a copy of the dictionary.
If this is by design for some reason, no hard feelings, close ticket, but seems bad design to me to have the new instances of the columns referencing the original columns' info
dictionaries.
Comments (4)
-
repo owner -
repo owner -
repo owner - changed status to resolved
there's info dictionaries on all
SchemaItem
objects, so the change in 73669c7284548d0e5ab2147f66174 adds copying for all of these dictionaries which previously weren't transferred at all. -
repo owner - removed milestone
Removing milestone: 0.9.0 (automated comment)
- Log in to comment
supply a pull request at https://bitbucket.org/sqlalchemy/sqlalchemy