<p>Si, me he leido el codigo entero de byteplay y bytecodehacks :-P Si lo he entendido bien, solo necesito el añadir una entrada a co_names y cambiar el par de bytes del argumento de LOAD_ATTR para hacerle un bypass al codigo, ya te comentare mas despacio los detalles :-)</p>

<p>Sended from my Android cell phone, please sorry the lack of format on the text and my fat thumbs :-P</p>
<div class="gmail_quote">El 05/03/2012 20:30, "Jesus Cea" <<a href="mailto:jcea@jcea.es">jcea@jcea.es</a>> escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
On 05/03/12 19:48, <a href="mailto:piranna@gmail.com">piranna@gmail.com</a> wrote:<br>
> Si hay alguien que sepa modificar el bytecode generado me vendria<br>
> bien consultar dudas para hacer un poco de magia negra en uno de<br>
> mis proyectos... :-P<br>
<br>
Bueno, yo sé algunas cosas sobre esto. ¿Te has mirado componentes de<br>
la librería estándar como AST o manejo de bytecodes?.<br>
<br>
- --<br>
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/<br>
<a href="mailto:jcea@jcea.es">jcea@jcea.es</a> - <a href="http://www.jcea.es/" target="_blank">http://www.jcea.es/</a>     _/_/    _/_/  _/_/    _/_/  _/_/<br>
jabber / <a href="mailto:xmpp%3Ajcea@jabber.org">xmpp:jcea@jabber.org</a>         _/_/    _/_/          _/_/_/_/_/<br>
.                              _/_/  _/_/    _/_/          _/_/  _/_/<br>
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/<br>
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/<br>
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iQCVAwUBT1UUbplgi5GaxT1NAQIl9AQAjv7/FF99Tr1AtUCQ7kixGkODqpxKNdJR<br>
DuCG748gnzmNlV7sGUzEScdmhrqvaXBdKyCHZ2aOJBJfmweirbDjj2bD0diYXO4M<br>
j0ihjhBErgwXWHtlsbl+tilWo4ow3kUhIcpVOclNx0OYTrdN3I5cKeRsE3FUfGI3<br>
PXBtAbTUTSQ=<br>
=hBvQ<br>
-----END PGP SIGNATURE-----<br>
<br>
--<br>
Grupo de usuarios de python ubicados en Madrid<br>
<a href="http://groups.google.es/group/python-madrid" target="_blank">http://groups.google.es/group/python-madrid</a><br>
<a href="http://python-madrid.es" target="_blank">http://python-madrid.es</a><br>
<a href="http://twitter.com/#!/python_madrid" target="_blank">http://twitter.com/#!/python_madrid</a><br>
Para darte de baja del grupo envía un mensaje a <a href="mailto:python-madrid%2Bunsubscribe@googlegroups.com">python-madrid+unsubscribe@googlegroups.com</a><br>
</blockquote></div>

<p></p>

-- <br />
Grupo de usuarios de python ubicados en Madrid<br />
<a href="http://groups.google.es/group/python-madrid">http://groups.google.es/group/python-madrid</a><br />
<a href="http://python-madrid.es">http://python-madrid.es</a><br />
<a href="http://twitter.com/#!/python_madrid">http://twitter.com/#!/python_madrid</a><br />
Para darte de baja del grupo envía un mensaje a python-madrid+unsubscribe@googlegroups.com<br />