from core)
I wrote new test in PIR "bad-int-t4.pir"
(
http://mj41.cz/down/Parrot/tests-bugs-etc/02-probably%20memory%20leaks/
or attached ).
--
S pozdravem Michal Jurosz
bad-int-t4.pir
Description: Binary data
Perl 6 and Parrot links" (
http://perl6.cz/wiki/Perl_6_and_Parrot_links ). But it probably can't help
developers much.
--
S pozdravem Michal Jurosz
Hello,
do not use msys. Try mingw32-make from cmd.exe.
http://wiki.kn.vutbr.cz/mj/index.cgi?Build%20Parrot%20with%20MinGW can
probably help too.
Michal Jurosz
Joshua Gatcomb wrote:
> All:
> It has been 1.5 years since I have built parrot and a lot has changed.
> Today I decided to
Hello,
feel free to use
http://wiki.kn.vutbr.cz/mj/index.cgi?Perl%206%20and%20Parrot%20links
.
ubtest UNEXPECTEDLY SUCCEEDED
t/examples/japh..ok
1/17 unexpectedly succeeded
S pozdravem Michal Jurosz
Err. This one is better.
--
S pozdravem Michal Jurosz
Index: t/dynoplibs/myops.t
===
--- t/dynoplibs/myops.t (revision 12069)
+++ t/dynoplibs/myops.t (working copy)
@@ -9,6 +9,9 @@
use Parrot::Test tests => 8;
use Parrot::Con
.cornerhost.com/mailman/listinfo/pirate
Other links:
The priate home page is here:
http://pirate.tangentcode.com/
The code for pirate is available for browsing here:
http://pirate.versionhost.com/viewcvs.cgi/pirate/
Thanks for reading!
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
for the ability to do certain
optimizations like this up front, sacrificing
flexibility for speed. I know there are many
programs that won't allow for this, but for the
ones that do, I'd like to be able to do a sort
of static compile like this.
In other words, sometimes a pyt
We should have a low-traffic "compiler" list.
Like... this one here for pirate, which is all
about generic compiler issues. :)
And there is: http://svn.perl.org/parrot/trunk/docs/req/model_users.pod
I like that!
Sincerely,
Michal J Wallace
Sab
On Thu, 4 Aug 2005, Leopold Toetsch wrote:
Michal Wallace wrote:
And wouldn't you know it... A bug on the parrot
side cropped up out of nowhere to break them!
==17366== valgrind's libpthread.so: IGNORED call to: pthread_attr_destroy
==17366== Invalid read of size 4
==173
someone happens to know how to fix it
by tomorrow, I would really appreciate it, and
it would certainly leave the OSCON atendees with
a better impression of parrot!
- Michal
http://withoutane.com/
##
# generated by pirate on Wed
On Thu, 7 Jul 2005, Larry Wall wrote:
On Thu, Jul 07, 2005 at 09:28:04PM -0400, Michal Wallace wrote:
: What I'd want is to be able to download the language
: specific extensions as a library from cpan. Better
: yet if users can do it themselves without having
: to bug me.
Hmm...
: Sure
all as much as I could, but
there's always someone who wants the version you're
not running. :)
- Michal
http://withoutane.com/
ndled
differently by getattr. (In cpython there's a
difference beween a function and a 'bound'
method, and I think the magic happens in
getattr)
Anyway, I *think* the existing pmc's solve all
these problems.
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
ree to hop on board. The signup page
is here:
http://cornerhost.com/mailman/listinfo/pirate
Thanks!
- Michal
http://withoutane.com/
nals.html
seems to imply the mark and sweep system only...
Or does parrot do all three?
- Michal
http://withoutane.com/
On Wed, 25 May 2005, [EMAIL PROTECTED] wrote:
hi
python on parrot already have not develop?
Hi there,
I'm not sure I understand your question either...
But maybe this will help?
http://pirate.tangentcode.com/
- Michal
http://withoutane.com/
course if you're targeting parrot developers who may or may
not know python, that's another story... But from what I can
tell, the other compilers in the parrot svn tree just aren't
getting the kind of exposure you're talking about.
I don't know, maybe I'm just rambling,
ts completed by the time of OSCON (in
August).
Sam, are you still interested in this?
Is there a up to date cvs repo?
http://pirate.tangentcode.com/
Can we get this code checked into the parrot svn repo?
Unfortunately, no. Much of this code is copyright Michal Wallace.
The good news is that the
d
# 1
# '
# expected: 'Hello, World!
# 0
# '
# Looks like you failed 1 tests of 1.
### config_lib.pasm
- set P0["slash"], "/"
+ set P0["slash"], "\\"
$ parrot config_lib.pasm
$ perl -Ilib t/pmc/sys.t
1..1
ok 1 - spawnw, _config
S pozdravem Michal Jurosz
1 100.00% 1
5 tests and 66 subtests skipped.
Failed 12/139 test scripts, 91.37% okay. 100/2225 subtests failed,
95.51% okay.
S pozdravem Michal Jurosz
(msys|cygwin)/;
my $hints = "config/init/hints/" . $O . ".pl";
See attached mswin32.pl
See also http://xrl.us/fddn (MJWiki:Build Parrot with MinGW)
S pozdravem Michal Jurosz
C:\usr>perl -e "print $^O"
MSWin32
C:\usr>perl -v
This is perl, v5.8.4 built for
Leopold Toetsch wrote:
> The test could include C< 0? >.
>> +$err_msg =~ s/\r//g;
Could you please provide one patch for items like above, thanks.
TortoiseCVS patch file attached.
S pozdravem Michal Jurosz
Index: imcc/t
;
$ perl -Ilib imcc/t/syn/file.t
...
ok 11 - including a non-existent file
...
Michal Jurosz
ICQ#:93348414
;print $^O"
msys
--- config\init\hints.pl
sub runstep {
+ my $O = lc($^O);
+ $O = 'mswin32' if $O =~ /^(msys|mingw)/;
- my $hints = "config/init/hints/" . lc($^O) . ".pl";
+ my $hints = "config/init/hints/" . $O . ".pl";
S pozdravem Michal Jurosz
http://xrl.us/fddn
2 3.39% 53, 57
t/pmc/sys.t1 256 11 100.00% 1
5 tests and 66 subtests skipped.
Failed 12/135 test scripts, 91.11% okay. 49/2204 subtests failed, 97.78%
okay.
S pozdravem Michal Jurosz
See my step by step quide and results:
http://wiki.kn.vutbr.cz/mj/index.cgi?Build%20Parrot%20with%20MinGW
Refactoring is welcome. I am C, Parror and English beginner :-).
Michal Jurosz
edDocs-1.2.0/howto/components.html
- Michal
http://withoutane.com/
eaner.
Is there any way we could get a temporary --pirate flag that
did everything --python did EXCEPT for the generator stuff?
- Michal
http://withoutane.com/
but it doesn't work at all with
the --python flag.
I know the --python stuff is temporary but
it would be nice to be able to integrate
the pie-thon code with pirate.
- Michal
http://withoutane.com/
## gen.pir #
#
# parrot gen.pir : prints "ab"
# parrot --
@ , etc...
I've always kind of pictured something
like this:
>>> import parrot
>>> parrot.load("perl","AI::Fuzzy")
>>> f = parrot["perl::AI::Fuzzy::Label"]
>>> f.addlabel("...")
- Michal
http://withoutane.com/
of python code,
> or any other code that slammed on a property, and that's cool. Python
> code *won't* see the attributes, but again that's OK as it
> *shouldn't*, since it's private.
But surely perl 6 and ruby have SOME public attributes?!
In java it's the convention to say getWhatever() and setWhatever()
but you can still make a public attribute, and i think that should
use getprop.
One last thing... Python (at least the way I envision it) is
going to need to OVERRIDE the getprop vtable method. If you
define __getattr__ or __setattr__ methods for a class, it
will call those instead of just using PMC properties. So
there's at least three different styles now: Parrot props,
Python props, and Parrot attributes... And we haven't
heard from the other language developers yet. Luckily the
first two will look exactly the same from the bytecode's
point of view. I'm just worried about the third. :)
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
-
for when
a class has two parents with attribute "X" and I want to
find the one for one superclass or the other? That sounds
useful, but it's just my guess at what you're talking about. :)
I don't mean to be so grouchy, but you said to speak now
or forever hold my peace, so.
e has
objects that are all the same size and wants attributes
instead of properties then it should handle that
internally. The interface should be the same either way.
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
-
On Sat, 14 Feb 2004, Michal Wallace wrote:
> class Alice:
> def whoami(self):
> return "Alice"
> class Bruce:
> def whoami(self):
> return "Bruce"
>
> a = Alice()
> b = Bruce()
>
>
ahahahaha"
class Owner:
pass
x = Owner()
x.method = Methodical()
assert x.method() == "muahahahaha"
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
-
On Mon, 9 Feb 2004, Melvin Smith wrote:
> At 02:00 PM 2/9/2004 -0500, Michal Wallace wrote:
> >On Mon, 9 Feb 2004, Melvin Smith wrote:
> > > My take on it is, since it is an intermediate language, we don't need
> > > ability to have keywords as varia
to move pirate towards
generating names that match the actual
variables (though I do still use _000 counters)
Would it be valuable if all variables had (or could have)
a $ in front of them? The ones that match /\$[PINS]\d+/
would still have implicit types, and anything else
would
that
imcc doesn't realize the two variables ought to
be distinct, right?
A workaround is to call pushtopi and poptopi
around the "call" statement...
What's the benefit of doing it this way, rather
than using separate subs?
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
--
be tricked into
thinking they have a reference-counting
python interpreterer lying around.
Code is in http://pirate.versionhost.com/
under pirate/python/pmc/piobject.pmc
(it's VERY sketchy right now - only a
few lines to prove the concept).
Sincerely,
Michal J Wallace
Sab
rovide a C-based
compiler as a PMC or you can teach your language
to compile itself... Or you can even write your
language in some other language that targets parrot. :)
> Nigel.
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact:
On Thu, 22 Jan 2004, Leopold Toetsch wrote:
> Michal Wallace <[EMAIL PROTECTED]> wrote:
>
> > I'm trying to make a dynamically loaded PMC that
> > subclasses another dynamically loaded PMC.
>
> Its a linker problem, but not too simple. Your analysis is c
t_integer function to PiString
instead of trying to inhert, everything works:
51
52
It seems the problem is that pistring.so can't
load because it can't find a definition for
Parrot_PiSequence_get_integer... Even though
it's defined in the other *.so file that
gnals have nothing
to do with the program itself but come entire from the
outside. (Whereas with the regular events, the data
comes from outside but the choice to listen for the
data was made inside the program.)
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--
velopers call the even loop explicitly?
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--
g a single continuation. Like
> this:
>
>
> newsub $P0, .Continuation, again
> again:
> # ... loop body
> invoke $P0
Sure. So the stacks are always the same every time
Mr Parrot reaches "again:", but the obj
On Mon, 12 Jan 2004, Luke Palmer wrote:
> Michal Wallace writes:
> > On Mon, 12 Jan 2004, Luke Palmer wrote:
> >
> > > I have somewhat a predicament. I want to create a continuation, and
> > > have that continuation stored in the register stack that it c
g conventions, it's
already in P0. Can't you store that in a local variable
on the invoke?
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--
On Sun, 11 Jan 2004, Leopold Toetsch wrote:
> Michal Wallace <[EMAIL PROTECTED]> wrote:
> > When you invoke a Coroutine, it calls swap_context()
> > from src/sub.c ... There's an else clause in there
> > that either swaps or restores theinterpreter sta
On Fri, 9 Jan 2004, Leopold Toetsch wrote:
> Michal Wallace <[EMAIL PROTECTED]> wrote:
>
> > Hey all,
>
> > When you invoke a Coroutine, it calls swap_context()
>
> Can you have a look at imcc/t/syn/pcc.t, there is an coroutine
> iterator test.
Yep, it h
traditional languages, and languages like Python with
> no support for continuations.
Gotcha. It just looked odd to me that you had to call
savetop... But now I see that's because I was doing the
wrong thing all along. :)
Sincerely,
Michal J Wallace
Sab
On Fri, 9 Jan 2004, Leopold Toetsch wrote:
> Michal Wallace <[EMAIL PROTECTED]> wrote:
>
> > newsub $P1, .Continuation, done
>
> For returning just use a .RetContinuation. Or still better, just omit
> $P1 totally here:
>
> > .pcc_call $P0, $P1
Aha
On Fri, 9 Jan 2004, Jeff Clites wrote:
> On Jan 9, 2004, at 12:24 AM, Leopold Toetsch wrote:
>
> > Michal Wallace <[EMAIL PROTECTED]> wrote:
> >> #!/bin/env parrot
> >> #
> >> # yieldbug.imc
> >> #
> >> # This program should p
voke" of ther return
continuation, because neither of these things
would let you fire a method on the coroutine
instance. That's why I'm thinking we need a
yield op.
Am I on the right track here? Either way,
what can I do to get this working?
Sincerely,
Michal J Wallace
Sabren Enterp
before every function
call, and that passes my tests but I'm having trouble
visualizing why. Would I ever NOT want to call savetop
before creating a continuation?
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--
rted
#
# It works fine if I comment out the set_eh line.
# Can anyone help here?
#
# (Sorry for the long listing. It's as short as I could make it.)
#
# - Michal
#
.sub __main__
.local Continuation retcon
.local Coroutine it
.local object res
# create an exception handl
lString
$P0 = "hello\n"
$P1 = _do_print($P0)
end
.end
.pcc_sub _do_print non_prototyped
#
#
.param object s
print s
.pcc_begin_return
.pcc_end_return
.end
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
s coming from the .pcc_begin_return
line. This code works fine if I change the .Continuation to
a .Closure or .Coroutine... It also worked before the patch.
Do I have my calling conventions screwed up or is this a bug?
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
---
On Thu, 8 Jan 2004, Leopold Toetsch wrote:
> Michal Wallace <[EMAIL PROTECTED]> wrote:
>
> > What exactly is the difference between an
> > attribute and a property?
>
> $ perldoc docs/pdds/pdd15_objects.pod
> /TRANSLATION AND GLOSSARY
Thanks. Don't mind me.
On Thu, 8 Jan 2004, Leopold Toetsch wrote:
> Michal Wallace <[EMAIL PROTECTED]> wrote:
>
> > I'm not even trying to get objects working yet. I just
> > need something that'll let me run setprop on it
>
> You can attach properties to all PMCs. And WRT obj
n :-)
Thanks for the register-stacks-for-continuations patch!
That should fix some bugs I've got with generators. :)
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--
ow why not? In python or
javascript it's easy to just create an object of
no particular class just to have a place to stick
things.
foo = object()
foo.x = 1
It was working fine in parrot too, but then it
went away. :/
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--
t the magic formula yet
That code above gives:
Method 'init' not found
in file '(unknown file)' near line -1
(If anyone can post a working example of the code
above I'd really appreciate it!)
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
tring register for now... But it
would be REALLY nice to be able to use
the base ParrotException and not have
to write my own subclass just to get
a PMC slot.
Would it be possible to get a ['_pmc']
or something in addition to ['_message']?
Sincerely,
Michal J Wallac
iving me errors.
I don't suppose there's one magic error routine
that controls all the error messages, and someone
could just add a line or two to handle this? :)
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [
t uses internally.
I know perl uses a return value instead of
throwing an exception ("open or die", right?)..
So would parrot's internal file-opener just
throw a ParrotFileException? So perl's
open() command catches it and returns 0,
while python's open() command catches i
See http://pirate.tangentcode.com/
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--
Sorry, I've been following this list
with one eye tied behind my back...
What happened to setline? Should I
emit something else instead?
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhos
put whatever you want in there.
I have no idea how it works internally, but from your
code you just put this in your code:
import pdb; pdb.set_trace()
and it stops right there and you're in the debugger.
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
---
? C or Perl or what?
If it's in perl (or python of course) I'd like to merge
in all the pirate code generation stuff.
(My plan for this week was to do something very similar,
and try to get a simple lisplike language to integrate
with python)
Sincerely,
Michal J Wa
t line 5,
which one will it mean? :)
Seems like normally you'd want the high-level source line,
unless you're debugging the compiler, in which case you
want the low level one. Maybe this should be a command
line argument to parrot?
Sincerely,
Michal J Wallac
I haven't really thought about how to implement
any of this stuff, but it looks like fun. :) I
guess if the python compiler knows how to send the
right things, it can't be too hard to figure out.
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--
On Fri, 22 Aug 2003, Benjamin Goldberg wrote:
> Michal Wallace wrote:
> >
> > On Thu, 21 Aug 2003, Benjamin Goldberg wrote:
> >
> > > If you want, instead, to serialize interpreter->microthreads,
> > > however... well, you'd *still* get almost the
get almost the whole interpreter serialized.
>
> If you want, instead, to serialize interpreter->microthreads, however...
> well, you'd *still* get almost the whole interpreter serialized, but
> you're getting more bang for your buck :)
Well how else are we going to i
is kind of a loose word for it because it's just
a list of generators that increment at each tick.
The bytecode I'm generating there is really really bad, so it
runs pretty slow, but it definitely works. You might try playing
around with that.
Sincerely,
Michal J Wallace
Sabren En
ible with other languages, you're
more likely to get people to try your language for a small
chunk of code here and there, as people will be able to
use libraries they're familiar with your syntax. It'll help
people shorten their learning curve, in other words. (But
that's just my pr
> Does/should this also throw a NameError?
Looks like it:
>>> x = 1
>>> y = lambda : x
>>> del x
>>> z = y()
Traceback (most recent call last):
File "", line 1, in ?
File "", line 1, in
NameError: global name 'x' is not defined
Anyway, the short answer is I'm happy with the
solution I've got now. It's easy and it does
what I expect. But I'll happily change it if
you send me a patch. :)
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--
g about. So this probably
ought to be done at the AST code generation level.
Leo sent me a patch that does some basic type inference in pirate and
figures out when not to generate the extra PerlUndef. It's in the
method binaryExpression. (It's just not used yet because at the time
it w
On Sun, 17 Aug 2003, Benjamin Goldberg wrote:
> Michal Wallace wrote:
>
> > Uh-oh. I just went to implement "del x"
> > and there's no op to remove a variable
> > from a lexical pad! :)
>
> Why would you want to remove a variable from a lexical pad?
time: 22
[~/pirate]: parrot -O=2 weightless.imc
get_pmc_keyed() not implemented in class 'PerlInt'
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--
On Sat, 16 Aug 2003, Sean O'Rourke wrote:
> Michal Wallace <[EMAIL PROTECTED]> writes:
>
> > Tadaa!
>
> /me blinks at the list comprehensions.
:)
> Cool stuff. test_microthreads failed for
> some reason I still need to look into, but
> there's a
little touch, I thought :)
Anyway, I'm going to shift focus to some of
my other projects for a few weeks, but I'll
be back in september. (And I'll still be
around if anyone has bug reports or patches)
Thanks everyone for helping me get this far!
Sincerely,
Michal J W
On Sat, 16 Aug 2003, Sean O'Rourke wrote:
> Michal Wallace <[EMAIL PROTECTED]> writes:
> > I expected getprop to behave like find_lex
> > and throw an exception if the property doesn't
> > exist, but it doesn't:
>
> Are you sure that propert
7; for properties. (Nicer than
making prophash and then checking that to see if
it has a particular key)
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--
On Sat, 16 Aug 2003, Leopold Toetsch wrote:
> I have put in scratchpad_delete
>
> peek_pad P0
> delete P0["foo"]
>
> deletes names only.
Thanks! works great!
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contac
n't *trap* that StopIteration in a "try" block
unless I create the generator inside that same block.
Following is a detailed test case in imc that
illustrates the problem.
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [
_pad
.pcc_begin_yield
.return whatever
.pcc_end_yield
restoreall
So nevermind. :)
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--
Just tried out Kenneth Grave's yield stuff --
it works great!
But shouldn't .pcc_begin_yield and .pcc_end_yield
do "saveall" and "restoreall", respectively?
Is there a case where we wouldn't want this?
Sincerely,
Micha
Uh-oh. I just went to implement "del x"
and there's no op to remove a variable
from a lexical pad! :)
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--
On Fri, 15 Aug 2003, Leopold Toetsch wrote:
> PS: have a look at the rather new C opcode in PIR ;-)
Cool! :)
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: h
wrapper for the two vtables). I figure it would be
nice if we could just wrap the generic pyobject
interface, and then hopefully all the existing
python modules will just work. :)
Aside from that, I was going to follow Dan's lead.
Sincerely,
Michal J Wallac
"raise hell" is working great
with the new find_lex exceptions. Thanks! :)
Any plans to to add pow for PMC's?
What about separate ops for floor/true division?
http://www.python.org/doc/2.2.1/whatsnew/node7.html
Sincerely,
Michal J Wallace
Sabren E
t
wouldn't work?
Maybe there should be a register reserved
for an Array and another for a Hash (for
extra keyword arguments)?
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--
On Sat, 9 Aug 2003, Benjamin Goldberg wrote:
> Michal Wallace wrote:
> [snip]
> > def f():
> > return g()
> [snip]
> > # f from line 3
> > .pcc_sub _sub1 non_prototyped
> > .local object res1# (vi
will lead
> to an used once LHS, which the optimizer already can get rid of.
Well, if you write it, I'll have pirate inspect the AST
and try it out for you. :)
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--
On Sun, 10 Aug 2003, Vladimir Lipskiy wrote:
> > Seems to be related with the multiple freeing reported by Michael.
>
> I thought his name was Michal (:>8
yes, I was born without an e. :)
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
--
thing else went wrong."
(my code only gives you one except: block so far, but real
python lets you have as many as you like for different
types of exceptions)
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--
es0
res0 = new PerlInt
res0 = 1
.pcc_begin_return
.return res0
.pcc_end_return
goto endif0
elif0: ### else return 0
.local object res1
res1 = new PerlInt
res1 = 0
.pcc_begin_return
.return res1
.pcc_end_return
end
what I can do about wrapping
PyObject as a PMC...
Sincerely,
Michal J Wallace
Sabren Enterprises, Inc.
-
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--
On Mon, 11 Aug 2003, Thomas Vesper wrote:
> Michal Wallace wrote:
> > Out of curiosity, why does ~ map to both
> > unary bitwise-not and binary bitwise-xor
> > in imcc?
> >
> > I was expecting xor to be ^ and ^^
>
> See Apocalypse 3 for this.
> ^ was re
1 - 100 of 141 matches
Mail list logo