A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-May/044932.html below:

[Python-Dev] hash comments in interactive interpreter

[Python-Dev] hash comments in interactive interpreter [Python-Dev] hash comments in interactive interpreterMichael Hudson mwh at python.net
Fri May 21 11:11:46 EDT 2004
John Belmonte <john at neggie.net> writes:

> Hello,
>
> I'm wondering what the rationale is for hash comments yielding a
> continuation prompt (PS2) in the interactive interpreter.  I'd like to
> put such comments in interactive examples, but the output is hard to
> follow:
[...]
> Is there something preventing this anomaly in the interactive
> interpreter from being corrected?

Lack of time and effort?  The parser is fairly hairy.

Cheers,
mwh

-- 
40. There are two ways to write error-free programs; only the third
    one works.
  -- Alan Perlis, http://www.cs.yale.edu/homes/perlis-alan/quotes.html

More information about the Python-Dev mailing list

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