Skip to navigation

Bug Fix Advisory python bug fix and enhancement update

Advisory: RHBA-2013:0045-1
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2013-01-07
Last updated on: 2013-01-07
Affected Products: RHEL Desktop Workstation (v. 5 client)
Red Hat Enterprise Linux (v. 5 server)
Red Hat Enterprise Linux Desktop (v. 5 client)

Details

Updated python packages that fix several bugs and add one enhancement are now
available for Red Hat Enterprise Linux 5.

Python is an interpreted, interactive, object-oriented programming language
often compared to Tcl, Perl, Scheme or Java. Python includes modules, classes,
exceptions, very high level dynamic data types and dynamic typing. Python
supports interfaces to many system calls and libraries, as well as to various
windowing systems (X11, Motif, Tk, Mac and MFC).

This update fixes the following bugs:

* Prior to this update, calling the logging.config.fileConfig() function failed
when the logging handlers already existed. Consequently, a KeyError occured in
the atexit() call to the logging.shutdown() function. With this update, a fix
has been added into logging.config.fileConfig() in order to lose previously
existing handlers. As a result, the KeyError no longer occurs. (BZ#573782)

* IDLE is an integrated development environment for Python. With this update,
support to run multiple instances of IDLE on a server has been added. As a
result, multiple users can now use IDLE at the same time. (BZ#638514)

* Previously, the os.chown() function failed on 32-bit architectures when the
UID and GID parameters contained numeric values greater than 2147483647
(0x7fffffff). Consequently, an error occurred with the following message:

OverflowError: signed integer is greater than maximum

This bug has been fixed and the os.chown function now handles larger
identification numbers correctly. (BZ#640523)

* Previously, the fcntl.ioctl() function failed on 32-bit architectures when the
op parameter contained a numeric value greater than 2147483647 (0x7fffffff).
Consequently, an error occurred with the following message:

OverflowError: signed integer is greater than maximum

This bug has been fixed and the fcntl.ioctl function now handles larger request
codes correctly. (BZ#822072)

* Due to a flaw in the Makefile.pre.in file, occasional compilation or link
errors appeared when Python was rebuilt on systems with more than one CPU core.
This bug has been fixed, and Python can now be rebuilt on multiple-core
processing units without the aforementioned errors. (BZ#701277)

* Previously, a memory leak occurred when Python was used with the
_japanese_codecs module. This bug has been fixed, and the memory leak no longer
occurs in the described scenario. (BZ#701569)

This update also adds the following enhancement:

* The gdb debugger has been enhanced to allow more effective debugging of Python
code. The added hooks enable gdb to display human-readable representations of
Python objects within the process being debugged. As a result, backtraces
involving Python are now easier to read, and the new hooks enhance the
effectiveness of the debugging process. (BZ#644661)

All users of Python are advised to upgrade to these updated packages, which fix
these bugs and add this enhancement.


Solution

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258

Updated packages

RHEL Desktop Workstation (v. 5 client)

SRPMS:
python-2.4.3-56.el5.src.rpm     MD5: 5032c54203b0d7d2ff57579013c0d1b4
SHA-256: b123486495b73fb46e140414f31e80ff2a7a8d0541f5a22b190bf53212926441
 
IA-32:
python-debuginfo-2.4.3-56.el5.i386.rpm     MD5: 8e95640144a1149bf18dbe5c94999862
SHA-256: f0be6f956ccfd1597e77816d410a8b3e63f162a88aaea4c73d6c4749820c28f3
python-devel-2.4.3-56.el5.i386.rpm     MD5: bebdc2ed7dbf1644cbd9bf32d1c71714
SHA-256: 1fd83dcfefcc2aa186fcae79f6b3afe9a6049036e36cd79344f904e159553307
 
x86_64:
python-debuginfo-2.4.3-56.el5.i386.rpm     MD5: 8e95640144a1149bf18dbe5c94999862
SHA-256: f0be6f956ccfd1597e77816d410a8b3e63f162a88aaea4c73d6c4749820c28f3
python-debuginfo-2.4.3-56.el5.x86_64.rpm     MD5: 485402204d51d911e79d7ac9d91bfa88
SHA-256: ee96dd7bd66e1da8979a56d16ea7b565efe730577ad67b4906eb17deffe44e1c
python-devel-2.4.3-56.el5.i386.rpm     MD5: bebdc2ed7dbf1644cbd9bf32d1c71714
SHA-256: 1fd83dcfefcc2aa186fcae79f6b3afe9a6049036e36cd79344f904e159553307
python-devel-2.4.3-56.el5.x86_64.rpm     MD5: 8ace0bc03be45088679ad5e174cce61b
SHA-256: d5deea756a33726d60d21672c22010e8e27bc3a8c31755503e3889294f156721
 
Red Hat Enterprise Linux (v. 5 server)

SRPMS:
python-2.4.3-56.el5.src.rpm     MD5: 5032c54203b0d7d2ff57579013c0d1b4
SHA-256: b123486495b73fb46e140414f31e80ff2a7a8d0541f5a22b190bf53212926441
 
IA-32:
python-2.4.3-56.el5.i386.rpm     MD5: 46d68905ef35d8d410470bc88c2fe777
SHA-256: 694c2a1d109b675b794b2a64257dfe80cb75a6da3cbe20fdabe0f065711cf76b
python-debuginfo-2.4.3-56.el5.i386.rpm     MD5: 8e95640144a1149bf18dbe5c94999862
SHA-256: f0be6f956ccfd1597e77816d410a8b3e63f162a88aaea4c73d6c4749820c28f3
python-devel-2.4.3-56.el5.i386.rpm     MD5: bebdc2ed7dbf1644cbd9bf32d1c71714
SHA-256: 1fd83dcfefcc2aa186fcae79f6b3afe9a6049036e36cd79344f904e159553307
python-libs-2.4.3-56.el5.i386.rpm     MD5: 11f437e5719feadbcaded82827379e3e
SHA-256: af3cbb73c18964043024a9d9e5c3179686ba30ad96d87daf395c631d1c5fd716
python-tools-2.4.3-56.el5.i386.rpm     MD5: 59c06d02ccb1e9415b6e2418efcdbe13
SHA-256: e006d40d8e91bd04a6f97ded8d3e2cf35444335279d75b98b39ac85145fc36f9
tkinter-2.4.3-56.el5.i386.rpm     MD5: 44dc9c613f9917c8cf14fcd95cee545b
SHA-256: 6288b050bb2964d0bd6b697a8db7dea046ec3da9f75290d454acd8f148fbff2d
 
IA-64:
python-2.4.3-56.el5.ia64.rpm     MD5: 2c74092fd219e531616ed4706cf7d807
SHA-256: 9b073eeffc165ce2d6e24e6ad36e5cb70c8d590ecfba5b4a0502ff8a09d3d098
python-debuginfo-2.4.3-56.el5.i386.rpm     MD5: 8e95640144a1149bf18dbe5c94999862
SHA-256: f0be6f956ccfd1597e77816d410a8b3e63f162a88aaea4c73d6c4749820c28f3
python-debuginfo-2.4.3-56.el5.ia64.rpm     MD5: 91d4b63d98180df5e00faf61e32fab33
SHA-256: 1e886c27a96c8360112cb76853b6781039fa2100fc2a8fb67dd68a30ccba0200
python-devel-2.4.3-56.el5.ia64.rpm     MD5: de4ab4a44889f40920f61808e744e5cf
SHA-256: a5f19d8a9e7a9e536077f5fe68a4b037ff4f60dd3befa91f3ff458bd7ee04ca9
python-libs-2.4.3-56.el5.i386.rpm     MD5: 11f437e5719feadbcaded82827379e3e
SHA-256: af3cbb73c18964043024a9d9e5c3179686ba30ad96d87daf395c631d1c5fd716
python-libs-2.4.3-56.el5.ia64.rpm     MD5: 91433c35b730870c47090d96fd46d9ad
SHA-256: c09712704dcaa459aa6078bfdd26fa4d3ad0c5cedbbc5ce4d08276e7a61a0ee3
python-tools-2.4.3-56.el5.ia64.rpm     MD5: 3c492c0421c28fd90bc7efcfb979eba6
SHA-256: 9e16c171bb05d5c138ede33ab43e0227a00183b2745954e750ffb52413516ca4
tkinter-2.4.3-56.el5.ia64.rpm     MD5: b4d9b66cfc48523937e23d49f7b8e804
SHA-256: 9985dcab3281af2de952e4ceb201662f260270b7a9ac6b8d12e1388ce494f8fc
 
PPC:
python-2.4.3-56.el5.ppc.rpm     MD5: b60b303e5f67e5c6b717df3a0d5e954f
SHA-256: 79f71545f4ca8532a615d941f82a4c5c31b091c054e3659a557c967424cd1f4f
python-debuginfo-2.4.3-56.el5.ppc.rpm     MD5: b71589af8a5d632e56e8a52b2a41088f
SHA-256: 0f120d6ba522fc269e620cb1ff143ab301a1f34e46969bcb5f4b9a91ef4ad6c2
python-debuginfo-2.4.3-56.el5.ppc64.rpm     MD5: cfd96920910b7704e75f19777e051533
SHA-256: 9d67afb5c222261df473e8e04d79e08c7de681dfe1feb37f7afc0488cbcdde83
python-devel-2.4.3-56.el5.ppc.rpm     MD5: 2ecf6f97289a9af1fbb4db97f7b07617
SHA-256: 42ce399854acfacbd7f44820652b0c1dbb4748523a25a9f59bdb696a38043cc9
python-devel-2.4.3-56.el5.ppc64.rpm     MD5: 43108d9601565be1913b72b58d0d2d2d
SHA-256: 60c5c74f0f4f8ac34c2a8ddbb8422cea11b891dc7788ac4e1cd1aa51901fba81
python-libs-2.4.3-56.el5.ppc.rpm     MD5: 1413a0875f421ef8a39635cb2e97c033
SHA-256: 1ff277a71e896451a9c70e8f075ab1478f6ce990d8a9ac7608166d1007667fb4
python-libs-2.4.3-56.el5.ppc64.rpm     MD5: 47c160298848da8672e26816c998b1d6
SHA-256: f76951a8fe7df729d31f9e2657a36bac73c1e9e936115d6ad2f6342ea2149310
python-tools-2.4.3-56.el5.ppc.rpm     MD5: 06a66e1eabce0b72fee6a621dea4b972
SHA-256: 7c9b41767d7d180107d502fde4a0eece0a02cadf864e7af87f4c0b308b757874
tkinter-2.4.3-56.el5.ppc.rpm     MD5: 131682e3e67e51a27453449a01cc2b41
SHA-256: 12c2fbca8083adcc370d33a011bb939ba2e0502482cee36c94007d22e77c329e
 
s390x:
python-2.4.3-56.el5.s390x.rpm     MD5: 267c45587e666364f751fc46abf61423
SHA-256: bc398fceb6654be8b4a109b25c4732f7016f09f8f18b6d58e85e6698b5c5f11d
python-debuginfo-2.4.3-56.el5.s390.rpm     MD5: dee3fd71c0348b1ec790f7a22c4adb14
SHA-256: f7e2c90af37615f76a26bc63aaf207698eaaa7bb4ca99ed32768a656f09675d4
python-debuginfo-2.4.3-56.el5.s390x.rpm     MD5: 819f4d8af2cc2bade8522cb2bb8cb2d4
SHA-256: bf3dc6567ea626b8f2ed504affe470177041f543c7d47580a11fd473c479ce92
python-devel-2.4.3-56.el5.s390.rpm     MD5: bdb82570e991ccfc55e8cc5dcdab62a8
SHA-256: db528d3cb64bcd2b4b55e38b6a5b0c76d4f9c829c37c5bd0a26a0daadb07af61
python-devel-2.4.3-56.el5.s390x.rpm     MD5: 1ca7ef9c06e319bf567d9e04ae1844ee
SHA-256: d72352a4aa9af1afafb65f192ea011041916cd3ee9cbaadaed5a06ab05fd2bca
python-libs-2.4.3-56.el5.s390x.rpm     MD5: 16951caaa90d95cc68ad2cd5507e0793
SHA-256: d0661765f6eb2cc0e882a4a55e8c47036604647bdcc27a6fa80b0e056f725319
python-tools-2.4.3-56.el5.s390x.rpm     MD5: 47113a65db01eea2fafe8691bb87a493
SHA-256: a3b2ee02e62bcb08bb06cb2206c840575674a257b3e40cd88a42e19cda725ce9
tkinter-2.4.3-56.el5.s390x.rpm     MD5: 58acfecdf2671ab7a6d2d0aaaab2f4ad
SHA-256: 3904946254ad3b199605d81d465090d0fda7da97d33f63c08faa9dfa73d9d5fc
 
x86_64:
python-2.4.3-56.el5.x86_64.rpm     MD5: 4d02916182c5ba9f67457e1011dddece
SHA-256: d1b97c8a1fdd40fa895866998f267cfcf43fb657c7853765570da7657a486181
python-debuginfo-2.4.3-56.el5.i386.rpm     MD5: 8e95640144a1149bf18dbe5c94999862
SHA-256: f0be6f956ccfd1597e77816d410a8b3e63f162a88aaea4c73d6c4749820c28f3
python-debuginfo-2.4.3-56.el5.x86_64.rpm     MD5: 485402204d51d911e79d7ac9d91bfa88
SHA-256: ee96dd7bd66e1da8979a56d16ea7b565efe730577ad67b4906eb17deffe44e1c
python-devel-2.4.3-56.el5.i386.rpm     MD5: bebdc2ed7dbf1644cbd9bf32d1c71714
SHA-256: 1fd83dcfefcc2aa186fcae79f6b3afe9a6049036e36cd79344f904e159553307
python-devel-2.4.3-56.el5.x86_64.rpm     MD5: 8ace0bc03be45088679ad5e174cce61b
SHA-256: d5deea756a33726d60d21672c22010e8e27bc3a8c31755503e3889294f156721
python-libs-2.4.3-56.el5.x86_64.rpm     MD5: 2619f4feea17fb52fd8c07fc1c883fd1
SHA-256: 8b411f6c6a210d379ae5e78389246a1e5629be66577b914413b0020b672cdd8b
python-tools-2.4.3-56.el5.x86_64.rpm     MD5: e2fcb363991251653b3d974e0f226392
SHA-256: 3d7c3b92be773d2089d86a3d2c510cff8668449b2e7613735e39b1186b65dc51
tkinter-2.4.3-56.el5.x86_64.rpm     MD5: 1a16946db3836adadaa435b76edbda63
SHA-256: e8668a81058f20b757e7f422f4dfdb6d2e5a11c1481030540f847a312f80a2aa
 
Red Hat Enterprise Linux Desktop (v. 5 client)

SRPMS:
python-2.4.3-56.el5.src.rpm     MD5: 5032c54203b0d7d2ff57579013c0d1b4
SHA-256: b123486495b73fb46e140414f31e80ff2a7a8d0541f5a22b190bf53212926441
 
IA-32:
python-2.4.3-56.el5.i386.rpm     MD5: 46d68905ef35d8d410470bc88c2fe777
SHA-256: 694c2a1d109b675b794b2a64257dfe80cb75a6da3cbe20fdabe0f065711cf76b
python-debuginfo-2.4.3-56.el5.i386.rpm     MD5: 8e95640144a1149bf18dbe5c94999862
SHA-256: f0be6f956ccfd1597e77816d410a8b3e63f162a88aaea4c73d6c4749820c28f3
python-libs-2.4.3-56.el5.i386.rpm     MD5: 11f437e5719feadbcaded82827379e3e
SHA-256: af3cbb73c18964043024a9d9e5c3179686ba30ad96d87daf395c631d1c5fd716
python-tools-2.4.3-56.el5.i386.rpm     MD5: 59c06d02ccb1e9415b6e2418efcdbe13
SHA-256: e006d40d8e91bd04a6f97ded8d3e2cf35444335279d75b98b39ac85145fc36f9
tkinter-2.4.3-56.el5.i386.rpm     MD5: 44dc9c613f9917c8cf14fcd95cee545b
SHA-256: 6288b050bb2964d0bd6b697a8db7dea046ec3da9f75290d454acd8f148fbff2d
 
x86_64:
python-2.4.3-56.el5.x86_64.rpm     MD5: 4d02916182c5ba9f67457e1011dddece
SHA-256: d1b97c8a1fdd40fa895866998f267cfcf43fb657c7853765570da7657a486181
python-debuginfo-2.4.3-56.el5.x86_64.rpm     MD5: 485402204d51d911e79d7ac9d91bfa88
SHA-256: ee96dd7bd66e1da8979a56d16ea7b565efe730577ad67b4906eb17deffe44e1c
python-libs-2.4.3-56.el5.x86_64.rpm     MD5: 2619f4feea17fb52fd8c07fc1c883fd1
SHA-256: 8b411f6c6a210d379ae5e78389246a1e5629be66577b914413b0020b672cdd8b
python-tools-2.4.3-56.el5.x86_64.rpm     MD5: e2fcb363991251653b3d974e0f226392
SHA-256: 3d7c3b92be773d2089d86a3d2c510cff8668449b2e7613735e39b1186b65dc51
tkinter-2.4.3-56.el5.x86_64.rpm     MD5: 1a16946db3836adadaa435b76edbda63
SHA-256: e8668a81058f20b757e7f422f4dfdb6d2e5a11c1481030540f847a312f80a2aa
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

573782 - python logging's fileConfig causes KeyError on shutdown
640523 - chown fails with "OverflowError: signed integer is greater than maximum"
822072 - fcntl.ioctl() caused an OverflowError: signed integer is greater than maximum



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/