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

[Python] Add detach() method to buffered streams

    XMLWordPrintableJSON

Details

    Description

      BufferedOutputStream::Close closes the raw file handle unconditionally. This may be undesirable in some circumstances.

      Some alternatives:

      • Do not close it
      • Only close it if the use_count of the shared_ptr is 1, so we know that no one else has a copy of the shared_ptr

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              wesm Wes McKinney
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m