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/2006-March/062513.html below:

[Python-Dev] Bug 1184112 still valid

[Python-Dev] Bug 1184112 still valid [Python-Dev] Bug 1184112 still validFredrik Lundh fredrik at pythonware.com
Fri Mar 17 15:56:48 CET 2006
Wolfgang Langner wrote:

> today I got my first real python bug. Problem is described in:
>
> Bug with ID: 1184112
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=1184112&group_id=5470&atid=105470
>
> I use python 2.3.5 in an embedded C++ Application which uses function:
> PyRun_SimpleString.

the "missing trailing newline may cause errors for multiline statements" is
documented behaviour; from the compile() docs:

    "When compiling multi-line statements, two caveats apply: line
    endings must be represented by a single newline character ('\n'),
    and the input must be terminated by at least one newline character."

see the codeop.py sources for library code that depends on this behaviour.

</F>



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