[Numpy-svn] [numpy/numpy] 7d6aa8: MAINT: remove legacy monkeypatching of GzipFile

GitHub noreply at github.com
Wed Jun 24 23:09:36 EDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 7d6aa8c721d5274ac57d0c87685d472cb1fd7948
      https://github.com/numpy/numpy/commit/7d6aa8c721d5274ac57d0c87685d472cb1fd7948
  Author: Nathaniel J. Smith <njs at pobox.com>
  Date:   2015-06-24 (Wed, 24 Jun 2015)

  Changed paths:
    M numpy/lib/npyio.py

  Log Message:
  -----------
  MAINT: remove legacy monkeypatching of GzipFile

I'm not sure exactly when GzipFile.seek started supporting the whence=
argument by default -- sometime around python 2.5 from the looks of
http://bugs.python.org/issue1355023. But in any case it was definitely
there by 2.6, which is now the earliest version we support, so there's
no longer any need to monkeypatch it in. This also fixes an error in
python 3.5b2, which I haven't bothered to track down further because
these are the wages of monkeypatching.


  Commit: 21962fc4c68311e78e6420e3d2e80d9cd98409d7
      https://github.com/numpy/numpy/commit/21962fc4c68311e78e6420e3d2e80d9cd98409d7
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2015-06-24 (Wed, 24 Jun 2015)

  Changed paths:
    M numpy/lib/npyio.py

  Log Message:
  -----------
  Merge pull request #6016 from njsmith/remove-gzip-monkeypatch

MAINT: remove legacy monkeypatching of GzipFile


Compare: https://github.com/numpy/numpy/compare/086f51ebaa70...21962fc4c683


More information about the Numpy-svn mailing list