From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8025 invoked from network); 27 Jul 2021 04:39:23 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 27 Jul 2021 04:39:23 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1627360763; b=fgfD4pwK/Ar8ibSOuT8zHq527WsV2x/PQ6dXx1Kij6vI+iUorSgUME0MunPXCwsE6S5N/oJNOw mQyoguIDbzOI0rsE2JtAw6TbUdghwF6SGKaxHjDGK9amI1S0uWzlFqc2lRx9Ul26yhvACjy+8n nXAUxHqQDdRpk51IB27eHo1TZiWAbTYDdTt5fIQ8D0jg5PjkkYBDoqRjxaE6WaPFTW5yEzlU+6 Ws1L1gmksLy66jryrFbPJyog1URkGehTpIja+BFlTrYf59GCFVYtbtpCZ6qqrnV6aqH3XDnL5i tpEKNYWawiPNSdpfRqsXWQQYiBy1FJr6SzvkiYCwe5mpYQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-wm1-f48.google.com) smtp.remote-ip=209.85.128.48; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1627360763; bh=iuZra9mvm1tXoZohtZpuyMpb75tQtmF56tNtBHpLBhc=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:MIME-Version:Message-ID:Date: Subject:To:From:DKIM-Signature:DKIM-Signature; b=estqBisRUnPqTKjnjXroGI7j1KvkfxEwYtttFFFC+LoON4qwwTvKJVbAvB3XtBHeHoxsJM/Z2E B2QdLfhWCWjC8S+ku0uLuQ3AeW42OFtGwoS+n2713N4Yr28Pqf63+6243PLLFXQE4vyXWQtsK+ 2Hv3sd18AIR53Zk5ZDLepSiSTE2I1e6CQNI0wdPEnL0MizkE6gijutgwXPszXn5JpLafJAYsI8 +ZdPYzCazcCfXKlNmeEd5g1H085r2n5+SA/+lSgnfHeT01SD7PvY3LV/Xi//tGXdZSPsjW0m9v H5optdsNYMT7qdi3kNncsHE+mpMgRn55l9jhe+th2E7hzQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=abasiBLdkb1+F8LFaFM4+64Ht5GlF/ZocPiQK8QqX7s=; b=Q3MbFLJh990Jl+kQ6+tPk+ywTz +aZUj2BtqLL+ajAPa21hIa2z73LphFpkEtjkxR42Kaoxig1CovDk/5C/pwA9V/nDgtu+Rn04z0+aa 4YseL5xTT8kso5xKTuhE4qA/XGLCw0/O9TPqeb1vM76vIWzPuVFypqW1E8MfFi8HC6Tutup5U4yr1 7PQZpqnMq/FHfNeWbDkzMANRwbENjUWt5iYdAUlDXXHXwWEqJtB0su1hfMFHemax4QJwPfrMIlJkB E6i424a/Sy4iNvHfvbQXb599cyigjYV2NveJXzTVIpO99DCDah7uBlX8BRPEfhM3DpSInOvrgGfx7 2ZF5z0pA==; Received: from authenticated user by zero.zsh.org with local id 1m8EsE-000BqN-KV; Tue, 27 Jul 2021 04:39:22 +0000 Authentication-Results: zsh.org; iprev=pass (mail-wm1-f48.google.com) smtp.remote-ip=209.85.128.48; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-wm1-f48.google.com ([209.85.128.48]:46643) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1m88vX-000IfR-2C; Mon, 26 Jul 2021 22:18:23 +0000 Received: by mail-wm1-f48.google.com with SMTP id h24-20020a1ccc180000b029022e0571d1a0so968991wmb.5 for ; Mon, 26 Jul 2021 15:18:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=abasiBLdkb1+F8LFaFM4+64Ht5GlF/ZocPiQK8QqX7s=; b=AsT2FImqGmk/0Nffob/YQQEXvzOovB79djkfksB57HPkWJimSE+HkBXSjh5YdY86eV f4TWT1m1bf5JNPlqOajBnEQ8VIE3SPkLrbmJ9cdltq6TMuUZ7yNCvJQDJ3PBh/D88FyB 2AAXlNI9VTO2ufiLEOqjpmlRmdlbvNy/Jo9HFmzy6BJOAQiJVnDxetp4070bOdwy77bo w49KEre6//XXinJmE08iNpwNKmXBjlFjUzJdu2dNi03eTOgQmVV0V6j9CFqdSRnX2wse aGpEIjSJlBwqAcF0QuUr4tEBEZL1Ps96J8gfhHtaQgS3YYh4disH7H7Hv7B+jqpBPAot Y1PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=abasiBLdkb1+F8LFaFM4+64Ht5GlF/ZocPiQK8QqX7s=; b=B5XVUpEtnFym1Xayy74F57fFC8mmaGj/AmLSa10l3PJaP964pNXBJ37d7H/OqdGOJ7 xh8EyJ68oFd5Tx3IARN+gQSOgAoq1G1CvDVMq/sg8nlWtfh9+QAME7AWosAIt+UhXqfC NcGESg+U4sdzFwJ90ErinBBOqmctNt8XtFOIIPUEA4FRw1gR8gvFvZll7/PuQD9Ifl4u YNvVrHh1wX7wAsIpNhNbhsH9KFPf5j4W/hB50FMe7Q5XI+t2DKzQIBVzEtgO6sgo8x1S aOyh+sx+u6AjBzpEy4hkAIjR/1dUdSdo3y8nZwVEKWTBN2Ln/onQn5B0HtyH4SZlpMCl IdiQ== X-Gm-Message-State: AOAM531PanWuyFhGAtevH6UR1p6lb7zsDPyEN9zVYO7oJeaixTkyUKZ8 nGrP+nlcTGO2SR33ppUueHrcJOwoKNI= X-Google-Smtp-Source: ABdhPJzMECN7NSGa3xWN5JWaSGEENDnVlnJyfcr66YjjxXxu+s4BkwHhvJ+U69v4DiSUzKwZBL7EGA== X-Received: by 2002:a7b:c3d3:: with SMTP id t19mr930825wmj.83.1627337456851; Mon, 26 Jul 2021 15:10:56 -0700 (PDT) Received: from localhost ([185.112.167.41]) by smtp.gmail.com with ESMTPSA id y11sm693241wmi.33.2021.07.26.15.10.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jul 2021 15:10:56 -0700 (PDT) From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20N=C4=9Bmec?= To: zsh-workers@zsh.org Subject: [PATCH] _python: add missing options Date: Tue, 27 Jul 2021 00:10:50 +0200 Message-Id: <20210726221050.764873-1-stepnem@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Validation-by: kb@spambri.de X-Seq: 49199 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: --- Completion/Unix/Command/_python | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Completion/Unix/Command/_python b/Completion/Unix/Command/_python index f10106f9b4d9..05d26f2e7652 100644 --- a/Completion/Unix/Command/_python +++ b/Completion/Unix/Command/_python @@ -1,7 +1,7 @@ #compdef -P python[0-9.]# # Python 2.7 -# Python 3.4 +# Python 3.9 local curcontext="$curcontext" state state_descr line typeset -A opt_args @@ -11,7 +11,9 @@ if _pick_variant python3=Python\ 3 python2 --version; then args=( '(-bb)-b[issue warnings about str(bytes_instance), str(bytearray_instance) and comparing bytes/bytearray with str]' '(-b)-bb[issue errors about str(bytes_instance), str(bytearray_instance) and comparing bytes/bytearray with str]' + '--check-hash-based-pycs[configure how Python evaluates up-to-dateness of hash-based .pyc files]:mode' "-I[isolate Python from the user's environment]" + '-q[do not print version and copyright messages]' '-X[set implementation-specific option]:option' ) else @@ -37,7 +39,8 @@ _arguments -C -s -S "$args[@]" \ "-s[don't add user site directory to sys.path]" \ "-S[don't imply 'import site' on initialization]" \ '-u[unbuffered binary stdout and stderr]' \ - '-v[verbose (trace import statements)]' \ + '(-vv)-v[trace module initialization and cleanup]' \ + '(-v)-vv[in addition to -v, trace all files checked when searching for a module]' \ '(1 * -)-V[display version information]' \ '-W+[warning control]:warning filter (action\:message\:category\:module\:lineno):(default always ignore module once error)' \ '-x[skip first line of source, allowing use of non-Unix forms of #!cmd]' \ base-commit: f8ec33c453159ad848d9b1a28782c5df7f0cc944 -- 2.32.0