Python Integers Deep Dive, Friendly Tracebacks, Property-Based Testing, and More

#459 – FEBRUARY 9, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
How Python Integers Work
Python’s integer datatype is pretty different from most other languages because they allow arbitrary precision. Learn how integers work under the hood in this in-depth article.
VICTOR

Python’s Tug of War Between Beginner-Friendly Features and Support for Advanced Users
Python has made some big improvements to tracebacks in recent versions. See how tracebacks have evolved over the last couple of major releases and where there’s still some work left to be done. Check out the discussion on Hacker News.
ANDRÉ ROBERGE

Spend Less Time Debugging and More Time Building with Scout APM
Scout APM uses tracing logic to tie bottlenecks to source code to help developers identify and resolve performance issues. At only $39/month, Scout provides the insights you need in just 4 min! Start your free 14-day trial today and we’ll donate $5 to the OSS project of your choice when you deploy →
SCOUT APMsponsor

Implementing C++ Virtual Functions in Cython
Learn how one team created Python bindings for a C++ library by implementing virtual functions in Cython. This article is a follow-up to an article we featured last year.
JUAN DIEGO CABALLERO • Shared by JDC

Property-Based Testing With hypothesis, and Associated Use Cases
Testing software is hard. Property-based testing can help you create more effective tests. Learn how to do property-based testing with the hypothesis framework by looking at some real-world use cases.
YING WANG

Python Steering Council Accepts PEP 634
Pattern matching, which adds a kind of switch-case statement to Python, has been accepted.
PYTHON.ORG

Managing Python Dependencies With Pip and Virtualenv
Get up to speed with Python dependency management quickly and go from “writing scripts” to “building applications” with this complete course.
REAL PYTHON course


Discussions


Inline Caching in Python Is a Success
“In 3.9, access to builtins and globals had sped-up considerably. In 3.10, regular attribute access and access to __slots__ are also faster. Most everyday Python programs will benefit. This is a huge win.”
RAYMOND HETTINGER


Python Jobs


How Strong Is Your Resume?sponsor
Get a free, confidential review from a resume expert →

Senior Backend Developer (Berlin, Germany)
ORDERBIRD AG

Advanced Python Engineer (Newport Beach, CA, USA)
RESEARCH AFFILIATES

Senior Python Engineer (Remote)
EAB

Web Developer (Berlin, Germany)
DER FREITAG MEDIENGESELLSCHAFT MBH & CO. KG

More Python Jobs >>>


Articles & Tutorials


Homebrew Python Is Not For You
Installing Python on macOS with Homebrew is pretty easy, but it comes with some quirks that might not make it the best choice for your development environment. Learn why you might not want to install Python this way and how to fix some common issues you might encounter with Homebrew.
JUSTIN MAYER opinion

C for Python Developers and Data Visualization With Dash
Are you interested in building interactive dashboards with Python? How about a project that takes a flat data file all the way to a web-hosted interactive dashboard? This week on the show, David Amos is back, and he’s brought another batch of PyCoder’s Weekly articles and projects.
REAL PYTHON podcast

Performance is a Feature, Test it as Such
Test performance in CI/CD. Validate production deploys. Blackfire offers a robust way to run test scenarios and validate code changes, automatically. Discover Blackfire for free for 15 days →
BLACKFIREsponsor

All Pythons Are Slow, but Some Are Faster Than Others
Python is not the fastest language around, so any performance boost helps, especially if you’re running at scale. It turns out that depending where you install Python from, its performance can vary quite a bit: choosing the wrong version of Python can cut your speed by 10-20%.
ITAMAR TURNER-TRAURING

How to Speed Up Scikit-Learn Model Training
Sometimes scikit-learn models can take a long time to train. In this article, you’ll explore three approaches to optimizing the model training process.
MICHAEL GALARNYK • Shared by Michael Galarnyk

Python Inner Functions: What Are They Good For?
Learn what inner functions are in Python, how to define them, and what their main use cases are.
REAL PYTHON

Get Started with Distributed Tracing in Python and Django Using OpenTelemetry
Learn how to get instrumented with OpenTelemetry in under 10 minutes, common distributed tracing use cases, and why tracing is the foundation for observability.
LIGHTSTEPsponsor

How to Build a Discord Bot in Python on Ubuntu 20.04
Learn how to build a Discord bot and host it on the DigitalOcean platform.
MASON EGGER • Shared by Mason Egger

Qt Designer and Python: Build Your GUI Applications Faster
Learn how to use Qt Designer to create GUIs from your windows and dialogs and use them in your Python applications.
REAL PYTHON


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 →

archivy: Self-Hosted Knowledge Repository
GITHUB.COM/ARCHIVY

reloadr: Hot Code Reloading Tool for Python
GITHUB.COM/HOH

django-unicorn: A Magical Full-Stack Framework for Django
GITHUB.COM/ADAMGHILL

watchpoints: An Easy to Use Watchpoints Equivalent Library for Python
GITHUB.COM/GAOGAOTIANTIAN • Shared by Tian Gao

PipeLayer: Python Library for Creating Pipelines
GITHUB.COM/GREATER-THAN • Shared by Andrew Benson

📆🐍 Upcoming Python Events


⋅ Real Python Office Hours (Virtual) February 10, 2020

⋅ PyCascades 2021 (Virtual) February 19 – 21, 2021

⋅ PyCon 2021 (Virtual) May 12 – 18, 2021

⋅ DjangoCon Europe 2021 June 2 – 6, 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

pandas Memory Explosions, Python Performance, a Case Against OOP, and More

Tuesday, February 2, 2021

Finding and Fixing an Unexpected Memory Explosion in Pandas #458 – FEBRUARY 2, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Finding and Fixing an Unexpected Memory Explosion in Pandas Storing

Automating Excel, Tracing the Python GIL, Python for Non-Developers, and More

Tuesday, January 19, 2021

Automating Excel File Creation and Distribution With Pandas And Outlook #456 – JANUARY 19, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Automating Excel File Creation and Distribution With Pandas

Pythonic Exercises, FastAPI App Structure, Data Visualization With Dash, and More

Tuesday, January 12, 2021

Advent of Code 2020 "Pytudes" #455 – JANUARY 12, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Advent of Code 2020 “Pytudes” Google researcher Peter Norvig goes through a suite of short

Ditching Excel for Python, How Python Attributes Work, IP Addresses in Python, and More

Tuesday, January 5, 2021

Ditching Excel for Python: Lessons Learned From a Legacy Industry #454 – JANUARY 5, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Ditching Excel for Python: Lessons Learned From a Legacy Industry

10 Million Jupyter Notebooks, Python on GPUs, Unravelling Boolean Operators, and More

Tuesday, December 29, 2020

Accelerating Python on GPUs With `nvc++` and Cython #453 – DECEMBER 29, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Accelerating Python on GPUs With nvc++ and Cython Python on GPUs has become a

You Might Also Like

Daily Coding Problem: Problem #1646 [Medium]

Monday, December 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Write a function that rotates a list by k elements. For example, [1, 2, 3, 4,

GCP Newsletter #430

Monday, December 23, 2024

Welcome to issue #430 December 23rd, 2024 News Event Official Blog Calling all devs: Code the future of baseball with Google Cloud and MLB - Google Cloud and MLB are hosting a hackathon where

⏯️ Make a Holiday Guest Profile for Your Streaming Services — What Is Linux Mint?

Monday, December 23, 2024

Also: I Played the Worst Mobile Games So You Don't Have To, and More! How-To Geek Logo December 23, 2024 Did You Know The giant splashes of color that make poinsettias a popular holiday decoration

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 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌