celery/billiard — pull request #51 by nott (2013-04-28 16:05:53+00:00)
Title: Fix billiard.pool for Python 3.2

```python
Python 3.2.3 (default, Apr 28 2013, 16:18:44)
[GCC 4.8.0 20130411 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import billiard.pool
Traceback (most recent call last):
File "", line 1, in
File "billiard/pool.py", line 122, in
class LaxBoundedSemaphore(_Semaphore):
TypeError: function() argument 1 must be code, not str
```

`threading.Semaphore` is a function in Python<=3.2 and a class in Python 3.3.

Billiard considered it to be a class in Python>=3.0.