<commit_before>``array.fill(scalar)`` may behave slightly different
----------------------------------------------------
`~numpy.ndarray.fill` may in some cases behave slightly different
now due to the fact that the logic is aligned with item assignment::

    arr = np.array([1])  # with any dtype/value
    arr.fill(scalar)
    # is now identical to:
    arr[0] = scalar

When previously, effectively ``arr.fill(np.asarray(scalar))`` was used
in many cases.
The typical possible change is that errors will be given for example for
``np.array([0]).fill(1e300)`` or ``np.array([0]).fill(np.nan)``.
Previously, ``arr.fill()`` would unpack 0-D object arrays if the input
array was also of object dtype, the 0-D array will now be stored as is::

    >>> arr = np.array([0], dtype=object)
    >>> arr.fill(np.array(None, dtype=object))
    >>> arr
    array([array(None, dtype=object)], dtype=object)

Rather than ``array([None], dtype=object)``.<commit_msg>DOC: Shorten release note about `arr.fill()` change<commit_after>``array.fill(scalar)`` may behave slightly different
----------------------------------------------------
`~numpy.ndarray.fill` may in some cases behave slightly different
now due to the fact that the logic is aligned with item assignment::

    arr = np.array([1])  # with any dtype/value
    arr.fill(scalar)
    # is now identical to:
    arr[0] = scalar

Previously casting may have produced slightly different answers when using values that could not be represented in the target `dtype` or when using `object`s.
{'fraction_non_alphanumeric': 0.18098958333333334, 'fraction_numerical': 0.008463541666666666, 'mean_word_length': 3.131720430107527, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4148297', 'n_tokens_mistral': 428, 'n_tokens_neox': 413, 'n_words': 168}