prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  1.0 release
  http://semver.org
  
  > Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.
  
  Should we bump our version number all the way to 1.0 for the next release?
  
  
  </issue>
  <code>
  [start of src/cryptography/__about__.py]
  1 # This file is dual licensed under the terms of the Apache License, Version
  2 # 2.0, and the BSD License. See the LICENSE file in the root of this repository
  3 # for complete details.
  4 
  5 from __future__ import absolute_import, division, print_function
  6 
  7 __all__ = [
  8     "__title__", "__summary__", "__uri__", "__version__", "__author__",
  9     "__email__", "__license__", "__copyright__",
  10 ]
  11 
  12 __title__ = "cryptography"
  13 __summary__ = ("cryptography is a package which provides cryptographic recipes"
  14                " and primitives to Python developers.")
  15 __uri__ = "https://github.com/pyca/cryptography"
  16 
  17 __version__ = "0.10.dev1"
  18 
  19 __author__ = "The cryptography developers"
  20 __email__ = "cryptography-dev@python.org"
  21 
  22 __license__ = "BSD or Apache License, Version 2.0"
  23 __copyright__ = "Copyright 2013-2015 {0}".format(__author__)
  24
  [end of src/cryptography/__about__.py]
  [start of vectors/cryptography_vectors/__about__.py]
  1 # This file is dual licensed under the terms of the Apache License, Version
  2 # 2.0, and the BSD License. See the LICENSE file in the root of this repository
  3 # for complete details.
  4 
  5 from __future__ import absolute_import, division, print_function
  6 
  7 __all__ = [
  8     "__title__", "__summary__", "__uri__", "__version__", "__author__",
  9     "__email__", "__license__", "__copyright__",
  10 ]
  11 
  12 __title__ = "cryptography_vectors"
  13 __summary__ = "Test vectors for the cryptography package."
  14 
  15 __uri__ = "https://github.com/pyca/cryptography"
  16 
  17 __version__ = "0.10.dev1"
  18 
  19 __author__ = "The cryptography developers"
  20 __email__ = "cryptography-dev@python.org"
  21 
  22 __license__ = "BSD or Apache License, Version 2.0"
  23 __copyright__ = "Copyright 2013-2015 %s" % __author__
  24
  [end of vectors/cryptography_vectors/__about__.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/src/cryptography/__about__.py b/src/cryptography/__about__.py
  --- a/src/cryptography/__about__.py
  +++ b/src/cryptography/__about__.py
  @@ -14,7 +14,7 @@
                  " and primitives to Python developers.")
   __uri__ = "https://github.com/pyca/cryptography"
   
  -__version__ = "0.10.dev1"
  +__version__ = "1.0.dev1"
   
   __author__ = "The cryptography developers"
   __email__ = "cryptography-dev@python.org"
  diff --git a/vectors/cryptography_vectors/__about__.py b/vectors/cryptography_vectors/__about__.py
  --- a/vectors/cryptography_vectors/__about__.py
  +++ b/vectors/cryptography_vectors/__about__.py
  @@ -14,7 +14,7 @@
   
   __uri__ = "https://github.com/pyca/cryptography"
   
  -__version__ = "0.10.dev1"
  +__version__ = "1.0.dev1"
   
   __author__ = "The cryptography developers"
   __email__ = "cryptography-dev@python.org"
  
verification_info: {"golden_diff": "diff --git a/src/cryptography/__about__.py b/src/cryptography/__about__.py\n--- a/src/cryptography/__about__.py\n+++ b/src/cryptography/__about__.py\n@@ -14,7 +14,7 @@\n                \" and primitives to Python developers.\")\n __uri__ = \"https://github.com/pyca/cryptography\"\n \n-__version__ = \"0.10.dev1\"\n+__version__ = \"1.0.dev1\"\n \n __author__ = \"The cryptography developers\"\n __email__ = \"cryptography-dev@python.org\"\ndiff --git a/vectors/cryptography_vectors/__about__.py b/vectors/cryptography_vectors/__about__.py\n--- a/vectors/cryptography_vectors/__about__.py\n+++ b/vectors/cryptography_vectors/__about__.py\n@@ -14,7 +14,7 @@\n \n __uri__ = \"https://github.com/pyca/cryptography\"\n \n-__version__ = \"0.10.dev1\"\n+__version__ = \"1.0.dev1\"\n \n __author__ = \"The cryptography developers\"\n __email__ = \"cryptography-dev@python.org\"\n", "issue": "1.0 release\nhttp://semver.org\n\n> Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.\n\nShould we bump our version number all the way to 1.0 for the next release?\n\n", "before_files": [{"content": "# This file is dual licensed under the terms of the Apache License, Version\n# 2.0, and the BSD License. See the LICENSE file in the root of this repository\n# for complete details.\n\nfrom __future__ import absolute_import, division, print_function\n\n__all__ = [\n    \"__title__\", \"__summary__\", \"__uri__\", \"__version__\", \"__author__\",\n    \"__email__\", \"__license__\", \"__copyright__\",\n]\n\n__title__ = \"cryptography\"\n__summary__ = (\"cryptography is a package which provides cryptographic recipes\"\n               \" and primitives to Python developers.\")\n__uri__ = \"https://github.com/pyca/cryptography\"\n\n__version__ = \"0.10.dev1\"\n\n__author__ = \"The cryptography developers\"\n__email__ = \"cryptography-dev@python.org\"\n\n__license__ = \"BSD or Apache License, Version 2.0\"\n__copyright__ = \"Copyright 2013-2015 {0}\".format(__author__)\n", "path": "src/cryptography/__about__.py"}, {"content": "# This file is dual licensed under the terms of the Apache License, Version\n# 2.0, and the BSD License. See the LICENSE file in the root of this repository\n# for complete details.\n\nfrom __future__ import absolute_import, division, print_function\n\n__all__ = [\n    \"__title__\", \"__summary__\", \"__uri__\", \"__version__\", \"__author__\",\n    \"__email__\", \"__license__\", \"__copyright__\",\n]\n\n__title__ = \"cryptography_vectors\"\n__summary__ = \"Test vectors for the cryptography package.\"\n\n__uri__ = \"https://github.com/pyca/cryptography\"\n\n__version__ = \"0.10.dev1\"\n\n__author__ = \"The cryptography developers\"\n__email__ = \"cryptography-dev@python.org\"\n\n__license__ = \"BSD or Apache License, Version 2.0\"\n__copyright__ = \"Copyright 2013-2015 %s\" % __author__\n", "path": "vectors/cryptography_vectors/__about__.py"}]}