GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing iscinumpy.dev — Python 3.9 Python 3.9 is out (and has been for a while, I’m late posting this), with new features and changes. The themes for this release have been heavily internal improvements, such as a new more powerful parser, and the usual static typing improvements, along with a several bits new-user facing new syntax. This makes 3.9 a smaller release, but still it has some nice features of note. Dict mergingThis is a small feature, but one that has been looked for by Python newbies and experts alike. You can now use set merging on dicts, as well! This feature was a little slow in coming partially because there’s a choice to
be made; in the example above, does Generics for type hintingThe standard library classes now can be generic for static typing. So
These are identical (though the first line is also valid in Python 3.7+ if you
use This is enabled by Also for typing, Smaller featuresA new parser was implemented, though since the old parser is still optionally
available, the language doesn’t officially use any of the new syntax. Though
if you try a parenthesised Decorators now have relaxed syntax; pretty much any Python object can be used directly now, instead of just simple dotted expressions. New string methods Also, StdlibTime zonesA new Topological sortingA new module You can get an order like you see above, or you can get “ready” ones and then
indicate which ones are done, checking to see which ones are ready - perfect for
multithreading. See Other
Other developer changesLibrary developers may need to be aware of the following changes:
Final wordsThis was an unusually small release from a user perspective, but there was a lot of work going on behind the scenes, especially related to the brand new and more powerful parser. This was the first release to officially support Apple Silicon. SourcesThis blog post was written well after the release, so the primary source was the docs & experience. Here are a few possibly useful links: Categories: Python |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |