AeroEng43 / shedskin

Automatically exported from code.google.com/p/shedskin
0 stars 0 forks source link

Import from package on PYTHONPATH #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. from gmisclib import foo
2. (Package gmisclib is a pure python package of modules containing foo.
It's on the PYTHONPATH, not right here, but python has no problem finding it.)

What is the expected output? What do you see instead?

Success.
*ERROR* avio.py:5: cannot locate module: gmisclib

What version of the product are you using? On what operating system?
0.0.28 on Ubuntu

Please provide any additional information below.

Original issue reported on code.google.com by gpk...@gmail.com on 29 Jul 2008 at 12:24

GoogleCodeExporter commented 8 years ago
please see the 'library limitations' section of the readme/tutorial. thanks for
reporting, though. 

Original comment by mark.duf...@gmail.com on 30 Jul 2008 at 8:11

GoogleCodeExporter commented 8 years ago
The library I attempted to use wasn't a standard library.    The most natural 
reading
of the "Library Limitations" section is that it applies to the standard library,
because the section starts out talking about the standard library.

While I now see that it can be read as applying more broadly, I'd suggest you 
change
the text to say so a little more clearly.   I'd suggest taking the first two 
small
paragraphs "Programs to be compiled with Shed Skin cannot..." and "Note that 
Shed
Skin can be used..."  and putting them at the end of the section rather than the
beginning.

Then, the broad nature of the restriction will become apparent.

Original comment by gpk...@gmail.com on 30 Jul 2008 at 2:49

GoogleCodeExporter commented 8 years ago
I think you have a good point there. I guess I wasn't thinking about additional
(non-standard) libraries at all while writing this section.. I will have a look 
at
clarifying this with the next release. thanks ^^

Original comment by mark.duf...@gmail.com on 30 Jul 2008 at 6:10