Message10117

Author zyasoft
Recipients akalinovski, zyasoft
Date 2015-06-10.22:37:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433975878.12.0.899268312738.issue2368@psf.upfronthosting.co.za>
In-reply-to
Content
For completeness:

$ python
Python 2.7.9 (v2.7.9:648dcafa7e5f, Dec 10 2014, 10:10:46)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import _io
>>> dir(_io)
['BlockingIOError', 'BufferedRWPair', 'BufferedRandom', 'BufferedReader', 'BufferedWriter', 'BytesIO', 'DEFAULT_BUFFER_SIZE', 'FileIO', 'IncrementalNewlineDecoder', 'StringIO', 'TextIOWrapper', 'UnsupportedOperation', '_BufferedIOBase', '_IOBase', '_RawIOBase', '_TextIOBase', '__doc__', '__file__', '__name__', '__package__', 'open']

$ jython27
Jython 2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_45
Type "help", "copyright", "credits" or "license" for more information.
>>> import _io
>>> dir(_io)
['DEFAULT_BUFFER_SIZE', 'FileIO', 'UnsupportedOperation', '_IOBase', '_RawIOBase', '__class__', '__copy__', '__deepcopy__', '__delattr__', '__doc__', '__doc__open', '__ensure_finalizer__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__name__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__str__', '__subclasshook__', '__unicode__', 'class', 'equals', 'getClass', 'hashCode', 'notify', 'notifyAll', 'open', 'toString', 'wait']

Normally we would expect *undocumented* modules like _io to be implementation details, with code just using the io module (which defines BlockingIOError by importing from _jyio), but as we know, it's not always going to be the case for real code out there.
History
Date User Action Args
2015-06-10 22:37:58zyasoftsetmessageid: <1433975878.12.0.899268312738.issue2368@psf.upfronthosting.co.za>
2015-06-10 22:37:58zyasoftsetrecipients: + zyasoft, akalinovski
2015-06-10 22:37:58zyasoftlinkissue2368 messages
2015-06-10 22:37:57zyasoftcreate