[Python-Dev] Python 3.6 dict becomes compact and gets a private version; and keywords become ordered (original) (raw)
Sven R. Kunze srkunze at mail.de
Tue Sep 13 14:11:10 EDT 2016
- Previous message (by thread): [Python-Dev] Python 3.6 dict becomes compact and gets a private version; and keywords become ordered
- Next message (by thread): [Python-Dev] Python 3.6 dict becomes compact and gets a private version; and keywords become ordered
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 13.09.2016 19:59, MRAB wrote:
The recommended way of dealing with features across different versions of Python is to check for them and see if they raise NameError or whatever, but I wonder if there would be any benefit to recording such things somewhere, e.g. sys.features['orderedargs'] returns True if arguments are passed in an ordered dict.
Just to check: do people really that often change between Python implementations?
My personal experience with this kind of compatibility is that it is rarely needed for large and complex programs. That is due to deployment and testing issues (at least in our environment as we run multiple Python services on a multitude of servers).
Best, Sven
- Previous message (by thread): [Python-Dev] Python 3.6 dict becomes compact and gets a private version; and keywords become ordered
- Next message (by thread): [Python-Dev] Python 3.6 dict becomes compact and gets a private version; and keywords become ordered
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]