{"action":"created","issue":{"url":"https://api.github.com/repos/numpy/numpy/issues/11521","repository_url":"https://api.github.com/repos/numpy/numpy","labels_url":"https://api.github.com/repos/numpy/numpy/issues/11521/labels{/name}","comments_url":"https://api.github.com/repos/numpy/numpy/issues/11521/comments","events_url":"https://api.github.com/repos/numpy/numpy/issues/11521/events","html_url":"https://github.com/numpy/numpy/issues/11521","id":339074410,"node_id":"MDU6SXNzdWUzMzkwNzQ0MTA=","number":11521,"title":"DEP: deprecate python code with DeprecationWarning (tracking issue)","user":{"login":"mattip","id":823911,"node_id":"MDQ6VXNlcjgyMzkxMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/823911?v=4","gravatar_id":"","url":"https://api.github.com/users/mattip","html_url":"https://github.com/mattip","followers_url":"https://api.github.com/users/mattip/followers","following_url":"https://api.github.com/users/mattip/following{/other_user}","gists_url":"https://api.github.com/users/mattip/gists{/gist_id}","starred_url":"https://api.github.com/users/mattip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattip/subscriptions","organizations_url":"https://api.github.com/users/mattip/orgs","repos_url":"https://api.github.com/users/mattip/repos","events_url":"https://api.github.com/users/mattip/events{/privacy}","received_events_url":"https://api.github.com/users/mattip/received_events","type":"User","site_admin":false},"labels":[{"id":36825825,"node_id":"MDU6TGFiZWwzNjgyNTgyNQ==","url":"https://api.github.com/repos/numpy/numpy/labels/03%20-%20Maintenance","name":"03 - Maintenance","color":"fef2c0","default":false},{"id":81498520,"node_id":"MDU6TGFiZWw4MTQ5ODUyMA==","url":"https://api.github.com/repos/numpy/numpy/labels/06%20-%20Deprecation","name":"06 - Deprecation","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/numpy/numpy/milestones/58","html_url":"https://github.com/numpy/numpy/milestone/58","labels_url":"https://api.github.com/repos/numpy/numpy/milestones/58/labels","id":3353003,"node_id":"MDk6TWlsZXN0b25lMzM1MzAwMw==","number":58,"title":"1.16.0 release","description":"","creator":{"login":"charris","id":77272,"node_id":"MDQ6VXNlcjc3Mjcy","avatar_url":"https://avatars3.githubusercontent.com/u/77272?v=4","gravatar_id":"","url":"https://api.github.com/users/charris","html_url":"https://github.com/charris","followers_url":"https://api.github.com/users/charris/followers","following_url":"https://api.github.com/users/charris/following{/other_user}","gists_url":"https://api.github.com/users/charris/gists{/gist_id}","starred_url":"https://api.github.com/users/charris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charris/subscriptions","organizations_url":"https://api.github.com/users/charris/orgs","repos_url":"https://api.github.com/users/charris/repos","events_url":"https://api.github.com/users/charris/events{/privacy}","received_events_url":"https://api.github.com/users/charris/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":21,"state":"open","created_at":"2018-05-16T21:13:27Z","updated_at":"2018-08-02T16:00:32Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-07-06T21:19:21Z","updated_at":"2018-08-02T16:01:01Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"A tracking issue of features with `DeprecationWarning`. I may have missed some, this is accurate for the last date it was updated.\r\n\r\nIn python code\r\n\r\nversion | date | feature deprecated | notes\r\n-----|----------|----------|-----------\r\n|  | 2008-11-16 | `distutils.command.config.get_output`\r\n1.8 | 2013-04-01 | `linalg.qr` `full` or `economic`\r\n1.9 | 2014-04-12 | `np.rank`, `np.ma.rank` | use `np.ndim` or `np.linalg.matrix_rank`\r\n1.9 | 2014-02-24 | `np.select([])` and `np.select(a)` where `a.dtype` is integer-type\r\n1.9 | 2013-09-24 | `np.delete(scalar)`, `np.delete(arr, obj)` where `obj.dtype` is not integer-type or `obj` has out-of-bound indices. Same for `np.insert`\r\n1.10 |  2014-10-29 | `_import_tools.PackageLoader` \r\n1.10 | 2014-10-15 | `utils.SafeEval` \r\n1.10 | 2015-03-15 | `np.corrcoef` or `np.ma.corrcoef` with `bias` or `ddof`\r\n1.11 | ?? | `np.testing.rand`\r\n1.12 | 2016-02-25 | use `int` not `operation.index` | implemented in `function_base._index_deprecate`\r\n1.13 | 2017-05-17 | `np.newaxis` with `axis>ndim` or `axis< -ndim -1`\r\n1.13 | 2016-04-13 | `np.ma.mini`\r\n1.13 | 2016-04-13 | `np.ma.max(a)`, `np.ma.min(a)` | prefer `np.ma.max(a).reduce`\r\n1.13 | 2017-04-26 | using `y` in the func passed to `ufunclike` | use `out` kwarg instead\r\n1.14  | 11-9-2017  | `arrayprint.array2string( style!=np_NoValue)` | unless `options[legacy]=='1.13'`\r\n1.15 | 2018-02-25 | `np.sum(generator)` in `fromnumeric` | prefer `sum(generator)` or `np.sum(np.fromiter(generator))`\r\n1.15 | 2017-12-10 | `numeric.loads`, `numeric.load`, `np.ma.dump`, `np.ma.dumps`, `np.ma.load`, np.ma.loads` |prefer `pickle` methods\r\n1.15 | 2018-04-04 | `umath_tests` | internal module\r\n1.15 | 2018-06-13 | `np.histogram` with various `normed` | actually deprecated in 1.6, but no warning was raised\r\n1.15 | 2018-02-20 | `NpzFile.iteritems`, `NpzFile.iterkeys`\r\n?? | ?? | `arrayprint.FloatFormat` | prefer `FloatingFormat`\r\n?? | ?? | `arrayprint.LongFloatFormat` | prefer `FloatingFormat`\r\n?? | ?? | `arrayprint.ComplexFormat` | prefer `ComplexFloatingFormat`\r\n?? | ?? | `arrayprint.LongComplexFormat` | prefer `ComplexFloatingFormat`\r\n?? | ?? | `arrayprint.StructureFormat` | prefer `StructureVoidFormat`\r\n?? | ?? | insufficient bit width in `numeric.binary_repr`\r\n?? | ?? | `genfromtext(txt, encoder=bytes)` where txt has unicode codepoints\r\n?? | ?? | `np.matrix`\r\n?? | ?? | `np.unique' | prefer `np.lib.arraysetops.unique`\r\n\r\nThe `deprecate` decorator is used only for `np.unique` and `np.testing.random`, perhaps we should deprecate it too.\r\n\r\nIn C code (via the `DEPRECATE` macro or `DeprecateWarning`)\r\n\r\nversion | date | feature deprecated | notes\r\n-----|----------|----------|-----------\r\n1.5 | 2008-07-14 | `PyArray_As1D`, `PyArray_As2D` | prefer `PyArray_AsCArray`\r\n1.9 | 2009-04-30 | `PyArray_FromDimsAndDataAndDescr` | prefer `PyArray_NewFromDescr`\r\n1.9 | 2009-04-30 | `PyArray_FromDims` | prefer `PyArray_SimpleNew`\r\n1.10 | 2015-05-07 | `elementwise ==` for `array_richcompare` and `void` dtype or `flexible` dtype\r\n1.12 | 2016-19-02 | `array_data_set`\r\n1.11 | 2015-12-14 | `PyArray_OrderConverter(s)` when s is not bytes or unicode char\r\n1.11 | 2015-11-27 | `array_descr_set` when f-contiguous and not c-contiguous\r\n1.14 | 2017-08-11 | `convert_datetime_metadata_tuple_to_datetime_metadata(tup)` where `tup` is `unit`, `num`, `event`) or ('unit`', `num`, `event', `dem`) | prefer (`unit`, `num`) or (`unit`, `num`, `None`, `dem`), event ignored since 1.7 but no warning was raised\r\n1.14 | 2016-01-14 | `convert_pydatetime_to_datetimestruc` or `parse_iso_8601_datetime` with a timezone\r\n1.14 | 2017-11-10 |  using the `NPY_ARRAY_UPDATEIFCOPY` flag in array construction | prefer `NPY_ARRAY_WRITEBACKIFCOPY`\r\n1.12 | 2012-02-04 | `PyArray_TypestrConvert` with `'O4'` or `'O8'` | use `'O'`\r\n1.13 | 2017-05-04 | `PyArray_Conjugate` for non-numeric dtype\r\n1.14 | 2017-06-01 | `array_bincnt(minlength=None)` | use 0 instead of None\r\n1.14 | 2017-10-19 | `array_from_string` with binary mode\r\n1.14 | 2017-09-25 | `_array_non_zero(a)` when a is an empty array\r\n1.15 | 2018-4-21 | `PyArray_SetUpdateIfCopyBase` | prefer `PyArray_SetWritebackIfCopyBase`\r\n?? | ?? | python2 division between two ints without `//`\r\n?? | ?? | np.random.random.integer (in `mtrand.pyx`)\r\n?? | ?? | `PyArray_DescrConverter` with a string type code `Bool`, etc\r\n?? | ?? | `arraydescr_names_set` is **not** deprecated, the warning was 'temporarily' removed in 1.7\r\n?? | ?? | using a single out array in a ufunc that expects more than one, in `PyUFunc_CheckOverride` and `get_ufunc_arguments`\r\n\r\n\r\nSome of these have been around for a long time."},"comment":{"url":"https://api.github.com/repos/numpy/numpy/issues/comments/409978446","html_url":"https://github.com/numpy/numpy/issues/11521#issuecomment-409978446","issue_url":"https://api.github.com/repos/numpy/numpy/issues/11521","id":409978446,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTk3ODQ0Ng==","user":{"login":"rgommers","id":98330,"node_id":"MDQ6VXNlcjk4MzMw","avatar_url":"https://avatars3.githubusercontent.com/u/98330?v=4","gravatar_id":"","url":"https://api.github.com/users/rgommers","html_url":"https://github.com/rgommers","followers_url":"https://api.github.com/users/rgommers/followers","following_url":"https://api.github.com/users/rgommers/following{/other_user}","gists_url":"https://api.github.com/users/rgommers/gists{/gist_id}","starred_url":"https://api.github.com/users/rgommers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgommers/subscriptions","organizations_url":"https://api.github.com/users/rgommers/orgs","repos_url":"https://api.github.com/users/rgommers/repos","events_url":"https://api.github.com/users/rgommers/events{/privacy}","received_events_url":"https://api.github.com/users/rgommers/received_events","type":"User","site_admin":false},"created_at":"2018-08-02T16:01:01Z","updated_at":"2018-08-02T16:01:01Z","author_association":"MEMBER","body":"Setting to the 1.16.0 milestone so we remember to update the deprecation message before the next release."}}
{"actor":{"display_login":"rgommers"}}