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

💎 Issue 414 - From a Lorry Driver to Ruby on Rails Developer at 38

Thursday, April 25, 2024

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

💻 Issue 414 - JavaScript Features That Most Developers Don’t Know

Thursday, April 25, 2024

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

💻 Issue 407 - The Performance Impact of C++'s `final` Keyword

Thursday, April 25, 2024

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

💻 Issue 414 - Everyone Has JavaScript, Right?

Thursday, April 25, 2024

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

📱 Issue 408 - All web browsers on iOS are just Safari with different design

Thursday, April 25, 2024

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

💧 Don't Bother Liquid Cooling Your AMD CPU — Why You Should Keep Using Live Photos on iPhone

Thursday, April 25, 2024

Also: We review the Unistellar Odyssey iPhone Telescope, and More! How-To Geek Logo April 25, 2024 Did You Know Charles Darwin and Abraham Lincoln were both born on the same day: February 12, 1809. 💻

💻 Issue 332 - 🥇The first framework that lets you visualize your React/NodeJS app 🤯

Thursday, April 25, 2024

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

💻 Issue 409 - Sized, DynSized, and Unsized by Niko Matsakis

Thursday, April 25, 2024

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

📱 Issue 411 - AI Starts to Sift Through String Theory's Near-Endless Possibilities

Thursday, April 25, 2024

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

Upgrade Your Git Game, Visual Studio Getting 'Command Palette,' Python/Java in VS Code, .NET 9 Preview, More

Thursday, April 25, 2024

Home | News | How To | Webcasts | Whitepapers | Advertise .NET Insight April 25, 2024 THIS ISSUE SPONSORED BY: ■ dtSearch® - INSTANTLY SEARCH TERABYTES Upgrade Your Git Game in Visual Studio 2022