title: Arbitrary python names with slashes in import statement
body: <p>Gone through related questions,but cannot find this specific answer.</p>
  
  <p>We're embedding python into our application, and have added a hook to sys.meta_path
  to allow the import of arbitrarily named modules.
  (That is, module definitions do not reside on disk, but are defined in memory <em>within</em> the package).</p>
  
  <p>This allows things like:</p>
  
  <pre><code>import my_module_1#2#31421
  </code></pre>
  
  <p>or even:</p>
  
  <pre><code>__import__("my_module_1#2#31321")
  </code></pre>
  
  <p>The problem occurs when the specific label itself contains a slash.</p>
  
  <pre><code>import my_module_1/123/56
  </code></pre>
  
  <p>or </p>
  
  <pre><code>__import__("my_module_1/123/56")
  </code></pre>
  
  <p>It creates the following error, before even reading my meta_path hook.</p>
  
  <p><strong>ImportError: Import by filename is not supported.</strong></p>
  
  <p>Ive also tried things like:</p>
  
  <pre><code>import imp imp.load_source('my_module_1', '123/56')
  </code></pre>
  
  <p>But again, this does not even reach the meta_path hook.
  The arbitrary names I need to pass are actually 'path' like, but do not refer to disk paths.</p>
  
  <p>Does anyone have any suggestions?</p>
  
  <p>Thanks very much,
  Rob.</p>