[New-bugs-announce] [issue8935] Syntax error in os.py

Stan Klein report at bugs.python.org
Tue Jun 8 02:58:40 CEST 2010


New submission from Stan Klein <sklein at cpcug.org>:

I got the following traceback on an "import os" statement:


Traceback (most recent call last):
  File "setup.py", line 53, in ?
    import traceback
  File "/usr/lib/python2.6/traceback.py", line 3, in ?
    import linecache
  File "/usr/lib/python2.6/linecache.py", line 9, in ?
    import os
  File "/usr/lib/python2.6/os.py", line 758
    bs = b""
           ^
SyntaxError: invalid syntax

>From looking at 2.4, the fix is probably bs=""

----------
components: Library (Lib)
messages: 107294
nosy: sklein
priority: normal
severity: normal
status: open
title: Syntax error in os.py
type: crash
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8935>
_______________________________________


More information about the New-bugs-announce mailing list