On Sun, 29 Jan 2006 14:51:18 -0800, rumours say that Michael Spencer
<[EMAIL PROTECTED]> might have written:
>> http://www.effbot.org/librarybook/marshal.htm
>There's a typo in the text accompanying that example: img.get_magic() should
>be
>imp.get_magic().
The error is easy to explain: h
"Raymond Hettinger" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Fabiano Sidler wrote:
>> with pdb (which I'm surely not using as neatly as it could be). Or is
>> there any documentation on it I couldn't find?
>
> The pysassem module is part of the compiler package:
>
> http:
Fabiano Sidler wrote:
> 2006/1/29, Fabiano Sidler <[EMAIL PROTECTED]>:
> > 28 Jan 2006 22:02:45 -0800, Raymond Hettinger <[EMAIL PROTECTED]>:
> > > But if you want to make your life unnecessarily hard, you can hack the
> > > compiler module just upstream from the creation of the code object --
> >
2006/1/29, Fabiano Sidler <[EMAIL PROTECTED]>:
> 28 Jan 2006 22:02:45 -0800, Raymond Hettinger <[EMAIL PROTECTED]>:
> > But if you want to make your life unnecessarily hard, you can hack the
> > compiler module just upstream from the creation of the code object --
> > alter the newCodeObject() meth
Fredrik Lundh wrote:
> Fabiano Sidler wrote:
>
>> I'm looking for a way to compile python source to bytecode instead of
>> code-objects. Is there a possibility to do that? The reason is: I want
>> to store pure bytecode with no additional data.
>
> use marshal.
>
>> The second question is, there
Fabiano Sidler wrote:
> I'm looking for a way to compile python source to bytecode instead of
> code-objects. Is there a possibility to do that? The reason is: I want
> to store pure bytecode with no additional data.
use marshal.
> The second question is, therefore: How can I get the correct val
[Fabiano Sidler]
> I'm looking for a way to compile python source to bytecode instead of
> code-objects. Is there a possibility to do that? The reason is: I want
> to store pure bytecode with no additional data.
>
> The second question is, therefore: How can I get the correct values
> for a given b
Hi folks!
I'm looking for a way to compile python source to bytecode instead of
code-objects. Is there a possibility to do that? The reason is: I want
to store pure bytecode with no additional data.
The second question is, therefore: How can I get the correct values
for a given bytecode, such as