Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 205891 Details for
Bug 287439
dev-python/setuptools-0.6.8 fails tests with dev-lang/python:3.1 when {C,POSIX} locale is used
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
distribute-0.6.3-fix_tests.patch
distribute-0.6.3-fix_tests.patch (text/plain), 602 bytes, created by
Arfrever Frehtes Taifersar Arahesis (RETIRED)
on 2009-10-03 01:25:36 UTC
(
hide
)
Description:
distribute-0.6.3-fix_tests.patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis (RETIRED)
Created:
2009-10-03 01:25:36 UTC
Size:
602 bytes
patch
obsolete
>--- setuptools/command/easy_install.py >+++ setuptools/command/easy_install.py >@@ -1498,8 +1498,13 @@ > def is_sh(executable): > """Determine if the specified executable is a .sh (contains a #! line)""" > try: >- fp = open(executable) >+ fp = open(executable, "rb") > magic = fp.read(2) >+ if sys.hexversion >= 0x3000000: >+ try: >+ magic = magic.decode() >+ except UnicodeDecodeError: >+ magic = magic.decode("utf_8", "replace") > fp.close() > except (OSError,IOError): return executable > return magic == '#!'
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 287439
:
205891