This looks like there is a queue.py file in the current directory which hides the queue module from the stdlib. In Python 2.7 this module is named Queue and doesn't conflict with a local file queue.py.
Can you confirm Kevin? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1628763 Title: Example of Queue from documentation fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1628763/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs