Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,21 @@ New Features
also removes duplicate format guesses to improve performance. [#3418]


1.0.1 (unreleased)
------------------

Bug Fixes
^^^^^^^^^

- ``astropy.io.ascii``

- Fixed support for reading inf and nan values with the fast reader in
Windows. Also fixed in the case of using ``use_fast_converter=True``
with the fast reader. [#3525]

- Fixed use of mmap in the fast reader on Windows. [#3525]


1.0 (2015-02-18)
----------------

Expand Down
2 changes: 1 addition & 1 deletion astropy/io/ascii/cparser.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ cdef class FileString:
self.fhandle = open(fname, 'r')
if not self.fhandle:
raise IOError('File "{0}" could not be opened'.format(fname))
self.mmap = mmap.mmap(self.fhandle.fileno(), 0, prot=mmap.PROT_READ)
self.mmap = mmap.mmap(self.fhandle.fileno(), 0, access=mmap.ACCESS_READ)
cdef Py_ssize_t buf_len = len(self.mmap)
if six.PY2:
PyObject_AsReadBuffer(self.mmap, &self.mmap_ptr, &buf_len)
Expand Down
Loading