Hacker News new | ask | show | jobs
by 6Typos 3448 days ago
Running that gave:

  >>> open(b'test-\xd8\x00.txt', 'w').close()
  Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  TypeError: embedded NUL character
So yeah, TypeError

Edit: Formatting