summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorMark Wiebe <mwiebe@enthought.com>2011-06-17 11:46:12 -0500
committerMark Wiebe <mwiebe@enthought.com>2011-06-17 11:46:12 -0500
commitcb45456d046f86d009e1a4dbdc73d893be6b3ce6 (patch)
tree48b12998417cf705d0cdd099f7342595cc5c7efe /numpy/add_newdocs.py
parentc15a807e7f731a8f4205805034416ca0e3e791b1 (diff)
downloadnumpy-cb45456d046f86d009e1a4dbdc73d893be6b3ce6.tar.gz
ENH: datetime-meta: Remove 'events' from the datetime metadata
The events don't fit well within the datetime, causing many special cases and complicating the datetime code. A better way to proceed, which received approval from Travis with regard to the reason events were introduced in the first place, is to do the following: * Generalize the structured arrays so they work with ufuncs * Either use NPY_UBYTE, or introduce a new integer modulo N type * The structured dtype [('date', 'M8[D]'), ('event', 'u8')], then will operate identically to the design of events in datetime. These other changes will have much use elsewhere as well.
Diffstat (limited to 'numpy/add_newdocs.py')
0 files changed, 0 insertions, 0 deletions