<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pexpect.git/pexpect/screen.py, branch asyncio_utf8_issue</title>
<subtitle>github.com: pexpect/pexpect.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/'/>
<entry>
<title>Deprecation warning in pexpect.screen</title>
<updated>2015-09-12T11:34:25+00:00</updated>
<author>
<name>Thomas Kluyver</name>
<email>takowl@gmail.com</email>
</author>
<published>2015-09-12T11:34:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=74274698a9b87aeb10b8f0ec6b1322a0787c3b8f'/>
<id>74274698a9b87aeb10b8f0ec6b1322a0787c3b8f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Some changes based on reviewing the code</title>
<updated>2014-08-05T01:08:10+00:00</updated>
<author>
<name>Thomas Kluyver</name>
<email>takowl@gmail.com</email>
</author>
<published>2014-08-05T01:08:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=d42a81179666a924b406c67d73a9472f088f8ada'/>
<id>d42a81179666a924b406c67d73a9472f088f8ada</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Address review comments regarding referring to "unicode strings" in docstrings.</title>
<updated>2014-08-04T05:08:34+00:00</updated>
<author>
<name>David O'Shea</name>
<email>doshea@doshea-centos-x86-64.adl.quantum.com</email>
</author>
<published>2014-08-04T05:08:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=502dddd3d5553329504cdce1773506421a06537a'/>
<id>502dddd3d5553329504cdce1773506421a06537a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change SPACE to be a unicode string.</title>
<updated>2014-08-02T04:18:00+00:00</updated>
<author>
<name>David O'Shea</name>
<email>doshea@doshea-centos-x86-64.adl.quantum.com</email>
</author>
<published>2014-08-02T04:18:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=c0ed72e1cc57f5d90cdd358f61eb1e6b2a5b60e6'/>
<id>c0ed72e1cc57f5d90cdd358f61eb1e6b2a5b60e6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't define __bytes__(), and don't define __unicode__() on Python 3.</title>
<updated>2014-08-01T07:57:13+00:00</updated>
<author>
<name>David O'Shea</name>
<email>doshea@doshea-centos-x86-64.adl.quantum.com</email>
</author>
<published>2014-08-01T07:40:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=a4b8165da2a7f356e3a12b091727e33e6fcc0d2c'/>
<id>a4b8165da2a7f356e3a12b091727e33e6fcc0d2c</id>
<content type='text'>
The previous attempt to add unicode support tried to make Python 2 and
3 behave in the same way apart from __str__().  This commit makes the
modules, and the tests, provide only __str__() on Python 3 and both
__str__() and __unicode__() on Python 2.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous attempt to add unicode support tried to make Python 2 and
3 behave in the same way apart from __str__().  This commit makes the
modules, and the tests, provide only __str__() on Python 3 and both
__str__() and __unicode__() on Python 2.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename codec and codec_errors to encoding and encoding_errors respectively.</title>
<updated>2014-08-01T07:39:32+00:00</updated>
<author>
<name>David O'Shea</name>
<email>doshea@doshea-centos-x86-64.adl.quantum.com</email>
</author>
<published>2014-08-01T07:39:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=6236c1406d91b5174def54c3a1441391ab29a1c2'/>
<id>6236c1406d91b5174def54c3a1441391ab29a1c2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #84: Unicode support in screen and ANSI.</title>
<updated>2014-07-24T12:39:23+00:00</updated>
<author>
<name>David O'Shea</name>
<email>doshea@doshea-centos-x86-64.adl.quantum.com</email>
</author>
<published>2014-07-08T01:10:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=db34b8fed2c21b8b790d2710fde1004d49c8f00e'/>
<id>db34b8fed2c21b8b790d2710fde1004d49c8f00e</id>
<content type='text'>
This commit updates the the screen and ANSI modules to support Unicode
under Python 2.x.  Under Python 3.x, it was already supported because
strings are Unicode by default.  Now, on both Python versions:

- The constructors accept a codec name (defaults to 'latin-1') and a
  scheme for handling encoding/decoding errors (defaults to
  'replace').  The codec may be set to None to inhibit
  encoding/decoding.

- Unicode is now used internally for storing the screen contents.

- Methods that accept input characters will, if passed input of type
  'bytes' (or, under Python 2.x, 'str'), use the specified codec to
  decode the input, otherwise treating it as Unicode.

- Methods that return screen contents now return Unicode, with the
  exception of __str__() under Python 2.x, and __bytes__() in all
  versions of Python, which return the screen contents encoded using
  the specified codec.

These changes are designed to work only with Python 2.6, 2.7, and 3.3
and later, specifically versions that provide both b'' and u'' string
literals.

The check in ANSI for characters being printable is also removed, as
this prevents non-ASCII characters being accepted, which is not
compatible with the goal of adding Unicode support.  This addresses
issue #83.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit updates the the screen and ANSI modules to support Unicode
under Python 2.x.  Under Python 3.x, it was already supported because
strings are Unicode by default.  Now, on both Python versions:

- The constructors accept a codec name (defaults to 'latin-1') and a
  scheme for handling encoding/decoding errors (defaults to
  'replace').  The codec may be set to None to inhibit
  encoding/decoding.

- Unicode is now used internally for storing the screen contents.

- Methods that accept input characters will, if passed input of type
  'bytes' (or, under Python 2.x, 'str'), use the specified codec to
  decode the input, otherwise treating it as Unicode.

- Methods that return screen contents now return Unicode, with the
  exception of __str__() under Python 2.x, and __bytes__() in all
  versions of Python, which return the screen contents encoded using
  the specified codec.

These changes are designed to work only with Python 2.6, 2.7, and 3.3
and later, specifically versions that provide both b'' and u'' string
literals.

The check in ANSI for characters being printable is also removed, as
this prevents non-ASCII characters being accepted, which is not
compatible with the goal of adding Unicode support.  This addresses
issue #83.
</pre>
</div>
</content>
</entry>
<entry>
<title>Document screen and ANSI</title>
<updated>2013-09-25T22:44:36+00:00</updated>
<author>
<name>Thomas Kluyver</name>
<email>takowl@gmail.com</email>
</author>
<published>2013-09-25T22:44:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=f7832fe55f3406148bc9f22ea133ff0032db7f91'/>
<id>f7832fe55f3406148bc9f22ea133ff0032db7f91</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move screen -&gt; pexpect.screen</title>
<updated>2013-09-19T23:53:45+00:00</updated>
<author>
<name>Thomas Kluyver</name>
<email>takowl@gmail.com</email>
</author>
<published>2013-09-19T23:53:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=6cbd2552b346beff318893821dc6a3eab9e6aac5'/>
<id>6cbd2552b346beff318893821dc6a3eab9e6aac5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Moved everything up one directory level.</title>
<updated>2012-10-26T18:19:10+00:00</updated>
<author>
<name>Noah Spurrier</name>
<email>noah@squaretrade.com</email>
</author>
<published>2012-10-26T18:19:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pexpect.git/commit/?id=7999ca657997e78febfb3fb89cfcc066d50bf788'/>
<id>7999ca657997e78febfb3fb89cfcc066d50bf788</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
