| 1 |
# Contributing to numpy |
| 2 |
|
| 3 |
## Reporting issues |
| 4 |
|
| 5 |
When reporting issues please include as much detail as possible about your |
| 6 |
operating system, numpy version and python version. Whenever possible, please |
| 7 |
also include a brief, self-contained code example that demonstrates the problem. |
| 8 |
|
| 9 |
If you are reporting a segfault please include a GDB traceback, which you can |
| 10 |
generate by following |
| 11 |
[these instructions.](https://github.com/numpy/numpy/blob/main/doc/source/dev/development_environment.rst#debugging) |
| 12 |
|
| 13 |
## Contributing code |
| 14 |
|
| 15 |
Thanks for your interest in contributing code to numpy! |
| 16 |
|
| 17 |
+ If this is your first time contributing to a project on GitHub, please read |
| 18 |
through our |
| 19 |
[guide to contributing to numpy](https://numpy.org/devdocs/dev/index.html) |
| 20 |
+ If you have contributed to other projects on GitHub you can go straight to our |
| 21 |
[development workflow](https://numpy.org/devdocs/dev/development_workflow.html) |
| 22 |
|
| 23 |
Either way, please be sure to follow our |
| 24 |
[convention for commit messages](https://numpy.org/devdocs/dev/development_workflow.html#writing-the-commit-message). |
| 25 |
|
| 26 |
If you are writing new C code, please follow the style described in |
| 27 |
``doc/C_STYLE_GUIDE``. |
| 28 |
|
| 29 |
Suggested ways to work on your development version (compile and run |
| 30 |
the tests without interfering with system packages) are described in |
| 31 |
``doc/source/dev/development_environment.rst``. |
| 32 |
|
| 33 |
### A note on feature enhancements/API changes |
| 34 |
|
| 35 |
If you are interested in adding a new feature to NumPy, consider |
| 36 |
submitting your feature proposal to the [mailing list][mail], |
| 37 |
which is the preferred forum for discussing new features and |
| 38 |
API changes. |
| 39 |
|
| 40 |
[mail]: https://mail.python.org/mailman/listinfo/numpy-discussion |