Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix exception chaining in format.py | Abhishek Singh | 2020-10-04 | 1 | -1/+1 |
| | |||||
* | DOC: Fix non-matching pronoun in format.py documentation. (gh-17022) | Phoenix Meadowlark | 2020-08-06 | 1 | -1/+1 |
| | | | Follow up to [this commit](https://github.com/numpy/numpy/commit/36f71788620bb17d123669cf03f086fb2b87b3a8), which missed the second pronoun in this sentence. | ||||
* | DOC: fixed docstring for descr_to_dtype | iamsoto | 2020-06-25 | 1 | -8/+20 |
| | | | | DOC: fixed docstring for descr_to_dtype | ||||
* | Fix broken link in open_memmap See Also | Ross Barnowski | 2020-06-24 | 1 | -1/+1 |
| | |||||
* | DOC: Use intersphinx for NEP references | Ben Nathanson | 2020-06-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | Per #16500 discussion, adds link updates to PR. Replaces NEP URLs with intersphinx links in these files: * doc/HOWTO_RELEASE.rst.txt * doc/source/dev/howto-docs.rst * numpy/doc/dispatch.py * numpy/lib/format.py and incorporates @rossbar's #16502 change of `config.py`. | ||||
* | MAINT: simplify code that assumes str/unicode and int/long are different ↵ | Eric Wieser | 2020-03-26 | 1 | -2/+2 |
| | | | | | types (#15816) Cleanup from the dropping of python 2 | ||||
* | BUG: np.load does not handle empty array with an empty descr (#15397) | Sha Liu | 2020-01-27 | 1 | -7/+10 |
| | | | | | | | The bug occurs since numpy 1.16. Before that empty descr corresponds to `np.dtype([])`. This fixes the problem by following numpy 1.15's behavior. Closes gh-15396 | ||||
* | MAINT: Clean up, mostly unused imports. | Warren Weckesser | 2020-01-23 | 1 | -1/+1 |
| | |||||
* | [MAINT] Cleanup python2 sys.version checks | Seth Troisi | 2020-01-20 | 1 | -19/+7 |
| | |||||
* | MAINT: cleanup sys.version dependant code | Seth Troisi | 2020-01-12 | 1 | -5/+2 |
| | |||||
* | MAINT: Remove unnecessary 'from __future__ import ...' statements | Jon Dufresne | 2020-01-03 | 1 | -2/+0 |
| | | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior. | ||||
* | BUG: warn when saving dtype with metadata (#14994) | Matti Picus | 2019-12-02 | 1 | -0/+14 |
| | | | Address gh-14142 for the 1.18 release: warn when saving a dtype with metadata that cannot be loaded. | ||||
* | TST: make xfailed test for modules in public API pass. | Ralf Gommers | 2019-09-19 | 1 | -0/+3 |
| | |||||
* | DOC: add space between words across lines | mattip | 2019-07-10 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into force-zip64 | Charles Harris | 2019-06-26 | 1 | -8/+2 |
|\ | |||||
| * | MAINT: Use a with statement instead of try / finally | Eric Wieser | 2019-06-04 | 1 | -8/+2 |
| | | | | | | | | All of this code was already correct, this just tidies it a little | ||||
* | | ENH: always use zip64, upgrade pickle protocol to 3 | mattip | 2019-05-23 | 1 | -3/+2 |
|/ | |||||
* | Merge branch 'master' into npy-2.1 | Matti Picus | 2019-05-19 | 1 | -4/+8 |
|\ | |||||
| * | MAINT: remove uneeded code | mattip | 2019-05-11 | 1 | -6/+4 |
| | | |||||
| * | BUG: parse more subarrays in descr_to_dtype | mattip | 2019-05-03 | 1 | -2/+7 |
| | | |||||
| * | BUG: handle subarrays in descr_to_dtype | mattip | 2019-04-30 | 1 | -3/+4 |
| | | |||||
* | | BUG/ENH: Create npy format 3.0 | Eric Wieser | 2019-05-07 | 1 | -15/+36 |
| | | | | | | | | | | | | | | | | This version encodes the dtype as utf8 instead of latin1. Unfortunately we need to create a new version to make this change, because we did not limit ourselves to ASCII in versions 1 and 2. Fixes gh-7391 | ||||
* | | MAINT: Simplify computation of npy format headers | Eric Wieser | 2019-05-07 | 1 | -49/+52 |
|/ | | | | This works towards adding a third format that supports utf8 | ||||
* | BUG: load fails when using pickle without allow_pickle=True | Paul Ivanov | 2019-04-16 | 1 | -3/+7 |
| | | | | | | a partial mitigation of #12759. see also https://nvd.nist.gov/vuln/detail/CVE-2019-6446 | ||||
* | BUG: Fix errors in string formatting while producing an error | Eric Wieser | 2019-03-02 | 1 | -13/+13 |
| | | | | | | | | | | `"Invalid version %r" % (1, 2)` would fail with `TypeError: not all arguments converted during string formatting` The `Header is not a dictionary` error had a similar problem. Fixed by changing this entire function to use `.format` in place of `%`, which does not have this gotcha. Found using LGTM.com | ||||
* | MAINT: Move pickle import to numpy.compat | Charles Harris | 2019-02-21 | 1 | -2/+1 |
| | | | | | | | The pickle module was being imported from numpy.core.numeric. It was defined there in order to use pickle5 when available in Python3 and cpickle in Python2. The numpy.compat module seems a better place for that. | ||||
* | MAINT: fix from review | mattip | 2018-11-14 | 1 | -6/+2 |
| | |||||
* | BUG: fix for titles, cleanup, fixes from review | mattip | 2018-11-13 | 1 | -7/+20 |
| | |||||
* | BUG: test, fix loading structured dtypes with padding | mattip | 2018-11-13 | 1 | -1/+29 |
| | |||||
* | ENH: Improve support for pathlib.Path objects in load functions (#11348) | Paul Müller | 2018-11-01 | 1 | -7/+9 |
| | | | * ENH: Improve support for pathlib.Path objects in more functions | ||||
* | MAINT, TST import pickle from numpy.core.numeric | Pierre Glaser | 2018-10-10 | 1 | -4/+1 |
| | | | | | | | | All imports of pickle from numpy modules are now done this way: >>> from numpy.core.numeric import pickle Also, some loops on protocol numbers are added over pickle tests that were not caught from #12090 | ||||
* | HTTP -> HTTPS, and other linkrot fixes | Mike Toews | 2018-06-16 | 1 | -1/+1 |
| | |||||
* | DOC: add numpy.lib.format to docs and link to it | mattip | 2018-05-14 | 1 | -4/+3 |
| | |||||
* | DOC: create label and ref, fixes broken link | mattip | 2018-05-13 | 1 | -0/+3 |
| | |||||
* | DOC: link to updated module docstring, not NEP | mattip | 2018-05-13 | 1 | -3/+8 |
| | |||||
* | minor fix for python3 compatibility | Dennis Weyland | 2018-02-05 | 1 | -2/+2 |
| | |||||
* | python 2.7.5 bugfix | Dennis Weyland | 2018-02-05 | 1 | -2/+5 |
| | |||||
* | ENH: Align data in np.save() at 64 bytes (#9025) | John Zwinck | 2017-09-13 | 1 | -22/+29 |
| | | | | | | | | | | | | | Previously, saving format version 1 would align to 16 bytes, and saving version 2 would align improperly (bug #8085). Alignment is now always at least 64 bytes in either version, which supports memory mapping of the saved files on Linux, where mmap() offset must be a multiple of the page size. Why 64 bytes? Simply because we don't know of a case where more is needed. AVX alignment is 32 bytes; AVX-512 is 64. Fixes #8085, closes #8598. | ||||
* | MAINT: Remove asbytes where a b prefix would suffice | Eric Wieser | 2017-03-25 | 1 | -1/+1 |
| | | | | | | | | Since we only need to support python 2, we can remove any case where we just pass a single string literal and use the b prefix instead. What we can't do is transform asbytes("tests %d" % num), because %-formatting fails on bytes in python 3.x < 3.5. | ||||
* | ENH: Add stacklevel to all (or almost all) our function calls | Sebastian Berg | 2016-09-02 | 1 | -2/+2 |
| | |||||
* | BUG: Fixes to reading and writing of empty arrays, and in particular arrays ↵ | Erik M. Bray | 2016-05-31 | 1 | -11/+20 |
| | | | | with empty dtypes. See #6430 | ||||
* | BUG: Cast size to int64 when loading from archive | drasmuss | 2016-05-09 | 1 | -1/+1 |
| | | | | | Prevents overflow errors for large arrays on systems where the default int type is int32. | ||||
* | MAINT: Dictionary litteral | Rémy Léone | 2015-11-07 | 1 | -2/+1 |
| | |||||
* | ENH: add options for disabling use of pickle in load/save | Pauli Virtanen | 2015-04-18 | 1 | -4/+16 |
| | |||||
* | BUG: don't ignore version passed to format.write_array | Blake Griffith | 2015-04-05 | 1 | -11/+9 |
| | | | | Previously the passed in version was ignored | ||||
* | BUG: Make read_array_header_* return results | Blake Griffith | 2015-04-01 | 1 | -2/+2 |
| | | | | | | | Previously read_array_header_1_0 & read_array_header_2_0 were not returning the documented results. Closes #5602 | ||||
* | STY: fold long lines | Pauli Virtanen | 2015-03-08 | 1 | -2/+4 |
| | |||||
* | BUG: enable working around pickle compatibility issues on Py3 in npy files | Pauli Virtanen | 2015-03-08 | 1 | -4/+22 |
| | | | | | | Add pickle compatibility flags to numpy.save and numpy.load. Allow only combinations that cannot corrupt binary data in Numpy arrays. Use the same default values as Python pickle. | ||||
* | DOC: update npy-format NEP and lib/format.py with version 2.0 description. | Ralf Gommers | 2015-01-04 | 1 | -0/+13 |
| | | | | As discussed on gh-5413. Version 2.0 was added in gh-4765. | ||||
* | Change pronoun in doc string from "his" to gender-neutral "their" | Bob Poekert | 2014-12-05 | 1 | -1/+1 |
| |