Bug 794632
Summary: | Python 2.6 installation is not 64 bit clean | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Chris Hoge <hoge> | ||||
Component: | python | Assignee: | Petr Viktorin (pviktori) <pviktori> | ||||
Status: | CLOSED ERRATA | QA Contact: | Branislav NĂ¡ter <bnater> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.2 | CC: | bkabrda, bnater, dkutalek, pviktori, rkuska | ||||
Target Milestone: | rc | Keywords: | Patch | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | python-2.6.6-55.el6 | Doc Type: | Bug Fix | ||||
Doc Text: |
Cause:
fileobject.c uses a 32 bit value for INT_MAX (2147483647)
Consequence:
Iteration over files bigger than 2147483647B fails with Exception
Fix:
Use Py_ssize_t value which has the same size as the compiler's size_t type instead of int value
Result:
It's possible to iteratete over big files (<(2^64/2)B)
|
Story Points: | --- | ||||
Clone Of: | |||||||
: | 1271760 1329141 (view as bug list) | Environment: | |||||
Last Closed: | 2015-07-22 06:39:15 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Chris Hoge
2012-02-17 06:39:12 UTC
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. Upstream issue: http://bugs.python.org/issue22526 Fix for 2.7: https://hg.python.org/cpython/rev/beadb3e1dc81 Created attachment 977785 [details]
Backported patch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1330.html |