New submission from Johannes:

Running the code attached causes a segmentation fault.

This only occurs when run from within a virtual environment, and when the class 
is an old style class.

I've tested on OSX with both 2.7.3 installed via Homebrew, and the default 
2.7.2 Python installation.

Also got the same result testing with 2.7.3 on linux ([GCC 4.4.5] on linux2)

I've verified that exactly the same Python installation is being used inside 
and outside of the virtual env.

Running the same code under 2.5 and 2.6 results in no seg fault.

----------
components: Unicode
files: unicode-bug.py
messages: 182562
nosy: ezio.melotti, johtso
priority: normal
severity: normal
status: open
title: Seg fault when calling unicode() on old style class in virtualenv
type: crash
versions: Python 2.7
Added file: http://bugs.python.org/file29136/unicode-bug.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17260>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to