You might be using assert wrongAssert is often used in production code as a form of data validation check or sanity testing. You may have seen code bases that contain…Aug 9, 2022Aug 9, 2022
Smashing Python tech debt with PolymorphismPolymorphism is a pillar of Object Oriented Programming. OOP underpins modern software development in many industries. This article will…Aug 5, 20221Aug 5, 20221
3 awesome Django 4.1 changes (1 is a logout deprecation you need to know about)Django is an open-source web application framework for Python. With Django 4.1 release we get some long-awaited improvements such as async…Aug 3, 20221Aug 3, 20221
SemVer might not be right for youMethodical release of software is a crucial part of the development lifecycle. After the hard work producing the software it would be a…Aug 2, 2022Aug 2, 2022
Published inDev GeniusWhen Python old style string formatting is best practiceString formatting in Python 2 utilized the % modulo operator. Python 3 was released in 2008 which included an alternatives to formatting…Aug 1, 20221Aug 1, 20221
10% of the 666 most popular Python GitHub repos have this f-string bugWe fixed the problems we found in 68 of the most popular open source Python repositories — repositories you probably know and might even…Apr 25, 2022Apr 25, 2022
Published inSystem WeaknessHacking websites: session hijacking with XSS (and how to protect your Django website)One vulnerability builds on top of another: a bad actor can perform a series of attacks on your website that starts as a simple XSS attack…Apr 13, 2022Apr 13, 2022
Hacking Django: steal passwords and cookies using packet sniffingPacket sniffing can be used to steal passwords from insecure Django websites. Here’s a demo of such an attack:Mar 3, 2022Mar 3, 2022
5 percent of the 420 python codebases we checked silently skipped tests (so we fixed them)Duplicate names for tests in the same scope results in some of the tests being skipped:Feb 21, 2022Feb 21, 2022
3% of 666 Python codebases we checked had a silently failing unit testLets coin a name for a very special type of unit test:Feb 16, 2022Feb 16, 2022