From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <44A75176.4000905@altlinux.ru> Date: Sun, 02 Jul 2006 13:54:14 +0900 From: Ivan Fedorov User-Agent: Thunderbird 1.5.0.2 (X11/20060502) MIME-Version: 1.0 To: ALT Linux Sisyphus discussion list References: <200606291622.51135.trash4@yandex.ru> In-Reply-To: <200606291622.51135.trash4@yandex.ru> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC67A2E758C140ECFDFA75EA6" X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on route.isib.ru Subject: Re: [sisyphus] python? X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2006 04:54:39 -0000 Archived-At: List-Archive: List-Post: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC67A2E758C140ECFDFA75EA6 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Guest007 =D0=C9=DB=C5=D4: > =F0=D2=C9=D7=C5=D4=D3=D4=D7=D5=C0! >=20 >>>> import sys >>>> sys.setdefaultencoding('koi8-r') >=20 > Traceback (most recent call last): > File "", line 1, in -toplevel- > sys.setdefaultencoding('koi8-r') > AttributeError: 'module' object has no attribute 'setdefaultencoding' >=20 > =EB =DE=C5=CD=D5 =C2=D9 =DC=D4=CF? =FC=D4=C1 =C9 =C5=DD=A3 =CE=C5=D3=CB= =CF=CC=D8=CB=CF =C6=D5=CE=CB=C3=C9=CA =CF=D0=C9=D3=C1=CE=D9 =D7 =C4=CF=CB= =C5 =C9 =D0=D2=C9=D3=D5=D4=D3=D4=D7=D5=C0=D4 =D7=20 > =D4=C5=CC=C5 =C9=CE=D4=C5=D2=D0=D2=C5=D4=C1=D4=CF=D2=C1 (=D7=CD=C5=D3=D4= =C5 =D3 =C4=CF=CB=D3=D4=D2=C9=CE=C7=C1=CD=C9). =EF=C4=CE=C1=CB=CF =CE=C5 = =D2=C1=C2=CF=D4=C1=C5=D4... >=20 > =F2=C1=CE=D8=DB=C5 =D1 =D4=C1=CB=C9=CD =D0=CF=CC=D8=DA=CF=D7=C1=CC=D3=D1= -- =CB=CF=C4 =D2=C1=C2=CF=DE=C9=CA. >=20 > =F3=C9=DA=C9=C6 =D3=D7=C5=D6=C9=CA. setdefaultencoding( name) Set the current default string encoding used by the Unicode implementation. If name does not match any available encoding, LookupError is raised. This function is only intended to be used by the site module implementation and, where needed, by sitecustomize. Once used by the site module, it is removed from the sys module's ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ namespace. New in version 2.0. ^^^^^^^^^^ >>> dir(sys) [ 'setappdefaultencoding' ] >>> sys.setappdefaultencoding('koi8-r') --------------enigC67A2E758C140ECFDFA75EA6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEp1F7MJy3oC+NmVsRAo+SAJ9cmgM1LRSNSwsblRKJnkRvOWTqQwCgnK9d +E9pwT2TIm8VvZyxwU4+1yU= =OXxv -----END PGP SIGNATURE----- --------------enigC67A2E758C140ECFDFA75EA6--