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/2002-May/024615.html below:

[Python-Dev] True division in embedded Python

[Python-Dev] True division in embedded Python [Python-Dev] True division in embedded PythonSkip Montanaro skip@pobox.com
Wed, 29 May 2002 16:40:26 -0500
    >> My second question is how do you enable true division in embedded
    >> Python? I've read the documentation and I couldn't find anything
    >> appropriate...

    Guido> On the command line it's -Qnew.  Looking through the source of
    Guido> Modules/main.c, it looks like setting the undocumented global
    Guido> variable _Py_QnewFlag to 1 would do it.

Sounds like there's a need for some documented access functions.  At the
very least the docs should mention how programmers must currently set these
flags.  I'll be happy to send in a patch for the ext/embed docs and/or
provide a patch to implement the necessary calls.

Skip




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