Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scapy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
external
scapy
Commits
db9615b1
Commit
db9615b1
authored
7 years ago
by
gpotter2
Committed by
Guillaume Valadon
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Contributing notes
parent
bb2df990
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CONTRIBUTING.md
+4
-0
4 additions, 0 deletions
CONTRIBUTING.md
with
4 additions
and
0 deletions
CONTRIBUTING.md
+
4
−
0
View file @
db9615b1
...
@@ -121,6 +121,10 @@ The project aims to provide code that works both on Python 2 and Python 3. There
...
@@ -121,6 +121,10 @@ The project aims to provide code that works both on Python 2 and Python 3. There
-
use scapy.modules.six.range instead of xrange and range
-
use scapy.modules.six.range instead of xrange and range
-
use scapy.modules.six.itervalues(dict) instead of dict.values() or dict.itervalues()
-
use scapy.modules.six.itervalues(dict) instead of dict.values() or dict.itervalues()
-
use scapy.modules.six.string_types instead of basestring
-
use scapy.modules.six.string_types instead of basestring
-
`__bool__ = __nonzero__`
must be used when declaring
`__nonzero__`
methods
-
`io.BytesIO`
must be used instead of
`StringIO`
when using bytes
-
`__cmp__`
must not be used.
-
UserDict should be imported via
`six.UserDict`
### Code review
### Code review
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment