Re: [pypy-dev] [pypy-commit] pypy default: Rename the --output option to --really-force-output, and document it
This change breaks places that recommend you to use --output (e.g. check that you're not translating with the same executable) On Thu, Feb 5, 2015 at 5:52 PM, arigo <noreply@buildbot.pypy.org> wrote:
Author: Armin Rigo <arigo@tunes.org> Branch: Changeset: r75726:babfa1dd27a5 Date: 2015-02-05 16:51 +0100 http://bitbucket.org/pypy/pypy/changeset/babfa1dd27a5/
Log: Rename the --output option to --really-force-output, and document it as "don't use with PyPy".
diff --git a/rpython/config/translationoption.py b/rpython/config/translationoption.py --- a/rpython/config/translationoption.py +++ b/rpython/config/translationoption.py @@ -151,7 +151,9 @@ default=False, cmdline="--dont-write-c-files"), ArbitraryOption("instrumentctl", "internal", default=None), - StrOption("output", "Output file name", cmdline="--output"), + StrOption("output", "Output file name (don't change for PyPy!" + " doesn't work with virtualenv+shared: issue 1971)", + cmdline="--really-force-output"), StrOption("secondaryentrypoints", "Comma separated list of keys choosing secondary entrypoints", cmdline="--entrypoints", default="main"), _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit
Hi Fijal, On 6 February 2015 at 09:54, Maciej Fijalkowski <fijall@gmail.com> wrote:
This change breaks places that recommend you to use --output (e.g. check that you're not translating with the same executable)
Grepping for "--output", I can find only translate.py that says "use --output=..." so I'll guess you mean that place. Are you fine if we simply change this error message to "please move the executable (and possibly its associated libpypy-c) somewhere else before you execute it"? Armin
participants (2)
-
Armin Rigo -
Maciej Fijalkowski