[Python-checkins] [python/cpython] 002665: bpo-30432: FileInput doesn't accept PathLike objec...

GitHub noreply at github.com
Tue May 23 01:24:18 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 002665a9da3a2924c4a08511ede62ff4d1dabc48
      https://github.com/python/cpython/commit/002665a9da3a2924c4a08511ede62ff4d1dabc48
  Author: Roy Williams <roy.williams.iii at gmail.com>
  Date:   2017-05-22 (Mon, 22 May 2017)

  Changed paths:
    M Lib/fileinput.py
    M Lib/test/test_fileinput.py

  Log Message:
  -----------
  bpo-30432: FileInput doesn't accept PathLike objects for file names (#1732)

* Allow FileInput to accept a single PathLike object as a parameter for `files`

Fixes

bpo-30432: FileInput doesn't accept PathLike objects for file names

* Address comments from @ambv




More information about the Python-checkins mailing list