Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #85005

Re: pydoc3.5 borks on my Mac

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone01.am1.xlned.com!bcyclone01.am1.xlned.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <skip.montanaro@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.025
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; '-*-': 0.07; 'assuming': 0.09; 'coding:': 0.09; 'python': 0.11; 'encodings': 0.16; 'smart,': 0.16; 'normally': 0.19; 'select': 0.22; 'package.': 0.24; 'skip': 0.24; 'server.': 0.24; 'sort': 0.25; '2005': 0.26; 'header:In-Reply-To:1': 0.27; '(c)': 0.29; 'message- id:@mail.gmail.com': 0.30; 'but': 0.35; 'received:google.com': 0.35; 'mine': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'how': 0.40; 'tell': 0.60; 'challenge': 0.61; 'different': 0.65; 'finally': 0.65
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=U+TjhGDyvuNiKf0ZNs2blbzxZDibi++oOZDjR1I/RCM=; b=ucPlSb7EcT8Bh4GdWbCclX9ozKPXHo4019bt7ogXxAVNGgfyyxmkJMlymmjtRILlY9 q3OmQIaRWh/GXFgyz0XoE4jkNzw84oO7RLk1HawoRdKPrHqh1snXjGyZghvwbOhS73Jh y2iU943u2oCksVjIXC9eELOiXVssrbGmQ69FzD7a2Chg5tgYv81VfR5fnw4bahele0io DHhSqgkh6pcKeExjCzCkTxi/PUL4XWjnNNVS+1e93m4go698dxZV0sAMVEnZXnmmZ613 8Of1VLedwrOmHUa9+gUepmx+++/xWsXm0/svCes/onWa/AYR5i3l+kxT58zDVKBIQuJH e/Ow==
MIME-Version 1.0
X-Received by 10.202.84.208 with SMTP id i199mr9217734oib.110.1422808624305; Sun, 01 Feb 2015 08:37:04 -0800 (PST)
In-Reply-To <CANc-5Uy8dHuosWgnXo7PdrR-Or7tY4EEHWaHte2nTNjtOk9H2g@mail.gmail.com>
References <CANc-5Uy8dHuosWgnXo7PdrR-Or7tY4EEHWaHte2nTNjtOk9H2g@mail.gmail.com>
Date Sun, 1 Feb 2015 10:37:04 -0600
Subject Re: pydoc3.5 borks on my Mac
From Skip Montanaro <skip.montanaro@gmail.com>
To Python <python-list@python.org>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.18362.1422808633.18130.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1422808633 news.xs4all.nl 2943 [2001:888:2000:d::a6]:57352
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 3412
X-Received-Body-CRC 4006902299
Xref csiph.com comp.lang.python:85005

Show key headers only | View raw


I finally got sort of smart, and started up a pydoc server. Looking at
the sqlite3 docs through my browser, I see right off the bat, I see

#-*- coding: ISO-8859-1 -*-
# pysqlite2/__init__.py: the pysqlite2 package.
#
# Copyright (C) 2005 Gerhard Häring <gh@ghaering.de>

so my challenge is how to tell Python my terminal's encoding? It's
clearly assuming ASCII. Mine is actually normally set to UTF-8, but I
can select from a number of different encodings in the Preferences.

Thx,

Skip

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: pydoc3.5 borks on my Mac Skip Montanaro <skip.montanaro@gmail.com> - 2015-02-01 10:37 -0600

csiph-web