1
Description: Upstream changes introduced in version 2.26-2
2
This patch has been created by dpkg-source during the package build.
3
Here's the last changelog entry, hopefully it gives details on why
4
those changes were made:
6
python-distutils-extra (2.26-2) unstable; urgency=low
9
* DistUtilsExtra/auto.py: Fix ValueError crash when scanning the
10
ctypes.wintypes import. (LP: #735698)
12
The person named in the Author field signed this changelog entry.
13
Author: Martin Pitt <mpitt@debian.org>
14
Bug-Ubuntu: https://bugs.launchpad.net/bugs/735698
17
The information above should follow the Patch Tagging Guidelines, please
18
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
19
are templates for supplementary fields that you might want to add:
21
Origin: <vendor|upstream|other>, <url of original patch>
22
Bug: <url in upstream bugtracker>
23
Bug-Debian: http://bugs.debian.org/<bugnumber>
24
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
25
Forwarded: <no|not-needed|url proving that it has been forwarded>
26
Reviewed-By: <name and email of someone who approved the patch>
27
Last-Update: <YYYY-MM-DD>
29
--- python-distutils-extra-2.26.orig/DistUtilsExtra/auto.py
30
+++ python-distutils-extra-2.26/DistUtilsExtra/auto.py
31
@@ -325,6 +325,8 @@ def __external_mod(module, attrs):
33
except AttributeError: # builtin modules
35
+ except ValueError: # weird ctypes case with wintypes
38
return 'dist-packages' in path or 'site-packages' in path or \
39
not path.startswith(os.path.dirname(os.__file__))