Changes between Initial Version and Version 1 of Ticket #28414, comment 20


Ignore:
Timestamp:
08/29/19 12:13:13 (2 years ago)
Author:
chapoton
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28414, comment 20

    initial v1  
    11beware that you cannot concatenate bytes and str, so everything must become bytes. Not the way to go in my opinion.. moreover, not sure that os.* can handle bytes
     2
     3EDIT:
     4
     5indeed:
     6{{{
     7sage: os.path.join('home', b'jojo')
     8...
     9TypeError: Can't mix strings and bytes in path components
     10}}}