[issue15902] imp.load_module won't accept None for the file argument for a C extension

2019-09-23 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue15902] imp.load_module won't accept None for the file argument for a C extension

2019-09-21 Thread Aman Priyanshu
Change by Aman Priyanshu : -- pull_requests: +15903 pull_request: https://github.com/python/cpython/pull/16324 ___ Python tracker ___ __

[issue15902] imp.load_module won't accept None for the file argument for a C extension

2013-05-12 Thread Georg Brandl
Changes by Georg Brandl : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue15902] imp.load_module won't accept None for the file argument for a C extension

2013-05-05 Thread Brett Cannon
Brett Cannon added the comment: http://hg.python.org/cpython/rev/996a937cdf81 also applies to this. -- ___ Python tracker ___ ___ Pyth

[issue15902] imp.load_module won't accept None for the file argument for a C extension

2013-05-03 Thread Brett Cannon
Changes by Brett Cannon : ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-

[issue15902] imp.load_module won't accept None for the file argument for a C extension

2013-05-03 Thread Brett Cannon
Brett Cannon added the comment: Leaving it up to the release manager to decide if this is worth cherrypicking or just waiting for the next bugfix release. -- nosy: +larry priority: normal -> release blocker status: closed -> open ___ Python tracker

[issue15902] imp.load_module won't accept None for the file argument for a C extension

2013-05-03 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.4 ___ Python tracker ___ _

[issue15902] imp.load_module won't accept None for the file argument for a C extension

2013-05-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset c0a21617dbee by Brett Cannon in branch '3.3': Issue #15902: Fix imp.load_module() to accept None as a file when http://hg.python.org/cpython/rev/c0a21617dbee New changeset 322c556260d5 by Brett Cannon in branch 'default': #15902: merge w/ 3.3 http:/

[issue15902] imp.load_module won't accept None for the file argument for a C extension

2013-03-26 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue15902] imp.load_module won't accept None for the file argument for a C extension

2012-09-10 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue15902] imp.load_module won't accept None for the file argument for a C extension

2012-09-10 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue15902] imp.load_module won't accept None for the file argument for a C extension

2012-09-10 Thread Brett Cannon
Brett Cannon added the comment: Well, that's extremely annoying as that doesn't work for .py or .pyc files:: >>> import imp >>> stuff = imp.find_module('blah') >>> stuff (<_io.TextIOWrapper name=4 mode='U' encoding='utf-8'>, 'blah.py', ('.py', 'U', 1)) >>> stuff[0].close() >>> imp.load_module('

[issue15902] imp.load_module won't accept None for the file argument for a C extension

2012-09-10 Thread Paul Moore
Paul Moore added the comment: It's the open file object argument, not the path. I assume that if you supplied None, the code opened the file for you. -- status: pending -> open ___ Python tracker __

[issue15902] imp.load_module won't accept None for the file argument for a C extension

2012-09-10 Thread Brett Cannon
Brett Cannon added the comment: How can you load a C extension without a file path? Are C extensions being inappropriately flagged as built-in modules on Windows? What does imp.find_module() return for the module being checked? I need more debugging info on what imp.find_module() and imp.load_

[issue15902] imp.load_module won't accept None for the file argument for a C extension

2012-09-10 Thread Paul Moore
New submission from Paul Moore: imp.load_module appears to have a regression - the file argument is not allowed to be None when loading a C_EXTENSION. The pywin32 post-install script for version 217 calls imp.load_module for a C extension with file=None, so presumably this worked in earlier ve