Dave Malcolm <dmalc...@redhat.com> added the comment:

Attached is the patch I'm currently applying in Fedora 13 to Python 3.

The patch is actually against the 3.1.1 tarball, rather than SVN; sorry 
(swamped with post-pycon tasks here), as that's what I've been testing this 
work against.

The patch is somewhat different to the Python 2 case, in that the filename and 
module name are stored internally by Python as unicode.  The markers convert 
these to UTF8 for the case when the markers are in use by an active probe.  
Unfortunately it's now possible for this to fail (e.g. low memory).

An example of using this for a non-Latin 1 script can be seen towards the end 
of:
https://fedoraproject.org/wiki/Features/SystemtapStaticProbes#Python_2

----------
Added file: http://bugs.python.org/file16383/python-3.1.1-systemtap.patch

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

Reply via email to