BUG: use the PyUString_FromString macro for Py3 compat instead.
DOC: update bento docs (close #2993).
BUG: numpydoc/linkcode: do not detect linkcode config changes

Since the linkcode_resolve is a function, it triggers configuration
change on each rebuild, resulting to full rebuild always. It's better
to make it not do that.
DOC: numpydoc/linkcode: mention that the extension will be in Sphinx upstream
ENH: numpydoc: deal with duplicated signatures
ENH: numpydoc: Python 2 & 3 in single codebase, restructure as a package
MAINT: always use plot directive from Matplotlib, and prefer Sphinx linkcode
TST: numpydoc: add stub test files, to check that files at least import
BUG: numpydoc: fix bugs in attribute docstring extraction + improve presentation
TST: numpydoc: more class tests
BUG: numpydoc: check that it works with sub-classes
Update numpy/lib/function_base.py

fix percentile docstring
Merge pull request #2996 from andreas-h/patch-1

Update numpy/lib/function_base.py
BUG: Fix regression of bad error/random behavior in item method

Appearently .item() for arrays with size != 1 correctly returned an error
in 1.6., but failed to raise the error (due to missing return) in 1.7.
Merge pull request #3006 from seberg/fix-empty-item

BUG: Fix regression of bad error/random behavior in item method
Added 'subok' keyword documentation to zeros_like and ones_like
functions.
Merge pull request #3009 from daveydave400/fix_zeros_like_doc

Added 'subok' keyword documentation to zeros_like and ones_like functions.
BUG: Incref items in np.take on error as they are decrefed later

When take fails during copying due to out of bound indices, then the already
copied items will be decref'd on array destruction. To avoid that, as well
as possible overlapping or already initialized object arrays, decref and
incref during the copy operation itself. Note that all basic types but
object use their own fasttake, so this does not change anything for them.
TST: Add test for np.take refcounting

Also make the testcase for take a class.
BUG: non-empty takes on empty axes failed for clip/wrap logic

These did no checking for this special case. And thus, wrap would go
into infinite loops trying to adjust the index, and clip would (probably)
segfault. This raises IndexError explicitely beforehand.