westonpace commented on issue #34118:
URL: https://github.com/apache/arrow/issues/34118#issuecomment-1690228593

   Hmm, I do not see this behavior.
   
   ```
   (arrow-release-12-0-1) pace@pace-desktop:~$ ARROW_IO_THREADS=1 
OMP_NUM_THREADS=1 python
   Python 3.11.4 | packaged by conda-forge | (main, Jun 10 2023, 18:08:17) [GCC 
12.2.0] on linux
   Type "help", "copyright", "credits" or "license" for more information.
   >>> from  pyarrow._s3fs import initialize_s3
   >>> initialize_s3(num_event_loop_threads=1)
   >>> import pyarrow as pa
   >>> pa.__version__
   '12.0.1'
   >>> import os
   >>> os.getpid()
   18795
   ```
   
   ```
   pace@pace-desktop:~$ ps -eT -o "ppid,pid,tid,comm" | grep 18795
     11208   18795   18795 python
     11208   18795   18797 jemalloc_bg_thd
     11208   18795   18800 AwsEventLoop 1
   ```
   
   Is it possible that `ipython`'s initialization is importing `pyarrow.fs` 
somewhere else?
   
   > Also in 12.01 pyarrow because ensure being call in init.py in pyarrow.fs
   User can not call pyarow.fs.initialize_s3.
   
   I agree this is a concern.  I believe #35575 is tracking this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to