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