| 1 | --- |
| 2 | tags: news, python, non-technical |
| 3 | date: 2016-07-09 00:00 |
| 4 | title: Hypothesis for Python 3.4.1 Release |
| 5 | author: drmaciver |
| 6 | --- |
| 7 | |
| 8 | This is a bug fix release for a single bug: |
| 9 | |
| 10 | * On Windows when running two Hypothesis processes in parallel (e.g. |
| 11 | using pytest-xdist) they could race with each other and one would |
| 12 | raise an exception due to the non-atomic nature of file renaming on |
| 13 | Windows and the fact that you can’t rename over an existing file. |
| 14 | This is now fixed. |
| 15 | |
| 16 | ## Notes |
| 17 | |
| 18 | My tendency of doing immediate patch releases for bugs is unusual but |
| 19 | generally seems to be appreciated. In this case this was a bug that was |
| 20 | blocking |
| 21 | [a py.test merge](https://github.com/pytest-dev/pytest/pull/1705). |
| 22 | |
| 23 | I suspect this is not the last bug around atomic file creation on |
| 24 | Windows. Cross platform atomic file creation seems to be a harder |
| 25 | problem than I would have expected. |