Code Review DoctorYou 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…4 min read·Aug 9, 2022----
Code Review DoctorSmashing Python tech debt with PolymorphismPolymorphism is a pillar of Object Oriented Programming. OOP underpins modern software development in many industries. This article will…7 min read·Aug 5, 2022--1--1
Code Review Doctor3 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…3 min read·Aug 3, 2022--1--1
Code Review DoctorSemVer 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…6 min read·Aug 2, 2022----
Code Review DoctorinDev 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…4 min read·Aug 1, 2022--1--1
Code Review Doctor10% 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…8 min read·Apr 25, 2022----
Code Review DoctorinSystem 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…3 min read·Apr 13, 2022----
Code Review DoctorHacking 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:3 min read·Mar 3, 2022----
Code Review Doctor5 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:5 min read·Feb 21, 2022----
Code Review Doctor3% of 666 Python codebases we checked had a silently failing unit testLets coin a name for a very special type of unit test:4 min read·Feb 16, 2022----