[issue24049] Remove unused code in symtable.c and fix docs for import * checking

2015-04-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 135d5a3e415b by Benjamin Peterson in branch '3.4': remove dead *-import checking code (closes #24049) https://hg.python.org/cpython/rev/135d5a3e415b New changeset 5c0247a6f98a by Benjamin Peterson in branch 'default': merge 3.4 (#24049) https://hg.p

[issue24049] Remove unused code in symtable.c and fix docs for import * checking

2015-04-24 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue24049] Remove unused code in symtable.c and fix docs for import * checking

2015-04-24 Thread Nick Craig-Wood
New submission from Nick Craig-Wood: Here is a patch to remove some unused code in `symtable.c` In Python3 `from x import *` was banned from use in functions completely. This is detected by `symtable_visit_alias` if (st->st_cur->ste_type != ModuleBlock) { int lineno = st->