A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-February/124254.html below:

[Python-Dev] [Python-checkins] peps: PEP 426: replace implied 'version starts with' with new ~= operator

[Python-Dev] [Python-checkins] peps: PEP 426: replace implied 'version starts with' with new ~= operator [Python-Dev] [Python-checkins] peps: PEP 426: replace implied 'version starts with' with new ~= operatorVinay Sajip vinay_sajip at yahoo.co.uk
Sat Feb 23 15:57:33 CET 2013
Nick Coghlan <ncoghlan <at> gmail.com> writes:

> Daniel is a fan of this syntax, but I think it is inferior to the
> implied approach, so don't expect it to survive to any accepted
> version of the PEP :)

Another thing against ~= is that it isn't valid Python syntax. It's not a deal-
breaker, but it does mean that you can't e.g. use the ast module in the
implementation. This might be a factor if the mini-language ever grows (as it
recently did, adding parentheses).

Regards,

Vinay Sajip

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4