This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: crlf.py script from Tools doesn't work with Python 3.2
Type: Stage: resolved
Components: Versions: Python 3.2
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Tools/Scripts/crlf.py needs updating for python 3+
View: 12032
Assigned To: Nosy List: bialix
Priority: normal Keywords:

Created on 2011-08-05 09:29 by bialix, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (1)
msg141650 - (view) Author: Alexander Belchenko (bialix) Date: 2011-08-05 09:29
Attempt to use crlf.py script from standard windows install always fail with traceback:

C:\Python32\Tools\Scripts>C:\Python32\python.exe crlf.py 2to3.py
Traceback (most recent call last):
  File "crlf.py", line 23, in <module>
    main()
  File "crlf.py", line 12, in main
    if '\0' in data:
TypeError: Type str doesn't support the buffer API

C:\Python32\Tools\Scripts>C:\Python32\python.exe -V
Python 3.2
History
Date User Action Args
2022-04-11 14:57:20adminsetgithub: 56903
2011-08-05 18:27:53r.david.murraysetstatus: open -> closed
2011-08-05 11:37:17r.david.murraysetresolution: duplicate
superseder: Tools/Scripts/crlf.py needs updating for python 3+
stage: resolved
2011-08-05 09:29:01bialixcreate