[ANN] Atomos 0.1.0 - Atomic primitives for Python

2014-10-10 Thread Max Countryman
Hi, I would like to announce the initial release of Atomos, a library that provides atomic primitives a la java.util.concurrent.atomic as well as a Python implementation of Clojure’s atoms. Atomos targets applications which benefit from threads and wish to eliminate race conditions between the

Code Review: a framework for writing IRC applications or bots

2011-10-12 Thread Max Countryman
Hi all, I'm still very much a learner when it comes to Python but I've been working on a little framework the past few weeks to help me in the learning process and I would like it if the more experienced members of the community could give me some advice on the design considerations and general

Re: PUT with proxy-support

2011-08-25 Thread Max Countryman
Check out the python Requests module: http://docs.python-requests.org/en/latest/index.html Sent from my iPhone On Aug 25, 2011, at 7:07, Shashwat Anand wrote: > I want to make a PUT request. > I need some headers of my own ( certificates etc ) and I need to mandatorily > use a proxy. > Also t

Re: how to call a function for evry 10 secs

2011-06-29 Thread Max Countryman
Yeah it won't work. Recursion depth will be reached. Steven's suggestion is much better. -- Max Countryman +1-917-971-8472 On Wednesday, June 29, 2011 at 2:05 PM, santosh h s wrote: > how to end ths over a period of time > > On Wed, Jun 29, 2011 at 11:25 PM, Max Co

Re: Python programming

2010-12-22 Thread Max Countryman
>>> 5 in [2, 6, 5] True Sent from my iPhone On Dec 22, 2010, at 20:22, Maurice Shih wrote: > Dear python-list@python.org, > Thank you for taking the time to listen to my request. I'm a beginner > programmer and I se python 2.6. I am making a program that needs a command > that can check if a

while True or while 1

2010-12-12 Thread Max Countryman
I'm sure this has been brought up many times, but a quick Googling didn't yield the decisive results I was hoping for, so I apologize if this has already been addressed in great detail somewhere else. I am wondering what the rationale is behind preferring while True over while 1? For me, it see