Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #74431
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'win32': 0.03; 'from:addr:yahoo.co.uk': 0.04; 'memory.': 0.07; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'bug': 0.12; 'language.': 0.14; 'windows': 0.15; 'exit()': 0.16; 'itself),': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:Not': 0.16; 'language': 0.16; 'wrote:': 0.18; 'variable': 0.18; 'bit': 0.19; 'module': 0.19; 'memory': 0.22; 'import': 0.22; 'header:User-Agent:1': 0.23; 'tells': 0.24; 'helpful': 0.24; 'mon,': 0.24; '---': 0.24; 'environment': 0.24; 'supported': 0.26; 'header:X-Complaints- To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'specifically': 0.29; 'url:bugs': 0.29; 'am,': 0.29; 'skip:( 20': 0.30; "i'm": 0.30; 'code': 0.31; '>>>>': 0.31; 'disable': 0.31; 'text': 0.33; 'url:python': 0.33; 'running': 0.33; 'skip:_ 10': 0.34; 'message.': 0.35; 'but': 0.35; 'version': 0.36; '14,': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.38; 'that,': 0.38; 'to:addr:python.org': 0.39; 'enough': 0.39; 'either': 0.39; 'received:org': 0.40; 'even': 0.60; 'tell': 0.60; 'free': 0.61; 'viruses': 0.61; 'protection': 0.63; 'our': 0.64; 'more': 0.64; 'different': 0.65; 'linked': 0.65; 'antivirus': 0.68; 'stated': 0.69; 'jul': 0.74; 'future,': 0.83; '2014,': 0.84; 'object:': 0.84; 'ware': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
| Subject | Re: Not enough memory. |
| Date | Mon, 14 Jul 2014 18:51:25 +0100 |
| References | <tencent_761A03211ACD954C396C8228@qq.com> <CAKJDb-NfZZCjOizRWmKGmMoi-ktujTPqjcRUW_4r7U1rs7GSZA@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | host-92-24-213-134.ppp.as43234.net |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
| In-Reply-To | <CAKJDb-NfZZCjOizRWmKGmMoi-ktujTPqjcRUW_4r7U1rs7GSZA@mail.gmail.com> |
| X-Antivirus | avast! (VPS 140714-0, 14/07/2014), Outbound message |
| X-Antivirus-Status | Clean |
| 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.11804.1405360305.18130.python-list@python.org> (permalink) |
| Lines | 57 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1405360305 news.xs4all.nl 2939 [2001:888:2000:d::a6]:42288 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:74431 |
Show key headers only | View raw
On 14/07/2014 17:40, Zachary Ware wrote: > On Mon, Jul 14, 2014 at 8:16 AM, 水静流深 <1248283536@qq.com> wrote: >>>>> import os >>>>> help(os.path) >> Not enough memory. >> >> Why i get it?Not enough memory , not help info?,not > > In future, it's very helpful to tell us what OS is running which > version of Python when you get an error, but in this case I'm betting > on Python 3 on Windows with code page 65001 active: > > C:\>chcp 65001 > Active code page: 65001 > > C:\>py -3 > Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:38:22) [MSC v.1600 > 32 bit (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more information. >>>> help(help) > Not enough memory. > >>>> exit() > > C:\>chcp 437 > Active code page: 437 > > C:\>py -3 > Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:38:22) [MSC v.1600 > 32 bit (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more information. >>>> help(help) > Help on _Helper in module _sitebuiltins object: > ... > > The 'Not enough memory.' message is actually coming from the Windows > 'more' utility (C:\Windows\System32\more.com), as stated in the bug > linked to in Mark's message. To work around that, you can either use > a different codepage (anecdotal evidence tells me that cp65001 is > barely supported by anything, even Windows itself), or set the PAGER > environment variable to "type", which will disable paging, but allow > the help text to print. > See also https://bugs.python.org/issue21927, specifically msg222761 -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Not enough memory. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-07-14 18:51 +0100
csiph-web