Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

threading.py contains undefined name in self-test code #59772

Closed
scoder opened this issue Aug 6, 2012 · 2 comments
Closed

threading.py contains undefined name in self-test code #59772

scoder opened this issue Aug 6, 2012 · 2 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@scoder
Copy link
Contributor

scoder commented Aug 6, 2012

BPO 15567
Nosy @scoder, @briancurtin

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/briancurtin'
closed_at = <Date 2012-08-10.04:08:55.683>
created_at = <Date 2012-08-06.11:05:22.997>
labels = ['type-bug', 'library']
title = 'threading.py contains undefined name in self-test code'
updated_at = <Date 2012-08-10.04:08:55.127>
user = 'https://github.com/scoder'

bugs.python.org fields:

activity = <Date 2012-08-10.04:08:55.127>
actor = 'brian.curtin'
assignee = 'brian.curtin'
closed = True
closed_date = <Date 2012-08-10.04:08:55.683>
closer = 'brian.curtin'
components = ['Library (Lib)']
creation = <Date 2012-08-06.11:05:22.997>
creator = 'scoder'
dependencies = []
files = []
hgrepos = []
issue_num = 15567
keywords = []
message_count = 2.0
messages = ['167554', '167853']
nosy_count = 3.0
nosy_names = ['scoder', 'brian.curtin', 'python-dev']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue15567'
versions = ['Python 2.7']

@scoder
Copy link
Contributor Author

scoder commented Aug 6, 2012

Line 912 of threading.py, Py2.7, reads:

            self.queue = deque()

"deque" hasn't been imported.

@scoder scoder added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Aug 6, 2012
@python-dev
Copy link
Mannequin

python-dev mannequin commented Aug 10, 2012

New changeset 260f3ad7af4b by Brian Curtin in branch '2.7':
Fix bpo-15567. collections.deque wasn't imported
http://hg.python.org/cpython/rev/260f3ad7af4b

@briancurtin briancurtin self-assigned this Aug 10, 2012
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants