FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 22 matches
Forum Index
Author Message
  Topic: Embeding
KirkMcDonald

Replies: 5
Views: 24163

PostForum: PyD   Posted: Sun Jan 13, 2008 4:16 am   Subject: Embeding
For the most part, you'll want to follow the [url=http://docs.python.org/ext/embedding.html]C tutorial, even in D. The python.d file just contains the bindings to the regular Python/C API. This API lo ...
  Topic: Class Wrap Build Problems
KirkMcDonald

Replies: 6
Views: 26844

PostForum: PyD   Posted: Thu Dec 06, 2007 6:33 pm   Subject: Re: Class Wrap Build Problems
I am having problem with wrapping classes, even the arraytest example does not work, so probably a problem with my D version. What is the version that are known to work?

I admit that I have been la ...
  Topic: segfault in passing arrays a lot
KirkMcDonald

Replies: 3
Views: 19671

PostForum: PyD   Posted: Fri Nov 23, 2007 3:10 pm   Subject: segfault in passing arrays a lot
Can you duplicate this bug in regular (non-Pyd-using) D code?
  Topic: Anyone had a go at Pyd for OS X?
KirkMcDonald

Replies: 3
Views: 19939

PostForum: PyD   Posted: Fri Nov 23, 2007 3:09 pm   Subject: Anyone had a go at Pyd for OS X?
Sorry for the delay in replying. I don't check this forum very often.

Yes! Please send me a patch! Though I don't have a Mac to test these things on, I am willing to add code supporting it.

This ...
  Topic: Building the "arraytest" example
KirkMcDonald

Replies: 1
Views: 15582

PostForum: PyD   Posted: Thu Aug 16, 2007 2:52 pm   Subject: Building the "arraytest" example
Fixed as of revision 122.
  Topic: Idea for adding D highlighting to the Trac code browser
KirkMcDonald

Replies: 11
Views: 57756

PostForum: Site   Posted: Thu Jul 19, 2007 3:15 pm   Subject: Idea for adding D highlighting to the Trac code browser
Pygments r3772 fixes the issue, and it should be working now.
  Topic: Building the simple the 'hello wolrd' module
KirkMcDonald

Replies: 2
Views: 18206

PostForum: PyD   Posted: Tue Jul 10, 2007 1:50 pm   Subject: Building the simple the 'hello wolrd' module
Pyd RC1 has issues with the latest versions of DMD:

(1) The 'ref' keyword was added in DMD 1.011. The Python header used 'ref' as an identifier in a couple of places.

(2) StackThreads stopped wo ...
  Topic: Idea for adding D highlighting to the Trac code browser
KirkMcDonald

Replies: 11
Views: 57756

PostForum: Site   Posted: Thu Jun 07, 2007 2:52 pm   Subject: Pygments
FYI, the dsource code browser is now using Pygments for source code highlighting, for which I wrote a D lexer (and which Jarrett also added a MiniD lexer for). Enjoy!
  Topic: numpy array support?
KirkMcDonald

Replies: 4
Views: 23774

PostForum: PyD   Posted: Fri Jun 01, 2007 2:46 am   Subject: numpy array support?
In order to map between D arrays and NumPy arrays directly, I would have to find some way to reach into NumPy's innards and grab a slice of the NumPy array's internal buffer. I don't know nearly enoug ...
  Topic: How to create a reference from an object created in python
KirkMcDonald

Replies: 1
Views: 16953

PostForum: PyD   Posted: Wed May 23, 2007 10:32 am   Subject: How to create a reference from an object created in python
What is the D class storing, exactly? A D Object or a PyObject*? If it is storing PyObject*s, you will have to deal with reference counts like any code using the Python/C API. (That is, you'll have to ...
  Topic: WinXP PyD installation help, please
KirkMcDonald

Replies: 4
Views: 70877

PostForum: PyD   Posted: Sun Apr 29, 2007 3:09 pm   Subject: WinXP PyD installation help, please
Odd. I've never seen that before. I agree, it looks like celerid's hotpatch isn't taking effect, and I am also baffled as to how that could happen.

The only thing that is jumping out at me is " ...
  Topic: Interface wrapping
KirkMcDonald

Replies: 1
Views: 17761

PostForum: PyD   Posted: Thu Feb 22, 2007 7:31 pm   Subject: Interface wrapping
This is moderately easy to do, and I had already added it to the roadmap for RC2 before seeing this thread. The inheritance docs have had a note at the bottom for a while, saying I wanted to do this. ...
  Topic: Pyd status
KirkMcDonald

Replies: 5
Views: 25198

PostForum: PyD   Posted: Wed Feb 21, 2007 7:11 pm   Subject: Pyd status
This thread has been replaced by my blog: http://kirkmcdonald.blogspot.com
  Topic: setup.py install to many files
KirkMcDonald

Replies: 1
Views: 15305

PostForum: PyD   Posted: Wed Feb 21, 2007 4:46 pm   Subject: setup.py install to many files
This is probably true. I'll take a look at only installing necessary files.
  Topic: ORM in D
KirkMcDonald

Replies: 2
Views: 13311

PostForum: DDBI   Posted: Thu Jan 18, 2007 4:23 pm   Subject: ORM in D
My prototype is doing something closer to this:

import std.stdio : writefln;
import std.string : toString;

interface IField {
// ...
}

class IntField : IField  ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group