]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38361: syslog: fixed making default "ident" from sys.argv[0] (GH-16557)
authorVáclav Bartoš <bartos@cesnet.cz>
Tue, 14 Jan 2020 17:57:04 +0000 (18:57 +0100)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 14 Jan 2020 17:57:04 +0000 (09:57 -0800)
commitf04750bb7af45cb6efab8d92d1ff063f0bf2833d
treefb9282def221ac75d67a74b0ad7d790b68caf4a5
parentb6791375b2ff86ea07f068fb53d9575c337eaa5b
bpo-38361: syslog: fixed making default "ident" from sys.argv[0] (GH-16557)

The default value of "ident" parameter should be sys.argv[0] with leading path
components stripped, but it contained the last slash, i.e. '/program' instead
of 'program'.

BPO issue: https://bugs.python.org/issue38361

https://bugs.python.org/issue38361
Misc/NEWS.d/next/Library/2019-10-04-09-49-56.bpo-38361.LM4u4T.rst [new file with mode: 0644]
Modules/syslogmodule.c