このコンテンツは選択した言語では利用できません。

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

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.