Re: Questions on NCI for nasty library

2004-08-14 Thread Leopold Toetsch
Hildo Biersma [EMAIL PROTECTED] wrote: This thread got side-track with perl5 issues, so let me ask again: - Are there any examples of creating a PMC class that maps to a C structure, with the PMC class (in C) setting defaults and adding accessor methods? The UnmanagedStruct PMC allows

Re: PMC semantics - integer

2004-08-14 Thread Leopold Toetsch
Dan Sugalski [EMAIL PROTECTED] wrote: At 1:43 PM +0200 8/10/04, Leopold Toetsch wrote: We currently have two integer PMCs, we need another one for Python. But before just copypaste another file, I'd really have done that right. I think what we need's a policy here. Larry's weighed in on what

Re: Questions about Exceptions Re: What Unicode means to us

2004-08-14 Thread Larry Wall
On Sat, Aug 14, 2004 at 12:26:23AM -0400, Michael Stone wrote: : Finally, (and I'm just thinking about charset stuff here), exceptions : frequently involve a bit of string processing. So if the : charset/encoding code starts throwing exceptions, how do we write the : string processing that

Re: Questions on NCI for nasty library

2004-08-14 Thread chromatic
On Fri, 2004-08-13 at 23:47, Leopold Toetsch wrote: Hildo Biersma [EMAIL PROTECTED] wrote: - How do I define a class with constant values that are accessible to other classes? I'd just create an include file with the constants. The dot isn't allowed in identifiers, so you would need a

Re: [perl #31026] Fix generation of src/nci.c to be more efficient

2004-08-14 Thread Leopold Toetsch
Chromatic [EMAIL PROTECTED] wrote: Oh yeah, the goal of this exercise was to cache the hash, Thanks, applied. It still complains about passing constant C-strings to hash_put() fixed. leo

[perl #31119] [PATCH] portability tweak for config/gen/platform/generic/math.c

2004-08-14 Thread via RT
# New Ticket Created by Jarkko Hietaniemi # Please include the string: [perl #31119] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31119 Doesn't help for the IRIX64 t/pmc/perlnum_36.pasm problem but at least

[Fwd: [PATCH] Re: [perl #31046] IRIX64 perlnum_36 float output expectation]

2004-08-14 Thread Jarkko Hietaniemi
Still not seeing this in p6i, so resending. Original Message Subject: [PATCH] Re: [perl #31046] IRIX64 perlnum_36 float output expectation Date: Sat, 14 Aug 2004 15:18:01 +0300 From: Jarkko Hietaniemi [EMAIL PROTECTED] To: [EMAIL PROTECTED] References: [EMAIL PROTECTED] Duh.

Re: Handling block parameters in Ruby

2004-08-14 Thread mark sparshatt
Larry Wall wrote: On Fri, Aug 13, 2004 at 02:12:06PM +0100, mark sparshatt wrote: : My main worry with this approach is how it would interact with slurpy : args. I mean if method is defined as : : def method(*args) : ... : end : : how do I make sure that $clos doesn't become part of args? In

[perl #31112] [PATCH] Add --include directive to pmc2c2.pl

2004-08-14 Thread via RT
# New Ticket Created by Mattia Barbon # Please include the string: [perl #31112] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31112 Hello, the attached patch adds a --include command line options specifying

[perl #31113] [PATCH] Parrot_load_bytecode fixes

2004-08-14 Thread via RT
# New Ticket Created by Mattia Barbon # Please include the string: [perl #31113] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31113 Hello, this patch allows calling Parrot_load_bytecode when there is no active

[perl #31114] [PATCH] Dynext functions

2004-08-14 Thread via RT
# New Ticket Created by Mattia Barbon # Please include the string: [perl #31114] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31114 Hello, I am not sure about this patch. It splits part of Parrot_load_lib into

[perl #31115] [PATCH] Vtable manipolation functions

2004-08-14 Thread via RT
# New Ticket Created by Mattia Barbon # Please include the string: [perl #31115] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31115 Hello, this patch adds two functions to the extension interface: void

Re: Something broke for me

2004-08-14 Thread Michel Pelletier
On Sat, 14 Aug 2004 09:17:25 +0200 Leopold Toetsch [EMAIL PROTECTED] wrote: Michel Pelletier [EMAIL PROTECTED] wrote: The first is multi-inheritance stopped working, but that's not as big a deal as the new problem. I've changed a few bits in object code during Pie-thon hacking, which is