Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 392636 Details for
Bug 532708
dev-python/pyzmq-14.4.1 - error: each element of 'ext_modules' option must be an Extension instance or 2-tuple
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
distutils_accomodate_distribution_ducktypes.patch
distutils_accomodate_distribution_ducktypes.patch (text/plain), 726 bytes, created by
Greg Turner
on 2014-12-29 11:32:52 UTC
(
hide
)
Description:
distutils_accomodate_distribution_ducktypes.patch
Filename:
MIME Type:
Creator:
Greg Turner
Created:
2014-12-29 11:32:52 UTC
Size:
726 bytes
patch
obsolete
>diff -rpNu1 a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py >--- a/Lib/distutils/cmd.py 2014-12-10 07:59:34.000000000 -0800 >+++ b/Lib/distutils/cmd.py 2014-12-29 03:06:14.217957515 -0800 >@@ -52,6 +52,6 @@ class Command: > """ >- # late import because of mutual dependence between these classes >- from distutils.dist import Distribution >- >- if not isinstance(dist, Distribution): >+ # dist should quack like a Distribution (duck-typing avoids a >+ # circular dependency and hopefully ameliorates trouble due to >+ # setuptools having monkey patched distutils modules). >+ if not hasattr(dist, 'get_requires'): > raise TypeError, "dist must be a Distribution instance"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 532708
:
391818
|
391896
|
391898
|
391902
|
392216
|
392244
| 392636