Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #89732
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.077 |
| X-Spam-Evidence | '*H*': 0.85; '*S*': 0.00; 'cc:addr:python-list': 0.11; 'python': 0.11; 'filesystem,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'module?': 0.16; 'wrote:': 0.18; 'module': 0.19; 'not,': 0.20; 'import': 0.22; 'cc:addr:python.org': 0.22; 'error': 0.23; 'cc:2**0': 0.24; 'skip:" 20': 0.27; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'apparently': 0.31; 'file': 0.32; 'stuff': 0.32; 'fri,': 0.33; 'guess': 0.33; 'could': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'useful': 0.36; "i'll": 0.36; 'work?': 0.38; 'pm,': 0.38; 'does': 0.39; 'sure': 0.39; 'users': 0.40; 'according': 0.40; 'even': 0.60; 'making': 0.63; 'more': 0.64; 'fire': 0.65; '2015': 0.84; 'missing.': 0.84; 'to:none': 0.92 |
| 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:cc :content-type; bh=UAiirlKtJWvYK/sdAnClBBetdL/bYI+RHuM1qK3FbZU=; b=EXHdf8sgo0ExgbBvGmYgRF50IaMYKruxZMBITthxJUt8qAl1EArShm+/qqtzTL2+Tz hFbvbfvg6kVhFiXZjPkjP4g7A07gpZIdEynFLJOG/7S7wFm8jAmMmKJy8YfjcW4wmnvF LDbsJe5D+OP8JG8tIqFVXYdkTIiMdlmBM2ptgzVieXiZwkj6fz9TuCbk2BbmrtTf9oDZ fV0sYk5T6ujSo5rz8naOeE8CA6lEFRl5gEQI+2kwDuIvKr1go+Tw7hI/U+O+l4XutCI6 4SpZns6RZp5u6bFDPLJpIOjkYpg01GH4kJmR5ozt9/w6Vk+yD5dw8kHAWI0SIVHdm42J 7VKw== |
| MIME-Version | 1.0 |
| X-Received | by 10.107.134.206 with SMTP id q75mr5815741ioi.27.1430486522889; Fri, 01 May 2015 06:22:02 -0700 (PDT) |
| In-Reply-To | <554379D3.1080202@chamonix.reportlab.co.uk> |
| References | <55435578.50003@chamonix.reportlab.co.uk> <CAPTjJmqUeu7AXm6MAiBPwabFv+GRgFOV7B1BUpeLLO7GhiXRvw@mail.gmail.com> <554379D3.1080202@chamonix.reportlab.co.uk> |
| Date | Fri, 1 May 2015 23:22:02 +1000 |
| Subject | Re: GAE environment differences |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| 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.14.1430486532.3347.python-list@python.org> (permalink) |
| Lines | 18 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1430486532 news.xs4all.nl 2943 [2001:888:2000:d::a6]:59849 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:89732 |
Show key headers only | View raw
On Fri, May 1, 2015 at 11:04 PM, Robin Becker <robin@reportlab.com> wrote: >> File "python2.7/posixpath.py", line 268, in expanduser >> import pwd >> ``` > > the user suggests that even though claims are made that you can use a > filesystem, but stuff like pwd is missing. Apparently the user module has no > meaning, but there is a users module? I guess I'll need to keep patching > reportlab when GAE users find these glitches. According to my Python installation, the pwd module is built-in. But you could bypass its usage by making sure $HOME is set before calling expanduser. What happens if you fire up Python and just type "import pwd"? Does that work? If not, does it give any more useful error message? ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: GAE environment differences Chris Angelico <rosuav@gmail.com> - 2015-05-01 23:22 +1000
csiph-web