RHBA-2011:1564

Type: Bug fix
Severity: None
Published: 2011-12-06
Red Hat Enterprise Linux 6

Python is an interpreted, interactive, object-oriented programming language. This update fixes the following bugs: * The Python standard library contains numerous APIs that handle the uid_t and gid_t attributes, which contain unsigned 32-bit values. Previously, the existing code often passed the values as C language long values, which are signed 32-bit values on 32-bit architectures. Consequently, negative integer objects occurred when a uid_t/gid_t value was equal or larger than 2^31 on 32-bit architectures. With this update, the standard library has been updated throughout to accept the full range of uid_t/gid_t values (0 through 2^32-1), using "int" objects for small values, but using "long" objects where needed to avoid integer overflow. As a special case, "-1" is also supported, as this value has special meaning for the os.chown() function and other related functions. (BZ#697470) * Previously, the multiprocessing module used the "select" system call to communicate with subprocesses, limiting the number of file descriptors to the value of the FD_SETSIZE variable (1024). With this update, the multiprocessing module has been ported to use the "poll" system call, instead of "select", thus fixing this bug. (BZ#713082) * Previously, a race condition sometimes caused the forking.Popen.poll() method of the multiprocessing module to terminate with the "OSError: [Errno 10] No child processes" error message when starting subprocesses. This bug has been fixed and the crashes no longer occur in the described scenario. (BZ#685234) * Previously, the getpass.getpass() method discarded Ctrl-C and Ctrl-Z input, requiring the user to press Ctrl-D to exit the password entry prompt and then returning traceback error messages. With this update, the described user input is processed properly by the getpass.getpass() method. (BZ#689794) * Due to a bug, the readline.get_history_length() and readline.get_history_item() methods leaked memory when executed. This bug has been fixed and no longer occurs. (BZ#699740) * When building the C extension modules, if a value for the CFLAGS variable is defined in the environment, it is appended to the compilation flags from Python's Makefile. Due to a bug, only flags stored in the OPT variable were supplied from the Makefile. Consequently, the "-fno-strict-aliasing" flag was missing and build errors occurred. This bug has been fixed, CFLAGS are properly appended to the original Python build string, and no build errors are now returned in the described scenario. (BZ#727364) * When feeding data to the standard input of short-lived processes, the subprocess.Popen.communicate() method sometimes terminated with the "OSError: [Errno 32] Broken pipe" error message. This bug has been fixed and the crashes no longer occur in the described scenario. (BZ#667431) This update adds the following enhancement: * The gdb (GNU Debugger) Python hooks for debugging Python itself (via the python-debuginfo package) have been enhanced. The hooks now report if a thread is waiting on a lock, such as the GIL (Global Interpreter Lock), and call to appropriate C functions, methods, and garbage collections. In addition, the hooks have been optimized to provide at least file and function names, when line numbers and locals are not available. (BZ#711818) All users of python are advised to upgrade to these updated packages, which fix these bugs and add this enhancement.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T22:48:10.777Z UTC

Official vendor advisory

Red Hat Enterprise Linux 6

View source
Observed 2026-11-27T22:48:10.777Z UTC. Last updated 2026-10-07T04:25:11.931Z UTC.

Upstream Advisory

Affected Packages

  • python 2.6.6-29.el6

  • python-devel 2.6.6-29.el6

  • python-libs 2.6.6-29.el6

  • python-test 2.6.6-29.el6

  • python-tools 2.6.6-29.el6

  • tkinter 2.6.6-29.el6

Interested in being alerted when there are new versions of python and the other packages? Set up an alert.
RHBA-2011:1564: python bug fix and enhancement update | Package Alert