I compared execution time of code - which included CPU & I/O bound scripts and a WSGI app using the default and free-threaded Python 3.14 interpreters. This...
I created a Python project recently to test out Junie - the new AI coding agent from JetBrains. This led to the creation of Pyzlides, a Python library that...
I attended Pycon US in Pittsburgh - This was my first in-person Pycon US. At this PyCon, I decided to try something different. I skipped most of the talks and...
My first tutorial for Real Python got published ๐ "Python Thread Safety: Using a Lock and Other Techniques": https://realpython.com/python-thread-lock/ Why...
Since threads in Python share the memory space of their parent process, we might need to define thread-specific variables for specific use cases to avoid...
In Python, the sort method and the sorted callable are commonly used for sorting operations. sort is a list method which modifies the list in-place, whereas...
The partition method of str covers a niche use case - It is useful when a string needs to be split into exactly two parts based on a separator. It returns a...
TIL - "Today I learned" series of Posts are short notes of new things I encounter with Python. While browsing the source of SQLAlchemy, I came across a custom...
This is my account of meeting Guido Van Rossum and his advice on becoming a Python Core Developer. This interaction is a few months old and happened during...
Thread Safety in Python Before getting started with Thread safety, let's look into race conditions. Race Conditions From Wikipedia: A race condition or race...