Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #94299 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2015-07-22 02:47 +1000 |
| Last post | 2015-07-22 02:47 +1000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Where is the c source code of the import mechanism that ignores invalid directory? Chris Angelico <rosuav@gmail.com> - 2015-07-22 02:47 +1000
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2015-07-22 02:47 +1000 |
| Subject | Re: Where is the c source code of the import mechanism that ignores invalid directory? |
| Message-ID | <mailman.821.1437497225.3674.python-list@python.org> |
On Wed, Jul 22, 2015 at 2:44 AM, Shiyao Ma <i@introo.me> wrote: > Yep. I followed from bltmodule.c(the import function) and got to the > import.c file, and finally got lost. > What version of CPython are you looking at? If it's a sufficiently recent version, you may want to look at importlib instead. https://docs.python.org/3/library/importlib.html That'll be a LOT easier to work through. ChrisA
Back to top | Article view | comp.lang.python
csiph-web