reassign 535078 gnome-terminal
thanks

python doesn't have any influence how the terminal emulator represents unprintable characters.

On 29.06.2009 09:12, zeal wrote:
Package: python2.5
Version: 2.5.2-15
Severity: normal

run the simple script as following:

$cat test.py
#!/usr/bin/python
str = '\x19\x0c\x1a\x16\x00\x0e'
print "%s" % str
$./test.py
---messy output---

What's wrong? I'm not sure whether its python's bug or else. My terminal is
gnome-terminal. Also debian(etch) has the same problem.


-- System Information:
Debian Release: 5.0.1
   APT prefers stable
   APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python2.5 depends on:
ii  libbz2-1.0              1.0.5-1          high-quality block-sorting file co
ii  libc6                   2.7-18           GNU C Library: Shared libraries
ii  libdb4.5                4.5.20-13        Berkeley v4.5 Database Libraries [
ii  libncursesw5            5.7+20081213-1   shared libraries for terminal hand
ii  libreadline5            5.2-3.1          GNU readline and history libraries
ii  libsqlite3-0            3.5.9-6          SQLite 3 shared library
ii  libssl0.9.8             0.9.8g-15+lenny1 SSL shared libraries
ii  mime-support            3.44-1           MIME files 'mime.types'&  'mailcap
ii  python2.5-minimal       2.5.2-15         A minimal subset of the Python lan

python2.5 recommends no packages.

Versions of packages python2.5 suggests:
pn  python-profiler<none>      (no description available)
pn  python2.5-doc<none>      (no description available)

-- no debconf information






--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to