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

SBF gets 25 years 

Thursday, March 28, 2024

Sam Bankman-Fried is sentenced View this email online in your browser By Christine Hall Thursday, March 28, 2024 Welcome back to TechCrunch PM! The editorial team spent a chunk of the day discussing

💎 Issue 410 - Being laid off in 2023-2024 as an early-career developer

Thursday, March 28, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 410 Release Date Mar 28, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 403 - Microsoft defends .NET 9 features competing with open source ecosystem

Thursday, March 28, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 403 Release Date Mar 28, 2024 Your weekly report of the most popular .NET news, articles and projects

💻 Issue 410 - Node.js TSC Confirms: No Intention to Remove npm from Distribution

Thursday, March 28, 2024

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 410 Release Date Mar 28, 2024 Your weekly report of the most popular Node.js news, articles and

💻 Issue 410 - JSDoc as an alternative TypeScript syntax

Thursday, March 28, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 410 Release Date Mar 28, 2024 Your weekly report of the most popular JavaScript news, articles

📱 Issue 404 - Dependency Injection for Modern Swift Applications Part II

Thursday, March 28, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 404 Release Date Mar 28, 2024 Your weekly report of the most popular iOS news, articles and projects Popular

💻 Issue 328 - My new open-source repository to schedule all your content!

Thursday, March 28, 2024

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 328 Release Date Mar 28, 2024 Your weekly report of the most popular React news, articles and projects

📱 Issue 407 - Apple just announced WWDC24. The keynote for WWDC24 will be held on Monday, June 10th.

Thursday, March 28, 2024

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 407 Release Date Mar 28, 2024 Your weekly report of the most popular Swift news, articles and projects

💻 Issue 405 - 2024 Edition Update

Thursday, March 28, 2024

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 405 Release Date Mar 28, 2024 Your weekly report of the most popular Rust news, articles and projects

🤖 What to Expect From Google I/O 2024 — How to Stop Apps From Leaking Your Data

Thursday, March 28, 2024

Also: The Best Camera Straps of 2024, and More! How-To Geek Logo March 28, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by