Workaround Dummy's printing in Subs constructor (fixes #7068)
Add test for issue 7068
Merge pull request #2846 from skirpichev/3969-Subs-hashable_content

Fix hashing problems for Subs with Dummy's (e.g. #7068)