A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-June/004601.html below:

[Python-Dev] Creating curses package: OK?

[Python-Dev] Creating curses package: OK?Greg Stein gstein@lyra.org
Sat, 10 Jun 2000 15:33:20 -0700
On Sat, Jun 10, 2000 at 06:25:14PM -0400, Andrew Kuchling wrote:
> On Sat, Jun 10, 2000 at 11:21:57PM +0300, Moshe Zadka wrote:
> >Maybe I'm confused here. I thought that was what AMK suggested, no?
> 
> I did in fact suggest that, since the wrapper is small, and we ideally
> want every Python/curses application using it, so they don't leave the
> terminal in a wacky state if they raise an exception.  But it's not a
> big deal and could easily go in wrapper.py, though __init__.py might
> still import it automatically.

Yes, I think we'd want it to import the stuff; just organizationally to
place the source code outside of __init__.py

I'd agree that real code should not go into __init__. It should preload some
standard modules, maybe expose some symbols, but otherwise no code.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4