Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 392244 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_extension_ducktypes.patch
distutils_accomodate_extension_ducktypes.patch (text/plain), 931 bytes, created by
Greg Turner
on 2014-12-22 22:09:14 UTC
(
hide
)
Description:
distutils_accomodate_extension_ducktypes.patch
Filename:
MIME Type:
Creator:
Greg Turner
Created:
2014-12-22 22:09:14 UTC
Size:
931 bytes
patch
obsolete
>commit b3b180857bcca0f74100686aa0f2e80b51dca78e >Author: Gregory M. Turner <gmt@be-evil.net> >Date: Mon Dec 22 13:39:54 2014 -0800 > > distutils.command.build_ext: accomodate Extension duck-types > > Signed-off-by: Gregory M. Turner <gmt@be-evil.net> > >diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py >index 54ce134..8cee284 100644 >--- a/Lib/distutils/command/build_ext.py >+++ b/Lib/distutils/command/build_ext.py >@@ -366,7 +366,8 @@ class build_ext(Command): > "'ext_modules' option must be a list of Extension instances") > > for i, ext in enumerate(extensions): >- if isinstance(ext, Extension): >+ # Is it an Extension instance or duck-type thereof? >+ if hasattr(ext, 'define_macros'): > continue # OK! (assume type-checking done > # by Extension constructor) >
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