On Fri, Nov 4, 2016 at 12:30 PM, Simon Byrne wrote:
> How can I reexport a variable defined in the __init__ method of a
> submodule, to play nice with precompilation.
>
> The following gives me a "WARNING: could not import Foo.bar into
> TestExport":
>
> __precompile__()
> module TestExport
>
How can I reexport a variable defined in the __init__ method of a
submodule, to play nice with precompilation.
The following gives me a "WARNING: could not import Foo.bar into
TestExport":
__precompile__()
module TestExport
export bar
module Foo
export bar
function __