This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kernc
Recipients docs@python, kernc
Date 2016-02-06.16:16:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454775410.48.0.717673977371.issue26303@psf.upfronthosting.co.za>
In-reply-to
Content
The use case is not unpopular [1] and with unambiguous examples like

    >>> arr = np.arange(5)
    >>> my_sum(arr)
    10

(i.e., without importing numpy as np everywhere), it also makes a lot of sense.


[1]: http://stackoverflow.com/questions/13106118/object-reuse-in-python-doctest/35242443
History
Date User Action Args
2016-02-06 16:16:50kerncsetrecipients: + kernc, docs@python
2016-02-06 16:16:50kerncsetmessageid: <1454775410.48.0.717673977371.issue26303@psf.upfronthosting.co.za>
2016-02-06 16:16:50kernclinkissue26303 messages
2016-02-06 16:16:50kernccreate