Jesse Noller <jnol...@gmail.com> added the comment: FYI, there was a small issue in the patch - namely the only way to get the AttributeError to raise in the Value/Array creation is to not pass in a lock, True/None or False - the latter three get to a lock/RLock while the former will have the acquire method. I changed the test to reflect this:
self.assertRaises(AttributeError, self.Value, 'i', 5, lock='navalue') self.assertRaises(AttributeError, self.Array, 'i', range(10), lock='notalock') _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4449> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com