Python 3.11 is faster than 3.8

jott.live
python-311-is-faster-than-3.8

jott – py3.11_vs_3.8 # Python 3.11 is *much* faster than 3.8 *by [@bwasti](https://twitter.com/bwasti)* **** This is awesome, but let’s not get ahead of ourselves. Running on an M1 Pro, I tried some N-body simulation code across Python 3.8, 3.11, Bun … Read more

Python 3.11.0 final

discuss.python.org
python-311.0-final

Python 3.11 is finally released. In the CPython release team, we have put a lot of effort into making 3.11 the best version of Python possible. Better tracebacks, faster Python, exception groups and except*, typing improvements and much more. Get … Read more

Python and Async Simplified (2018)

aeracode.org
python-and-async-simplified-(2018)

Article / 19th Feb 2018 Note This post focuses on Python 3.5 and higher, and the native async def and await support, and won’t touch on the older approaches like @asyncio.coroutine. As some of you may be aware, I have … Read more

Python Type Hints Are Turing Complete

arxiv.org
python-type-hints-are-turing-complete

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website. Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. … Read more

Python Is Portable

ahgamut.github.io
python-is-portable

Update (2022-07-27) : This post describes a proof-of-concept Python executable (2.7.18 and 3.6.14) built on Cosmopolitan Libc, which allows it to run on six different operating systems (Linux, Mac, Windows, NetBSD, FreeBSD, OpenBSD). It’s been more than a year since … Read more

To Ruby from Python

ruby-lang.org

Python is another very nice general purpose programming language. Going from Python to Ruby, you’ll find that there’s a little bit more syntax to learn than with Python. Similarities As with Python, in Ruby,… There’s an interactive prompt (called irb). … Read more

Python 3.11 is 25% faster than 3.10 on average

github.com
python-311-is-25%-faster-than-3.10-on-average

ideas/main-vs-310.rst at main · faster-cpython/ideas · GitHub {{ message }} Permalink This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. 1 contributor Benchmark 2022-05-05_17-47-3.10-9b47252d5433 2022-05-05_16-04-main-ae553b3561f0 deltablue 12.4 ms … Read more

PyPI: Python packets steal AWS keys from users

blog.sonatype.com
pypi:-python-packets-steal-aws-keys-from-users

Last week, Sonatype discovered multiple Python packages that not only exfiltrate your secrets—AWS credentials and environment variables but rather upload these to a publicly exposed endpoint. These packages were discovered by Sonatype’s automated malware detection system, offered as a part … Read more

From Python to NumPy (2017)

labri.fr
from-python-to-numpy-(2017)

There are already a fair number of books about Numpy (see Bibliography) and a legitimate question is to wonder if another book is really necessary. As you may have guessed by reading these lines, my personal answer is yes, mostly … Read more