]> granicus.if.org Git - python/commit
Accept Finn Bock's patch #102208 to hardcode EINVAL to 22 when errno
authorBarry Warsaw <barry@python.org>
Tue, 12 Dec 2000 23:12:23 +0000 (23:12 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 12 Dec 2000 23:12:23 +0000 (23:12 +0000)
commitc7ed0e3c1301fd27122e336eef7fd233526ccfc1
tree73f35a28a24fa2d7cd4451796ef3a1d2eeb0fb6f
parent132dce22469f476f399d1bbc6d1cc2f7ba0110cc
Accept Finn Bock's patch #102208 to hardcode EINVAL to 22 when errno
can't be imported.  This makes StringIO.py work with Jython.

Also, get rid of the string module by converting to string methods.

Shorten some lines by using augmented assignment where appropriate.
Lib/StringIO.py