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

Re: Tomorrow's Password Class: How to sign up!

Thursday, February 27, 2025

Hi there, Do you reuse passwords? Do you struggle to remember unique passwords across accounts? Have you tried setting up a password manager but found it to be a hassle? You might not realize how

Documenting Event-Driven Architecture with EventCatalog and David Boyne

Thursday, February 27, 2025

If you're wondering on how to document Event-Driven Architecture, or you don't know that you should, I have something for you. We discussed with David Boyne, why data governance practices and

wpmail.me issue#708

Thursday, February 27, 2025

wpMail.me wpmail.me issue#708 - The weekly WordPress newsletter. No spam, no nonsense. - February 27, 2025 Is this email not displaying correctly? View it in your browser. News & Articles Shaping

Hackers stole 1Password logins - here's how

Thursday, February 27, 2025

Amazon AI races ahead; Research agents; Smartwatch trade-in -- ZDNET ZDNET Tech Today - US February 27, 2025 thief stealing passwords Hackers stole this engineer's 1Password database. Could it

New Golang-Based Backdoor Uses Telegram Bot API for Evasive C2 Operations

Thursday, February 27, 2025

THN Daily Updates Newsletter cover ⚡ LIVE WEBINAR ➟ Building Resilient Identity: Reducing Security Debt in 2025 Attacks Evolve, So Can Your Defenses--Learn How to Mitigate Risk and Optimize Identity

Reminder: What developer productivity metrics actually measure

Thursday, February 27, 2025

You are receiving this email because you subscribed to microservices.io. Considering migrating a monolith to microservices? Struggling with the microservice architecture? I can help: architecture

⚡ THN Weekly Recap: Google Secrets Stolen, Windows Hack, New Crypto Scams & More

Thursday, February 27, 2025

From Google espionage to crypto scams, this week's Cyber Recap uncovers it all—read more now ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

Guest-post: Open-source Python Development Landscape

Thursday, February 27, 2025

30 must-know tools for Python development ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

⚙️ IBM's AI can reason, now

Thursday, February 27, 2025

Plus: A bit of AI legislation ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 02/17/2025

Thursday, February 27, 2025

New blogs from Syncfusion ® How to Add a Context Menu to .NET MAUI ListView? By Jayaleshwari N This blog explains how to implement a context menu in the .NET MAUI ListView control with code examples.