Code Review Doctor·Aug 9, 2022You 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…
Code Review Doctor·Aug 5, 2022Smashing Python tech debt with PolymorphismPolymorphism is a pillar of Object Oriented Programming. OOP underpins modern software development in many industries. This article will…A response icon1A response icon1
Code Review Doctor·Aug 3, 20223 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…A response icon1A response icon1
Code Review Doctor·Aug 2, 2022SemVer 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…
InDev GeniusbyCode Review Doctor·Aug 1, 2022When 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…A response icon1A response icon1
Code Review Doctor·Apr 25, 202210% 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…
InSystem WeaknessbyCode Review Doctor·Apr 13, 2022Hacking 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…
Code Review Doctor·Mar 3, 2022Hacking 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:
Code Review Doctor·Feb 21, 20225 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:
Code Review Doctor·Feb 16, 20223% of 666 Python codebases we checked had a silently failing unit testLets coin a name for a very special type of unit test: