4.152. python

Updated python packages that fix one bug are now available for Red Hat Enterprise Linux 5.
Python is an interpreted, interactive, object-oriented programming language. Python includes modules, classes, exceptions, 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).

Bug Fix

BZ#734005
The urllib.unquote method uses a dictionary containing pairs of hexadecimal values. Prior to this update, this dictionary only contained those combinations where the hexadecimal digits were both upper case or lower case, omitting those pairs where one digit was upper case, the other lower case. As a result, percent-escape sequences containing both upper and lower case hexadecimal characters were not decoded in Python. This update modifies the dictionary creation code so that it includes keys for all combinations of upper and lower case hexadecimal digits. Now, all mixed-case hexadecimal digit pairs are correctly decoded by the urllib.unquote method.
All Python users are advised to upgrade to these updated packages, which fix this bug.
Updated python packages that fix multiple bugs are now available for Red Hat Enterprise Linux 5.
Python is an interpreted, interactive, object-oriented programming language. Python includes modules, classes, exceptions, 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).

Bug Fixes

BZ#732954
The urllib.unquote method uses a dictionary containing pairs of hexadecimal values. Prior to this update, this dictionary only contained those combinations where the hexadecimal digits were both upper case or lower case, omitting those pairs where one digit was upper case, the other lower case. As a result, percent-escape sequences containing both upper and lower case hexadecimal characters were not decoded in Python. This update modifies the dictionary creation code so that it includes keys for all combinations of upper and lower case hexadecimal digits. Now, all mixed-case hexadecimal digit pairs are correctly decoded by the urllib.unquote method.
BZ#708292
Prior to this update, python did not include an alias for "en_in" to convert "en_IN" into "en_IN.ISO8859-1". Consequently, the yum grouplist command would not work when the console LANG variable was set as follows: LANG=en_IN. With this update, an alias has been added in the locale.py file and yum grouplist now functions as expected with LANG=en_IN.
All Python users are advised to upgrade to these updated packages, which fix these bugs.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.