Commit Graph

20 Commits

Author SHA1 Message Date
ENDOH takanao ad90fa86e2 Update to 3.2.3-2 2015-07-11 09:45:06 +07:00
ENDOH takanao 92ae05553b Merge pull request #2 from MeilleursAgents/fix_thread_module_import
Fix `thread` module import on Python 2.7
2015-07-11 09:17:49 +07:00
Nicolas Mussat 438927ed7b Fix `thread` module import on Python 2.7
The Python 2.7 `thread` module has been renamed to `_thread` in
Python3. This package was importing the `_thread` anyway, and was thus
fallbacking to the `dummy_thread32` module everytime, which is far from
failproof (eg. `lru_cache` decorator used in a WSGI app started on uWSGI
with threads enabled and high concurrency raises exceptions).

This fix loads the `thread` module accordingly, without trying to load
Python3 `_thread` module since setup.py prevents installation on Python 3 explicitly.

This package targets Python 2.7 only, as documented
2015-07-08 14:52:20 +02:00
MiCHiLU 8158f61bd7 Merge branch '3.2.3-1' 2012-09-19 13:46:09 +09:00
MiCHiLU 0f0722bb7f Bump version to 3.2.3-1 2012-09-19 13:44:55 +09:00
MiCHiLU e7fe83c329 Update gitignore 2012-09-19 13:38:55 +09:00
MiCHiLU a66cea5289 Fix import errors 2012-09-19 13:38:26 +09:00
MiCHiLU 756d0820a3 Add Travis CI badge 2012-09-19 12:57:16 +09:00
MiCHiLU dccdf52b05 Update README 2012-09-19 12:38:20 +09:00
MiCHiLU 7baddb671e Skip tests for PyPy 2012-09-19 12:37:07 +09:00
MiCHiLU 00ea218606 Remove test_support32 2012-09-19 12:37:07 +09:00
MiCHiLU ed7c037574 Add test_support from 2.7 2012-09-19 12:37:07 +09:00
MiCHiLU 983040b490 Add travis.yml 2012-09-19 12:37:07 +09:00
MiCHiLU 5673e3556e Fix 2012-09-19 10:26:31 +09:00
MiCHiLU ac8547656f Add TestOrderedDict from 3.2 2012-09-19 10:20:45 +09:00
MiCHiLU 1a469d771e Copy collections.OrderedDict from 3.2 2012-09-19 10:17:46 +09:00
MiCHiLU a2a9675e55 Import reprlib from 3.2 2012-09-19 10:17:46 +09:00
MiCHiLU aae066890c Import _dummy_thread from 3.2 2012-09-18 19:06:05 +09:00
MiCHiLU ba5101915c Import test.support from 3.2 2012-09-18 18:48:42 +09:00
MiCHiLU bf3427bd1b first commit 2012-09-18 18:32:48 +09:00