GIL-Free CPython Proof of Concept, Type Hints Case Study, Using @property, and More

#495 – OCTOBER 19, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
No-GIL Fork of CPython
This is a proof-of-concept implementation of CPython that supports multithreading without the global interpreter lock (GIL), from Facebook research. An overview of the design is described in the Python Multithreading without the GIL Google doc. Also see the related discussions on LWN and Hacker News.
GITHUB.COM/COLESBURY • Shared by Henry Schreiner

Why You Shouldn’t Invoke setup.py Directly
“The setuptools team no longer wants to be in the business of providing a command line interface and is actively working to become just a library for building packages. What you should do instead depends on your use case, but if you want some basic rules of thumb, there is a table in the summary section.”
PAUL GANSSLE

Data Elixir: Data Science Newsletter
Data Elixir is an email newsletter that keeps you on top of the tools and trends in Data Science. Covers machine learning, data visualization, analytics, and strategy. Curated weekly with top picks from around the web →
DATA ELIXIRsponsor

Where Does All the Effort Go? Looking at Python Core Developer Activity
“One of the tasks given me by the Python Software Foundation as part of the Developer in Residence job was to look at the state of CPython as an active software development project. What are people working on? Which standard libraries require most work? Who are the active experts behind which libraries?”
ŁUKASZ LANGA

Cool New Features in Python 3.10
In this course, you’ll explore some of the coolest and most useful features in Python 3.10. You’ll appreciate more user-friendly error messages, learn about how you can handle complicated data structures with structural pattern matching, and explore new enhancements to Python’s type system.
REAL PYTHON course

PyCascades 2022 CFP Closes on Sunday (Oct 24)
PYCASCADES CONFERENCE

Announcing PSF Fellow Members for Q3 2021
PYTHON SOFTWARE FOUNDATION

Join the Python Developers Survey 2021
PYTHON SOFTWARE FOUNDATION

Psycopg 3.0 Released
PSYCOPG.ORG

PyPy 7.3.6 Released
PYPY.ORG


Python Jobs


Senior Python Engineer @ Moody's AI & ML Center of Excellence (New York, NY, USA)
MOODY'S

Senior Software Engineer (Washington D.C., DC, USA)
QUORUM

Senior Backend Software Engineer (Anywhere)
CLAY

Full Stack Developer (Anywhere)
LEVEL 12

Software Engineer (Anywhere)
1POINT21 INTERACTIVE

More Python Jobs >>>


Articles & Tutorials


Tests Aren’t Enough: Case Study After Adding Type Hints to urllib3
“Since Python 3.5 was released in 2015 including PEP 484 and the typing module type hints have grown from a nice-to-have to an expectation for popular packages. To fulfill this expectation our team has committed to shipping type hints for the v2.0 milestone. What we didn’t realize is the amount of value we’d derive from this project in terms of code correctness.”
SETH MICHAEL LARSON

Welcoming the CPython Developer in Residence
Earlier this year, the Python Software Foundation announced the creation of the Developer in Residence role. The first Visionary Sponsors of the PSF have provided funding for this new role for one year. What development responsibilities does this job address? This week on the show, Łukasz Langa talks about becoming the first CPython Developer in Residence.
REAL PYTHON podcast

Accelerate Your Python Apps With Apache Cassandra™ NoSQL. Register for an Astra DB Demo
Scale data for your Django, Flask, FastAPI apps with our multi-cloud, serverless DBaaS–built on Apache Cassandra™. Painless APIs, free for developers. Get 80 Gigabytes of Storage Free Every Month. Explore Astra DB now →
DATASTAXsponsor

Python Assignment Expressions and Using the Walrus Operator
In this course, you’ll learn about assignment expressions and the walrus operator. The biggest change in Python 3.8 was the inclusion of the := operator, which you can use to assign variables in the middle of expressions. You’ll see several examples of how to take advantage of this new feature.
REAL PYTHON course

A Roadmap to XML Parsers in Python
In this tutorial, you’ll learn what XML parsers are available in Python and how to pick the right parsing model for your specific use case. You’ll explore Python’s built-in parsers as well as major third-party libraries.
REAL PYTHON

How APT Does Its Fancy Progress Bar
“Today while running an apt full-upgrade I asked myself how apt does this nice progress bar stuck at the bottom line while still writing scrolling text.” Python example code included.
JULIEN PALARD

Configuration Is an API, Not an SDK
Guidelines for config management in general and for Python apps in particular. Why “Configuration is just another API of your app” might be a good philosophy to adopt.
HERNAN LOZANO • Shared by Hernan Lozano

Python’s property(): Add Managed Attributes to Your Classes
In this step-by-step tutorial, you’ll learn how to create managed attributes, also known as properties, using Python’s property() in your custom classes.
REAL PYTHON

Receive a $5 Donation to the OSS of Your Choice When You Deploy Your Free Scout APM Trial Today
Scout is performance monitoring designed to provide the data insights necessary for any dev to become a performance pro. Find and fix observability issues before your customers notice by connecting your error reporting and APM data on one platform.
SCOUT APMsponsor

Pip vs Conda: A Comparison of Python’s Two Packaging Systems
“Python has two commonly used packaging systems, pip and Conda. Learn the differences between them so you can pick the right one for you.”
ITAMAR TURNER-TRAURING

Secure Password Handling in Python
Protect and secure your passwords and credentials in Python with help of these techniques and tips.
MARTIN HEINZ • Shared by Martin Heinz

Understanding np.where()
The NumPy where() function is like a vectorized switch that you can use to combine two arrays.
BEN COOK

Three Tools to Profile a Django App
KRACEKUMAR.COM

More Uses for functools.partial() in Django
ADAM JOHNSON


Projects & Code


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed →

kubernetes-client: Official Python Client Library for Kubernetes
GITHUB.COM/KUBERNETES-CLIENT

Lenia: Mathematical Life Forms Simulator
GITHUB.COM/CHAKAZUL

troposphere: Create AWS CloudFormation Descriptions
GITHUB.COM/CLOUDTOOLS

classyconf: Declarative and Extensible Library for Configuration & Code Separation
GITHUB.COM/HERNANTZ

📆🐍 Upcoming Python Events


⋅ Weekly Real Python Office Hours Q&A (Virtual) October 20, 2021

⋅ Inland Empire Pyladies (CA, USA) October 25, 2021

⋅ Introduction to the Python Programming Language (In Persian) October 26, 2021

⋅ Python Sheffield October 26, 2021

⋅ Dominican Republic Python User Group October 26 to October 27, 2021

⋅ PyKla Monthly Meetup October 27, 2021

⋅ Python Meeting Düsseldorf October 27, 2021

⋅ Heidelberg Python Meetup October 27, 2021

⋅ PyData Global 2021 October 28 to October 31, 2021

⋅ deploy by DigitalOcean November 16 to November 17, 2021
Happy Pythoning!
Copyright © 2021 PyCoder’s Weekly, All rights reserved.
You are receiving this email because you opted in on our website at pycoders.com
Our mailing address: DevCademy Media Inc. · #720-999 West Broadway, Vancouver BC V5Z 1K5, Canada

Unsubscribe | Update Email Address

Older messages

Python Secures TIOBE #1 Spot, Guido on Python Performance, 3.10 Updates, and More

Tuesday, October 12, 2021

Beating C and Java, Python Becomes the #1 Most Popular Programming Language, Says TIOBE #494 – OCTOBER 12, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Beating C and Java, Python Becomes the #1

All Things Python 3.10, Proportional Fonts, Python Editors, and More

Tuesday, October 5, 2021

Python 3.10: Cool New Features for You to Try #493 – OCTOBER 5, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Python 3.10: Cool New Features for You to Try Explore some of the coolest and most

Python GIL Deep-Dive, Django 4.0 is Coming, Python as a Build Tool, and More

Tuesday, September 28, 2021

Python Behind the Scenes: The GIL and Its Effects on Python Multithreading #492 – SEPTEMBER 28, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Python Behind the Scenes: The GIL and Its Effects on

Structural Pattern Matching, Generator Expressions, Python Steps Forward, and More

Tuesday, September 21, 2021

Structural Pattern Matching in Python 3.10 #491 – SEPTEMBER 21, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Structural Pattern Matching in Python 3.10 “Python 3.10, which is due out in early

Practical PEP 8, Logging Best Practices, "async for", and More

Tuesday, September 14, 2021

Applying PEP 8 in Practice #490 – SEPTEMBER 14, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Applying PEP 8 in Practice “Two recent threads on the python-ideas mailing list have overlapped to a

You Might Also Like

Ranked | The Most Satisfying vs. Most Reliable Car Brands in 2024 🚙

Monday, December 23, 2024

The most reliable car brands are rarely the most satisfying to own, according to recent Consumer Reports survey data. View Online | Subscribe | Download Our App Presented by: Find the megatrends

Bitcoin Enthusiasts Are Letting Altcoins Pass by

Monday, December 23, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 23, 2024? The

Last Minute Gifts from Walmart

Monday, December 23, 2024

ZDNET ZDNET Sponsored Message In Partnership with Walmart December 23, 2024 exclusive offer Walmart Last-minute gifts from Walmart Shop Now Walmart The tech you've been wishing for–at everyday low

15 ways AI saved me weeks of work in 2024

Monday, December 23, 2024

ZDNET's product of the year; Windows 11 24H2 bug list updated -- ZDNET ZDNET Tech Today - US December 23, 2024 AI applications on various devices. 15 surprising ways I used AI to save me weeks of

Distributed Locking: A Practical Guide

Monday, December 23, 2024

If you're wondering how and when distributed locking can be useful, here's the practical guide. I explained why distributed locking is needed in real-world scenarios. Explored how popular tools

⚡ THN Weekly Recap: Top Cybersecurity Threats, Tools and Tips

Monday, December 23, 2024

Your one-stop-source for last week's top cybersecurity headlines. The Hacker News THN Weekly Recap The online world never takes a break, and this week shows why. From ransomware creators being

⚙️ OpenA(G)I?

Monday, December 23, 2024

Plus: The Genesis Project ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 12/23/2024

Monday, December 23, 2024

New blogs from Syncfusion Introducing the New WinUI Kanban Board By Karthick Mani This blog explains the features of the new Syncfusion WinUI Kanban Board control introduced in the 2024 Volume 4

Import AI 395: AI and energy demand; distributed training via DeMo; and Phi-4

Monday, December 23, 2024

What might fighting for freedom in an AI age look like? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

LockBit Ransomware Developer Charged for Billions in Global Damages

Monday, December 23, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest