unit test strategy922 (9/15/2012 2:59:29 AM) comp.lang.python Hello,
I've developing a test script. There's a lot of repetition. I want to int=
roduce a strategy for approaching it, but I don't want the program to be di=
scredited because of the test script. There... Aaron
set and dict iteration4429 (8/16/2012 6:00:01 PM) comp.lang.python Hello,
I observed an inconsistency in the behavior of 'set' and 'dict' iterators. =
It is "by design" according to the docs.
'''
http://docs.python.org/dev/library/stdtypes.html#dict-views
iter(dict... Aaron
persistent composites2121 (6/14/2009 2:27:29 PM) comp.lang.python Hi, please forgive the multi-posting on this general topic. Some time ago, I recommended a pursuit of keeping 'persistent composite' types on disk, to be read and updated at other times by other processes. Da... Aaron
hash and __eq__1522 (5/30/2009 6:20:47 PM) comp.lang.python I am writing a mapping object, and I want to ask about the details of __hash__ and __eq__. IIUC if I understand correctly, the Python dict's keys' hash codes are looked up first in O( 1 ), then all the matchin... Aaron
Why bool( object )?3013 (4/28/2009 6:11:11 AM) comp.lang.python What is the rationale for considering all instances true of a user- defined type? Is it strictly a practical stipulation, or is there something conceptually true about objects? ''' object.__bool__(self) If a ... Aaron
relation class517 (4/22/2009 12:51:47 AM) comp.lang.python Hi all, I think Python should have a relation class in the standard library. Fat chance. I want to write a recipe for it, but I don't know how. I want your advice on some of the trade-offs, what it should lo... Aaron
hashing and collision detection033 (4/7/2009 1:43:11 PM) comp.lang.python Hi group, You are making good on your promise from a year ago: "This is a helpful group. Give us more to go on, and you are likely to receive thousands of dollars worth of consulting for free." http://groups.g... Aaron
deadlock detection532 (4/2/2009 12:34:39 PM) comp.programming Hello, Is anyone interested in a method for detecting deadlocks? I think I've found one, not to step on any toes or anything. The mechanism may not be available in all systems. For example, Windows uses nam... Aaron
pygame and socket.recv1614 (4/2/2009 12:58:59 AM) comp.lang.python Hi, I tried writing a small game on a pygame layer. The graphics are fine, and at the moment, it is not graphics intensive. It is multi- player, and for the communication, I am sending a pickle string across... Aaron
complaints about no replies last week1624 (3/28/2009 3:07:19 PM) comp.lang.python Hi, A week ago, I posted a question and an idea about Python's garbage collector. I got a few replies. Some days later, I posted a mock-up implementation of it, and got *NO* replies. Does this mean: a) It ... Aaron
can it be shorter?1823 (6/6/2009 3:07:58 PM) comp.lang.python I want to ensure that the url ends with a '/', now I have to do thisa like below. url = url + '' if url[-1] == '/' else '/' Is there a better way? ... tsangpo.newsgroup(3)
Question about None2632 (6/12/2009 2:05:29 PM) comp.lang.python Kind people, Using Python 3.0 on a Gatesware machine (XP). I am building a class in which I want to constrain the types that can be stored in various instance variables. For instance, I want to be certain tha... paul.lafollette(4)
persistent composites2121 (6/14/2009 2:27:29 PM) comp.lang.python Hi, please forgive the multi-posting on this general topic. Some time ago, I recommended a pursuit of keeping 'persistent composite' types on disk, to be read and updated at other times by other processes. Da... castironpi(1589)
Exotic Logics1813 (6/17/2009 5:46:14 AM) comp.lang.python I was staring at a logic table the other day, and I asked myself, "what if one wanted to play with exotic logics; how might one do it?" I did some searching but not being too sure of what to look for and carrie... mr.william.clifford(7)
fastest native python database?1128 (6/18/2009 3:28:43 AM) comp.lang.python hi all, i'm looking for a native python package to run a very simple data base. i was originally using cpickle with dictionaries for my problem, but i was making dictionaries out of very large text files (arou... perfreem(46)
Rich comparison methods don't work in sets?1319 (6/19/2009 7:02:44 PM) comp.lang.python Hello, everyone. I've noticed that if I have a class with so-called "rich comparison" methods (__eq__, __ne__, etc.), when its instances are included in a set, set.__contains__/__eq__ won't call the .__eq__ me... me8985(14)
set and dict iteration4429 (8/16/2012 6:00:01 PM) comp.lang.python Hello,
I observed an inconsistency in the behavior of 'set' and 'dict' iterators. =
It is "by design" according to the docs.
'''
http://docs.python.org/dev/library/stdtypes.html#dict-views
iter(dict... castironpi(1589)
Looking for an IPC solution1031 (8/31/2012 7:04:54 PM) comp.lang.python There are just so many IPC modules out there. I'm looking for a solution
for developing a new a multi-tier application. The core application will
be running on a single computer, so the IPC should be using ... gandalf6471(289)
unit test strategy922 (9/15/2012 2:59:29 AM) comp.lang.python Hello,
I've developing a test script. There's a lot of repetition. I want to int=
roduce a strategy for approaching it, but I don't want the program to be di=
scredited because of the test script. There... castironpi(1589)