[issue40910] Py_GetArgcArgv() is no longer exported by the C API

2020-06-15 Thread miss-islington
miss-islington added the comment: New changeset bab0833d49f8d38488ff1469edcec9b47db0dc5c by Miss Islington (bot) in branch '3.9': bpo-40910: PyConfig_Clear() clears _orig_argv (GH-20886) https://github.com/python/cpython/commit/bab0833d49f8d38488ff1469edcec9b47db0dc5c -- __

[issue40910] Py_GetArgcArgv() is no longer exported by the C API

2020-06-15 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +20069 pull_request: https://github.com/python/cpython/pull/20887 ___ Python tracker _

[issue40910] Py_GetArgcArgv() is no longer exported by the C API

2020-06-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset e2d47a0568c6da9229580829917fd6aa702133b3 by Victor Stinner in branch 'master': bpo-40910: PyConfig_Clear() clears _orig_argv (GH-20886) https://github.com/python/cpython/commit/e2d47a0568c6da9229580829917fd6aa702133b3 -- _

[issue40910] Py_GetArgcArgv() is no longer exported by the C API

2020-06-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20068 pull_request: https://github.com/python/cpython/pull/20886 ___ Python tracker ___ __

[issue40910] Py_GetArgcArgv() is no longer exported by the C API

2020-06-08 Thread STINNER Victor
STINNER Victor added the comment: Ok, I fixed Python 3.9: Py_GetArgcArgv() function is exported again. Let's continue the discussion in bpo-23427. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <

[issue40910] Py_GetArgcArgv() is no longer exported by the C API

2020-06-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset dedaac040fe5b0b88acdec072623bb39ec53687f by Victor Stinner in branch '3.9': bpo-40910: Export Py_GetArgcArgv() function (GH-20721) (GH-20723) https://github.com/python/cpython/commit/dedaac040fe5b0b88acdec072623bb39ec53687f -- ___

[issue40910] Py_GetArgcArgv() is no longer exported by the C API

2020-06-08 Thread STINNER Victor
STINNER Victor added the comment: Py_GetArgcArgv() is not new at all. It exists since: commit ac56b03f9a931423714ab3a0e8cfae78f81f9b85 Author: Guido van Rossum Date: Sun Jul 21 02:33:38 1996 + New style names for getprogramname and getargcargv Previously, the function was known a

[issue40910] Py_GetArgcArgv() is no longer exported by the C API

2020-06-08 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19933 pull_request: https://github.com/python/cpython/pull/20723 ___ Python tracker ___ __

[issue40910] Py_GetArgcArgv() is no longer exported by the C API

2020-06-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset e81f6e687d0f04a45f2389d0b43fafd6d8491624 by Victor Stinner in branch 'master': bpo-40910: Export Py_GetArgcArgv() function (GH-20721) https://github.com/python/cpython/commit/e81f6e687d0f04a45f2389d0b43fafd6d8491624 -- ___

[issue40910] Py_GetArgcArgv() is no longer exported by the C API

2020-06-08 Thread Daniele Varrazzo
Daniele Varrazzo added the comment: Thank you for opening this. FYI: > probably the original argv can still be found scanning backwards from environ this is how the module works indeed in Python 3. -- nosy: +piro ___ Python tracker

[issue40910] Py_GetArgcArgv() is no longer exported by the C API

2020-06-08 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-23427 "Python should expose command when invoked with -c" -- ___ Python tracker ___

[issue40910] Py_GetArgcArgv() is no longer exported by the C API

2020-06-08 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-5672 "Implement a way to change the python process name", especially this comment: https://bugs.python.org/issue5672#msg108524 """ setproctitle is quite stable, my company uses it in production environment very heavily with python 2.x. Probably

[issue40910] Py_GetArgcArgv() is no longer exported by the C API

2020-06-08 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-29857: Provide `sys.executable_argv` for host application's command line arguments. -- ___ Python tracker ___ _

[issue40910] Py_GetArgcArgv() is no longer exported by the C API

2020-06-08 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +19930 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20721 ___ Python tracker ___ _

[issue40910] Py_GetArgcArgv() is no longer exported by the C API

2020-06-08 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-15577 "Real argc and argv in embedded interpreter". -- ___ Python tracker ___ ___ Py

[issue40910] Py_GetArgcArgv() is no longer exported by the C API

2020-06-08 Thread STINNER Victor
STINNER Victor added the comment: setproctitle upstream report: https://github.com/dvarrazzo/py-setproctitle/issues/76 -- ___ Python tracker ___ __

[issue40910] Py_GetArgcArgv() is no longer exported by the C API

2020-06-08 Thread STINNER Victor
New submission from STINNER Victor : Python 3.9 is now built with -fvisibility=hidden. The Py_GetArgcArgv() function is no longer exported. Previously, it was exported because all symbols were exported by default. I'm working on a PR to export it again. Fedora downstream issue, setproctitle