Message100174
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 |
|
Date |
User |
Action |
Args |
2010-02-26 20:51:33 | dmalcolm | set | recipients:
+ dmalcolm, skip.montanaro, rhettinger, jcea, ronaldoussoren, belopolsky, wsanchez, movement, glyph, bretthoerner, laca, twleung, jbaker, robert.kern, sirg3, chrismiles, danchr, mjw |
2010-02-26 20:51:33 | dmalcolm | set | messageid: <1267217493.39.0.0858163422602.issue4111@psf.upfronthosting.co.za> |
2010-02-26 20:51:31 | dmalcolm | link | issue4111 messages |
2010-02-26 20:51:31 | dmalcolm | create | |
|