Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #74428 > unrolled thread
| Started by | Zachary Ware <zachary.ware+pylist@gmail.com> |
|---|---|
| First post | 2014-07-14 11:40 -0500 |
| Last post | 2014-07-14 10:37 -0700 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Not enough memory. Zachary Ware <zachary.ware+pylist@gmail.com> - 2014-07-14 11:40 -0500
Re: Not enough memory. wxjmfauth@gmail.com - 2014-07-14 10:37 -0700
| From | Zachary Ware <zachary.ware+pylist@gmail.com> |
|---|---|
| Date | 2014-07-14 11:40 -0500 |
| Subject | Re: Not enough memory. |
| Message-ID | <mailman.11802.1405356026.18130.python-list@python.org> |
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. -- Zach
[toc] | [next] | [standalone]
| From | wxjmfauth@gmail.com |
|---|---|
| Date | 2014-07-14 10:37 -0700 |
| Message-ID | <c424893d-4c0e-4a6c-b033-683738f073a1@googlegroups.com> |
| In reply to | #74428 |
Le lundi 14 juillet 2014 18:40:03 UTC+2, Zachary Ware a écrit :
> 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.
>
>
>
> --
>
> Zach
------
Maybe. It still remains I never succeeded to
find a problem with go or ruby. Or even
with a TeX unicode variant ("log output").
Depending on fonts glyphs may be not
displayed. That's a different problem.
D:\jm\jmgo>chcp 65001
Page de codes active : 65001
D:\jm\jmgo>hello3.exe
ASCII abcde xyz
German äöü ÄÖÜ ß
Polish ąęźżńł
Russian абвгдеж эюя
CJK 你好
French œÿéà
Misc ሴé€㑖Ѓ⌴*
D:\jm\jmgo>
jmf
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web