Bug 578711 - urllib2_kerberos non-functional on EL5 due to Python 2.5-isms
Summary: urllib2_kerberos non-functional on EL5 due to Python 2.5-isms
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-urllib2_kerberos
Version: el5
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1065576
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-01 06:40 UTC by Ian Ward Comfort
Modified: 2018-04-11 13:11 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-16 00:05:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to port urllib2_kerberos to Python 2.4 (1.07 KB, patch)
2010-04-01 06:40 UTC, Ian Ward Comfort
no flags Details | Diff
patch2 for python-urllib2_kerberos (1.35 KB, patch)
2011-09-06 08:01 UTC, Clement VARALDI
no flags Details | Diff

Description Ian Ward Comfort 2010-04-01 06:40:39 UTC
Created attachment 403894 [details]
Patch to port urllib2_kerberos to Python 2.4

Though the python-urllib2_kerberos package builds on (and is built for) EPEL 5, the package is non-functional on EL5, as urllib2_kerberos uses syntax introduced with Python 2.5, and EL5 ships Python 2.4.3.  (Specifically, the package uses string.rpartition, "try ... finally" and ternary "a if cond else b".)

I'm attaching a patch which applies to urllib2_kerberos 0.1.6, and ports that software to Python 2.4.  It would be great if this patch could be conditionally applied to EPEL 5 builds of this package.

Comment 1 Clement VARALDI 2011-09-06 08:01:02 UTC
Created attachment 521602 [details]
patch2 for python-urllib2_kerberos

hi

any news on this bug?
Here is an other patch proposed by our dev team, for the same requirements.

Thanks

Comment 2 Matěj Cepl 2014-07-03 15:44:10 UTC
I have patch for this in the package which I will release once I understand the issue with bug 1115513

Comment 3 Matěj Cepl 2014-09-16 00:05:13 UTC
steve.traylen already fixed the issue somehow, so I won't touch it again.


Note You need to log in before you can comment on or make changes to this bug.