[issue19914] help([object]) returns "Not enough memory." on standard Python types, object and object functions

2016-03-16 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue19914] help([object]) returns "Not enough memory." on standard Python types, object and object functions

2016-03-15 Thread Eryk Sun
Eryk Sun added the comment: For posterity for anyone that finds this old issue, I investigated this problem in the debugger in Windows 7. It turns out that more.com (the pager used by Python's help) calls MultiByteToWideChar [1] with dwFlags passed as MB_PRECOMPOSED (1), which is forbidden

[issue19914] help([object]) returns Not enough memory. on standard Python types, object and object functions

2013-12-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: cp65001 fails in many ways quite independent of Python. Idle: ሴé€㑖Ѓ⌴* 'ሴé€㑖Ѓ⌴*' Pasting the same string into Command Prompt (Win 7, USA, updated): C:\Users\Terryecho ?‚* ?‚* C:\Users\Terrychcp 65001 Active code page: 65001 C:\Users\Terryecho * The

[issue19914] help([object]) returns Not enough memory. on standard Python types, object and object functions

2013-12-10 Thread Mark Lawrence
Mark Lawrence added the comment: I can confirm that code page 65001 is the problem using 3.3.3 on Windows 7. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19914 ___

[issue19914] help([object]) returns Not enough memory. on standard Python types, object and object functions

2013-12-10 Thread STINNER Victor
STINNER Victor added the comment: It looks like the issue comes from the more system command, used as a pager for the documentation. When the OEM code page is set to 65001 (ex: type chcp 65001 in a Windows console), more document.txt does nothing (display nothing and exit). Try commamands:

[issue19914] help([object]) returns Not enough memory. on standard Python types, object and object functions

2013-12-10 Thread HCT
HCT added the comment: the other issue I'm also seeing is that help() doesn't seem to take exactly an object as an optional argument. perhaps Python manual for help() should be updated according to the actual implementation? help('hello') no Python documentation found for 'hello'

[issue19914] help([object]) returns Not enough memory. on standard Python types, object and object functions

2013-12-09 Thread HCT
HCT added the comment: verified issue is due to code page was set to 65001, but I set PYTHONIOENCODING to utf-8 (tried UTF-8, utf8, utf-8...etc), so I'm not sure why there is problem with code page 65001 setting code page back to ascii (non-Unicode) fixed the issue. --

[issue19914] help([object]) returns Not enough memory. on standard Python types, object and object functions

2013-12-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- components: +Windows nosy: +brian.curtin, haypo, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19914 ___

[issue19914] help([object]) returns Not enough memory. on standard Python types, object and object functions

2013-12-06 Thread HCT
New submission from HCT: not sure if this ever worked. first time using help([object]), but these should work according to the documentation. OS is Win7 SP1 32-bit. Python 3.3.3 (v3.3.3:c3896275c0f6, Nov 18 2013, 21:18:40) [MSC v.1600 32 bit (Intel)] on win32 Type help, copyright, credits or

[issue19914] help([object]) returns Not enough memory. on standard Python types, object and object functions

2013-12-06 Thread R. David Murray
R. David Murray added the comment: This works in general, so there must be something odd going on with your system. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19914