Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #102047

Deprecation warning for async and await

Path csiph.com!feeder.erje.net!2.eu.feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!fu-berlin.de!uni-berlin.de!not-for-mail
From Marco Buttu <marco.buttu@gmail.com>
Newsgroups comp.lang.python
Subject Deprecation warning for async and await
Date Thu, 21 Jan 2016 20:07:14 +0100
Lines 17
Message-ID <mailman.183.1453560873.15297.python-list@python.org> (permalink)
Reply-To mbuttu@oa-cagliari.inaf.it
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de VCwb3OzjFL/hU1QezRG70wEGdPtFBDUeGYw3L217iCNQ==
Return-Path <marco.buttu@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.098
X-Spam-Evidence '*H*': 0.83; '*S*': 0.02; 'assigning': 0.09; 'python': 0.10; 'jan': 0.11; '-wd': 0.16; 'async': 0.16; 'deprecation': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:Deprecation': 0.16; 'header:User-Agent:1': 0.26; 'phone:': 0.33; 'received:google.com': 0.35; 'received:74.125.82': 0.35; 'but': 0.36; 'to:addr:python-list': 0.36; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'email:': 0.62; 'della': 0.66; 'header:Reply-To:1': 0.67; 'reply-to:no real name:2**0': 0.71; '3.5.1': 0.84; '3.6': 0.84; 'subject:warning': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:message-id:date:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=wQJ+bmaaf8ccCDJmS3CUXvog5s9hwx4YZSN7tyR6guI=; b=w4rXT9iGGX6/9OZE4MiVdipG03K7Pb4zRmVG21IeQTK2SgVNGk53vgCfBf7CoQK9jq 50d9ZDSBvJTDaK+aCge4xOjJLd7VM3x3QYj+CxEi7QtrJtBD/Af4BvzszPUNKZdb9HuS ZixibY3p3OODwIYlI7fzqOGmv16oLY7hHCpNsINvdzBFCsQkABetUarFLGehXllMW2F8 m1jln9GEGxQKHIOYW5ikF1ow+tsysSc1Yysk0mP+mwIwuUJCsoA90j6YbhPvtrC6t4zD 4Kqc7eS1A9ltqf+8jEuQmMyc04y523VoCNyas3s9xTOoWZBU92EQowWKw4GKAhIV4aoJ Ie6Q==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:reply-to:user-agent :mime-version:to:subject:content-type:content-transfer-encoding; bh=wQJ+bmaaf8ccCDJmS3CUXvog5s9hwx4YZSN7tyR6guI=; b=Dc+qx7h4ppeZnQN0nokf96lefKK4GLA9Qd/umH474MuqwH5f2pcaM9fSLx/3sA1s4s OXh87VuVHeZjT7ah4C4EiZB2xyB19+dKZAdZviY4esSSpYT68FUUxr5FDuJFroTHQvS6 GjYxUMfsTV73wOH0fT8zOfT0Om589CdQHMrTi3aK57CExWqm8l3gEzJwOzWfDJwRW8pv TgcVJvHKqttTz+SybNppO5nb95wK0pgWqlgVoiZ95Px0MSSE2GoV1XWcyTH5EDv/y6fT DmfpaV6WO+Bae01ZOuWfkVQxqjAukavLiI3HYaPyT+pqc6RbaTZQrL6mJoQ2mvr5jqvM oKSQ==
X-Gm-Message-State ALoCoQm87rQDwT6BErjrBX1Ke7w4yI1bUzi+cMoZhHZfozOVE4rr39ZTNxbwURaCn4m1GvEG7zssC8mrRZacDhQAvAKaPRDKvA==
X-Received by 10.194.9.98 with SMTP id y2mr44137471wja.105.1453403236574; Thu, 21 Jan 2016 11:07:16 -0800 (PST)
X-Google-Original-From Marco Buttu <mbuttu@oa-cagliari.inaf.it>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0
X-Mailman-Approved-At Sat, 23 Jan 2016 09:54:31 -0500
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:102047

Show key headers only | View raw


I enabled the deprecation warning in Python 3.5.1 and Python 3.6 dev, 
but I did not get any warning when assigning to async or await:

$ python -Wd -c "import sys; print(sys.version); async = 33"
3.5.1 (default, Jan 21 2016, 19:59:28)
[GCC 4.8.4]

Is it normal?

-- 
Marco Buttu

INAF-Osservatorio Astronomico di Cagliari
Via della Scienza n. 5, 09047 Selargius (CA)
Phone: 070 711 80 217
Email: mbuttu@oa-cagliari.inaf.it

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Deprecation warning for async and await Marco Buttu <marco.buttu@gmail.com> - 2016-01-21 20:07 +0100

csiph-web