Changes between Initial Version and Version 1 of Ticket #26314, comment 13


Ignore:
Timestamp:
10/02/18 13:34:46 (20 months ago)
Author:
vklein
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26314, comment 13

    initial v1  
    22> where Python 3 returns bytes, instead of making two separate cases, in the past I have done something like `print(E.read().decode('ascii'))`.  This will have the same result in both cases.
    33>
    4 I know, i hesitated between the two syntax and, as it is an {{{EXAMPLES::}}}, have think that the {{{# py2}}}-{{{# py3}}} might be clearer for the end-user.
     4I know, i hesitated between the two syntax and, as it is an {{{EXAMPLES::}}}, have think that the {{{# py2}}}-{{{# py3}}} syntax might be clearer for the end-user.
    55
    66I don't have a strong opinion on it, tell me what you prefer. If the past cases you talk about are also {{{EXAMPLES::}}} we should stick with the {{{decode('ascii')}}} solution for consistency.