Message108769
The bytes/string issu was a red herring: with pickle.load(open('27.bench', 'b')), I get the same stack trace as from command line pybench invocation.
>>> pickle.load(open('27.bench', 'rb'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/sasha/Work/python-svn/py3k-commit/Lib/pickle.py", line 1321, in load
encoding=encoding, errors=errors).load()
File "/Users/sasha/Work/python-svn/py3k-commit/Lib/pickle.py", line 830, in load
dispatch[key[0]](self)
File "/Users/sasha/Work/python-svn/py3k-commit/Lib/pickle.py", line 1055, in load_inst
klass = self.find_class(module, name)
File "/Users/sasha/Work/python-svn/py3k-commit/Lib/pickle.py", line 1115, in find_class
__import__(module, level=0)
File "/Users/sasha/Work/python-svn/py3k-commit/Tools/pybench/Unicode.py", line 17
s = unicode(u''.join(map(str,range(100))))
^
SyntaxError: invalid syntax |
|
Date |
User |
Action |
Args |
2010-06-27 01:31:30 | belopolsky | set | recipients:
+ belopolsky, pitrou, alexandre.vassalotti |
2010-06-27 01:31:29 | belopolsky | set | messageid: <1277602289.41.0.933413768888.issue5180@psf.upfronthosting.co.za> |
2010-06-27 01:31:27 | belopolsky | link | issue5180 messages |
2010-06-27 01:31:27 | belopolsky | create | |
|