[issue18034] Last two entries in the programming FAQ are out of date (import related)

2014-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 815f1a69283e by Ezio Melotti in branch '3.4': #18034: update FAQ to suggest importlib.import_module instead of __import__. Patch by Wouter van Heyst. http://hg.python.org/cpython/rev/815f1a69283e New changeset f78ef3819d67 by Ezio Melotti in

[issue18034] Last two entries in the programming FAQ are out of date (import related)

2014-08-04 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! The other FAQ got fixed in #17177/3d3b9d456eb8. -- assignee: docs@python - ezio.melotti resolution: - fixed stage: needs patch - resolved status: open - closed versions: +Python 2.7 ___

[issue18034] Last two entries in the programming FAQ are out of date (import related)

2014-08-03 Thread Wouter van Heyst
Wouter van Heyst added the comment: The attached patch changes the body of the __import__ faq entry to suggest using `importlib.import_module` instead. -- keywords: +patch nosy: +larstiq Added file: http://bugs.python.org/file36227/faq-import_module.diff

[issue18034] Last two entries in the programming FAQ are out of date (import related)

2013-06-08 Thread Ezio Melotti
Ezio Melotti added the comment: imp.reload() doesn't seem to be deprecated, and importlib.reload() doesn't exist. Is there another alternative or it just hasn't been moved somewhere else? -- ___ Python tracker rep...@bugs.python.org

[issue18034] Last two entries in the programming FAQ are out of date (import related)

2013-06-08 Thread Ezio Melotti
Ezio Melotti added the comment: FTR here is a link to the FAQs: http://docs.python.org/3/faq/programming.html#import-x-y-z-returns-module-x-how-do-i-get-z -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18034

[issue18034] Last two entries in the programming FAQ are out of date (import related)

2013-06-08 Thread Brett Cannon
Brett Cannon added the comment: Hasn't been moved yet. And the __import__ question should probably be rephrased as don't do this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18034 ___

[issue18034] Last two entries in the programming FAQ are out of date (import related)

2013-06-08 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- dependencies: +Document/deprecate imp ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18034 ___ ___

[issue18034] Last two entries in the programming FAQ are out of date (import related)

2013-05-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18034 ___ ___

[issue18034] Last two entries in the programming FAQ are out of date (import related)

2013-05-22 Thread R. David Murray
New submission from R. David Murray: The second to last talks about the __import__ quirk with out calling __import__ out as deprecated. The last uses the imp module for reload. -- assignee: docs@python components: Documentation messages: 189827 nosy: brett.cannon, docs@python,