Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #80618 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2014-11-13 05:12 +1100 |
| Last post | 2014-11-13 05:12 +1100 |
| 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: __missing__ for the top-level Python script Chris Angelico <rosuav@gmail.com> - 2014-11-13 05:12 +1100
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2014-11-13 05:12 +1100 |
| Subject | Re: __missing__ for the top-level Python script |
| Message-ID | <mailman.15734.1415815966.18130.python-list@python.org> |
On Thu, Nov 13, 2014 at 5:09 AM, Skip Montanaro <skip.montanaro@gmail.com> wrote: > On Wed, Nov 12, 2014 at 12:49 PM, Chris Angelico <rosuav@gmail.com> wrote: >> Interesting data point there - that you actually have it handy and >> choose not to use it. > > And, I believe I wrote it. Can't have a worse recommendation than > that. A cook who doesn't eat his own cooking. :-) I think I disabled > its import sometime in the distant past when it interacted badly with > something else, but for the life of me, I can't remember the details > anymore. It doesn't ideally handle loops, as it'll go back to the top of the loop - that was my first thought. As it has to go and exec stuff all over again, it's entirely possible it'll have other issues. > I will occasionally paste functions from Python source files into the > interactive interpreter. This autoload functionality can be kind of > handy there so you don't have to go back and also grab the imports > from the top of the source file. Yeah, that does help. Of course, it can't handle a from import, but I wouldn't expect anything to catch those. ChrisA
Back to top | Article view | comp.lang.python
csiph-web