trouble with SFNAE3203 (2/6/2011 2:49:26 AM) comp.lang.c++.moderated I was trying out SFNAE techniques for the first time, and having some
trouble with it. Does anyone see what I'm doing wrong here?
template
struct enable_if {
typedef T type;
};
template
struct en... Brendan
move only types in standard containers4185 (4/26/2010 2:52:48 AM) comp.lang.c++.moderated I'm trying to use a type that is moveable, but not copyable, in a
standard container, in this case an unordered_map. When I try to
insert it, I get complaints about a deleted copy constructor. I
thought that... Brendan
unique_ptr and rvalue question3200 (3/29/2010 12:47:33 AM) comp.lang.c++.moderated I have a unique_ptr type:
typedef std::unique_ptr unique_fd;
In a function that returned unique_fd I use it like this:
unique_fd u_sock = make_unique_fd(sock);
if (bind(*u... Brendan
r"string" vs R"string121 (1/17/2010 6:55:10 AM) comp.lang.python Is there any difference whatsoever between a raw string beginning with the captical R or one with the lower case r e.g. r"string" vs R"string"? ... Brendan
PyHeapTypeObject121 (4/12/2009 12:36:10 AM) comp.lang.python What's the point of PyHeapTypeObject in Include/object.h? Why does the layout of object types need to be different on the heap vs statically allocated? Thanks, Brendan ... Brendan
py2exe linux equivalent152 (3/20/2009 7:59:17 PM) comp.lang.python I have a python application that I want to package up and deploy to various people using RHEL 4. I'm using python 2.6 to develop the app. The RHEL 4 machines have an older version of python I'd rather not code... Brendan
PyYaml in standard library?015 (2/18/2009 9:11:09 AM) comp.lang.python I'm just curious whether PyYaml is likely to end up in the standard library at some point? ... Brendan
install modules for specific python version128 (2/1/2009 1:00:05 AM) comp.lang.python -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have several version of python running side by side on my ubuntu install (2.5,2.6,3.0). I'm installing a module with a setup.py script, in this case logilab-com... Brendan
catphive's replies:
Items(6) /1
portable fork+exec/spawn323 (5/2/2008 2:17:34 AM) comp.lang.python I want to spawn a child process based on an external executable that I have the path for. I then want to wait on that executable, and capture it's output. In the os module, fork is only supported on unix, but ... catphive(45)
portable /dev/null622 (5/2/2008 7:20:04 PM) comp.lang.python Hi, I have functions that take a file object and write to it. In some cases I just want to throw out what is written to that file object. I want something like open('/dev/null', 'w'), but portable. It needs t... catphive(45)
best python unit testing framwork1011 (11/11/2008 10:59:29 PM) comp.lang.python What would heavy python unit testers say is the best framework? I've seen a few mentions that maybe the built in unittest framework isn't that great. I've heard a couple of good things about py.test and nose. ... catphive(45)
what's the point of rpython?10521 (1/17/2009 12:37:39 AM) comp.lang.python So I kind of wanted to ask this question on the pypy mailing list.. but there's only a pypy-dev list, and I don't want to put noise on the dev list. What's the point of RPython? By this, I don't mean "What is ... catphive(45)
good books for practising C programmer?259 (2/23/2011 3:31:59 AM) comp.lang.c.moderated There are plenty of good C books out there, starting from the classic
"The C Programming Language", but I find them inadequate sometimes.
I'd like to know if there is a good C book which deals with
programmi... K4