Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs
[issue14657] Avoid two importlib copies
 

Index | Next | Previous | View Flat


report at bugs

Apr 23, 2012, 3:34 PM


Views: 276
Permalink
[issue14657] Avoid two importlib copies

New submission from Antoine Pitrou <pitrou [at] free>:

This patch avoids creating a second copy of importlib._bootstrap when a first one exists as _frozen_importlib.
This isn't perfect as it mutates the module when importlib is imported for the first time, but I think it's better than the status quo.
Also, importlib itself could be imported somewhere along the startup phase, so that all this is invisible to the user.

I'm not sure how to test this, since _frozen_importlib is an implementation detail, and changing that module's name would probably defeat the test already.

----------
components: Interpreter Core, Library (Lib)
files: unique_importlib.patch
keywords: patch
messages: 159096
nosy: brett.cannon, ncoghlan, pitrou
priority: normal
severity: normal
stage: patch review
status: open
title: Avoid two importlib copies
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file25328/unique_importlib.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue14657>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Subject User Time
[issue14657] Avoid two importlib copies report at bugs Apr 23, 2012, 3:34 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 23, 2012, 3:42 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 23, 2012, 3:42 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 23, 2012, 3:43 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 23, 2012, 3:50 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 23, 2012, 4:01 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 23, 2012, 5:09 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 23, 2012, 5:41 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 23, 2012, 5:56 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 23, 2012, 9:40 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 23, 2012, 9:48 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 1:10 AM
    [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 2:06 AM
        [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 2:14 AM
    [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 8:10 AM
    [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 8:16 AM
    [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 10:37 AM
    [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 11:40 AM
    [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 12:23 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 12:51 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 1:25 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 1:39 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 1:42 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 2:13 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 2:15 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 2:36 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 2:37 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 2:46 PM
        [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 2:52 PM
            [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 3:21 PM
                [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 3:29 PM
                    [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 2:07 AM
                        [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 4:49 AM
                            [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 5:06 AM
                                [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 5:12 AM
                                    [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 5:28 AM
                                        [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 5:38 AM
    [issue14657] Avoid two importlib copies report at bugs Apr 24, 2012, 6:13 PM
    [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 5:32 AM
    [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 5:46 AM
    [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 7:58 AM
    [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 8:14 AM
    [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 8:25 AM
        [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 8:38 AM
        [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 8:41 AM
        [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 8:52 AM
        [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 8:55 AM
        [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 8:58 AM
        [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 9:02 AM
        [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 9:40 AM
        [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 9:46 AM
            [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 10:46 AM
        [issue14657] Avoid two importlib copies report at bugs Apr 25, 2012, 6:21 PM
        [issue14657] Avoid two importlib copies report at bugs Apr 29, 2012, 1:24 AM
        [issue14657] Avoid two importlib copies report at bugs May 4, 2012, 12:20 PM
            [issue14657] Avoid two importlib copies report at bugs May 17, 2012, 8:25 AM
        [issue14657] Avoid two importlib copies report at bugs May 5, 2012, 9:50 PM
        [issue14657] Avoid two importlib copies report at bugs May 6, 2012, 12:04 AM
        [issue14657] Avoid two importlib copies report at bugs May 6, 2012, 12:06 AM
        [issue14657] Avoid two importlib copies report at bugs May 6, 2012, 12:23 AM
        [issue14657] Avoid two importlib copies report at bugs May 6, 2012, 12:28 AM
        [issue14657] Avoid two importlib copies report at bugs May 6, 2012, 9:13 AM
        [issue14657] Avoid two importlib copies report at bugs May 6, 2012, 9:24 AM
        [issue14657] Avoid two importlib copies report at bugs May 6, 2012, 9:33 AM
        [issue14657] Avoid two importlib copies report at bugs May 6, 2012, 12:05 PM
        [issue14657] Avoid two importlib copies report at bugs May 6, 2012, 11:50 PM
        [issue14657] Avoid two importlib copies report at bugs May 7, 2012, 8:01 AM
        [issue14657] Avoid two importlib copies report at bugs May 7, 2012, 8:05 AM
        [issue14657] Avoid two importlib copies report at bugs May 7, 2012, 8:11 AM
        [issue14657] Avoid two importlib copies report at bugs May 7, 2012, 8:23 AM
        [issue14657] Avoid two importlib copies report at bugs May 7, 2012, 8:42 AM
        [issue14657] Avoid two importlib copies report at bugs May 7, 2012, 8:47 AM
        [issue14657] Avoid two importlib copies report at bugs May 7, 2012, 12:31 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.