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

[Doc][Python] Ensure that ipc/io documentation uses context managers instead of manually closing streams

    XMLWordPrintableJSON

Details

    Description

      At the moment, in many places we are not closing or manually invoking `.close()` over resources that could deal automatically with it through context managers. We should replace those manual usages of `.close()` with context managers in the documentation so that we get users used to go for the more robust solution that doesn't require dedicated exception handling and remembering to close things.

      Attachments

        Issue Links

          Activity

            People

              amol- Alessandro Molina
              amol- Alessandro Molina
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 1h 10m
                  1h 10m