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 24, 2012, 10:37 AM


Views: 286
Permalink
[issue14657] Avoid two importlib copies [In reply to]

Marc-Andre Lemburg <mal [at] egenix> added the comment:

test me
thod. Another option is we hide the source as _importlib or something to allow direct importation w/o any tricks under a protected name.

Using the freeze everything approach you make things easier for the
implementation, since you don't have to think about whether certain
pieces of code are already available or not.

For development, you can also have the package load bytecode
or source from an external package instead of running (all of)
the module's bytecode that was compiled into the binary.

This is fairly easy to do, since the needed exec() does not
depend on the import machinery.

The only downside is big if statement to isolate the frozen
version from the loaded one - would be great if we had a
command to stop module execution or code execution for a block to
make that more elegant, e.g. "break" at module scope :-)

----------

_______________________________________
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.