Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2218

[Python] PythonFile should infer mode when not given

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.8.0
    • 0.9.0
    • Python

    Description

      The following is clearly not optimal:

      >>> f = open('README.md', 'r')
      >>> pa.PythonFile(f).mode
      'wb'
      

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: