Julien Palard added the comment:

I can't reproduce the issue:

   $ ./python
   Python 3.6.0b4+ (default, Nov 23 2016, 00:23:59)
   [GCC 5.4.1 20160904] on linux
   Type "help", "copyright", "credits" or "license" for more information.
   >>> open('./python', 'rb')
   <_io.BufferedReader name='./python'>
   >>>

But you may try, as Chi Hsuan Yen, with --with-pydebug, also try with 
faulthandler, and we'll gladly read the output for something like:

   $ strace /tmp/py36/bin/python -c "open('/tmp/py36/lib/libpython3.6m.so.1.0', 
'rb')" 2>&1 | tail -n 20

Also, running it in gdb may provide a nice stacktrace, if you have nothing 
interesting from strace and faulthandler.

----------
nosy: +mdk

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28772>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to