From 79675aa625e010fee44a6d7cb3a2dd316af3a627 Mon Sep 17 00:00:00 2001 From: gpotter2 Date: Wed, 22 Mar 2017 17:40:33 +0100 Subject: [PATCH] Added doc in CONTRIBUTING --- CONTRIBUTING.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2522474fb..a1613ceed 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -110,6 +110,11 @@ parsed from a string (during a network capture or a PCAP file read). Adding inefficient code here will have a disastrous effect on Scapy's performances. +### Python 2 and 3 compatibility + +The project aims to provide code that works both on Python 2 and Python 3. Therefore, some rules need to be apply to achieve compatibility: +- byte-string must be defined as b"\x00\x01\x02" + ### Code review Maintainers tend to be picky, and you might feel frustrated that your