[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-25 Thread maniram maniram
New submission from maniram maniram : When you print an unprintable character, IDLE raises an error. >>> print(chr(500304)) # print an unprintable character The error is only visible when you run the code from a commmand-line. When you run python from the command-line and execute th

[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-25 Thread maniram maniram
maniram maniram added the comment: Here's the Error message. *** Internal Error: rpc.py:SocketIO.localcall() Object: stdout Method: > Args: ('\U0007a250',) Traceback (most recent call last): File "/usr/lib/python3.2/idlelib/rpc.py", line 188, in loca

[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-25 Thread maniram maniram
maniram maniram added the comment: My OS is Ubuntu Linux 11.10 (Oneiric Ocelot) Running uname -a gives "Linux ramcomputer 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux" -- ___ Python trac

[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-25 Thread maniram maniram
maniram maniram added the comment: The error is visible from the command-line. -- ___ Python tracker <http://bugs.python.org/issue13265> ___ ___ Python-bug

[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-29 Thread maniram maniram
Changes by maniram maniram : -- versions: -Python 3.3 ___ Python tracker <http://bugs.python.org/issue13265> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13532] In IDLE, sys.stdout.write and sys.stderr can write any pickleable object

2011-12-05 Thread maniram maniram
New submission from maniram maniram : In IDLE, sys.stdout.write and sys.stderr can write any pickleable object such as 100 when they should only allow strings. IDLE seems to be pickling the object. >>> import sys >>> sys.stdout.write(100) 100 >>> sys.stdout.write(

[issue13532] In IDLE, sys.stdout.write and sys.stderr can write any pickleable object

2011-12-05 Thread maniram maniram
maniram maniram added the comment: It is different behaviour than usual. I agree it is of low importance. -- ___ Python tracker <http://bugs.python.org/issue13

[issue13545] Pydoc3.2: TypeError: unorderable types

2011-12-07 Thread maniram maniram
maniram maniram added the comment: On my system it works. :-) -- nosy: +maniram.maniram ___ Python tracker <http://bugs.python.org/issue13545> ___ ___ Python-bug

[issue7136] Idle File Menu Option Improvement

2011-12-08 Thread maniram maniram
maniram maniram added the comment: +1 on renaming New Window to New File -- nosy: +maniram.maniram ___ Python tracker <http://bugs.python.org/issue7136> ___ ___

[issue1062] nice to have a way to tell if a socket is bound

2011-12-08 Thread maniram maniram
maniram maniram added the comment: perhaps you can subclass socket.socket and make a function wrapper around bind and connect that sets a variable if called like: class sock(socket.socket): def bind(self,*args): self.is_bound = True -- nosy: +maniram.maniram

[issue1062] nice to have a way to tell if a socket is bound

2011-12-08 Thread maniram maniram
maniram maniram added the comment: oops should be class sock(socket.socket): _bind = socket.socket.bind def bind(self,*args): self.is_bound = True self._bind(self,*args) -- ___ Python tracker <http://bugs.python.

[issue13555] cPickle MemoryError when loading large file (while pickle works)

2011-12-08 Thread maniram maniram
maniram maniram added the comment: Maybe Ubuntu doesn't think it is safe to allocate the memory. -- nosy: +maniram.maniram ___ Python tracker <http://bugs.python.org/is

[issue13555] cPickle MemoryError when loading large file (while pickle works)

2011-12-08 Thread maniram maniram
maniram maniram added the comment: Have you checked the system monitor after all cPickle can use more memory than 1GB. -- ___ Python tracker <http://bugs.python.org/issue13

[issue13566] Array objects pickled in 3.x with protocol <=2 are unpickled incorrectly in 2.x

2011-12-09 Thread maniram maniram
maniram maniram added the comment: The problem is that pickle is calling array.array(u'i',[1,2,3]) and array.array in Python 2 doesn't allow unicode strings as a typecode (typecode is the first argument) The docs in Python 2 and Py3k doesn't specify the type of the t

[issue13571] Backup files support in IDLE

2011-12-09 Thread maniram maniram
New submission from maniram maniram : Automatically save files in IDLE's editor which are not saved to backup file(s) (perhaps in .idlerc) every minute. If IDLE crashes, save all files that are not saved to backup file(s) and then re-raise the error (like a finally statement) When

[issue13521] Make dict.setdefault() atomic

2011-12-09 Thread maniram maniram
maniram maniram added the comment: +1 for atomic and more robust -- nosy: +maniram.maniram ___ Python tracker <http://bugs.python.org/issue13521> ___ ___ Pytho

[issue13571] Backup files support in IDLE

2011-12-09 Thread maniram maniram
Changes by maniram maniram : -- type: -> feature request versions: +Python 3.2 ___ Python tracker <http://bugs.python.org/issue13571> ___ ___ Python-bugs-lis

[issue13580] Pre-linkage of CPython >=2.6 binary on Linux too fat (libssl, libcrypto)

2011-12-11 Thread maniram maniram
maniram maniram added the comment: +1 -- nosy: +maniram.maniram ___ Python tracker <http://bugs.python.org/issue13580> ___ ___ Python-bugs-list mailing list Unsub

[issue13544] Add __qualname__ to functools.WRAPPER_ASSIGNMENTS

2011-12-11 Thread maniram maniram
maniram maniram added the comment: Remove the "needs patch" keyword since this bug has a patch. -- nosy: +maniram.maniram ___ Python tracker <http://bugs.python.o

[issue13532] In IDLE, sys.stdout and sys.stderr can write any pickleable object

2011-12-13 Thread maniram maniram
Changes by maniram maniram : -- title: In IDLE, sys.stdout.write and sys.stderr can write any pickleable object -> In IDLE, sys.stdout and sys.stderr can write any pickleable object ___ Python tracker <http://bugs.python.org/issu

[issue13598] string.Formatter doesn't support empty curly braces "{}"

2011-12-13 Thread maniram maniram
New submission from maniram maniram : string.Formatter doesn't support empty curly braces "{}" unlike str.format . >>> import string >>> a = string.Formatter() >>> a.format("{}","test") Traceback (most recent call last): Fi

[issue13598] string.Formatter doesn't support empty curly braces "{}"

2011-12-13 Thread maniram maniram
maniram maniram added the comment: Attached is patch to fix this issue. -- keywords: +patch type: -> behavior Added file: http://bugs.python.org/file23950/issue13598.diff ___ Python tracker <http://bugs.python.org/issu

[issue13598] string.Formatter doesn't support empty curly braces "{}"

2011-12-13 Thread maniram maniram
Changes by maniram maniram : -- components: +Library (Lib) versions: +Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue13598> ___ ___ Pytho

[issue13598] string.Formatter doesn't support empty curly braces "{}"

2011-12-13 Thread maniram maniram
maniram maniram added the comment: Sorry, the patch has an mistake. ValueErro should be ValueError. -- Added file: http://bugs.python.org/file23952/issue13598.diff ___ Python tracker <http://bugs.python.org/issue13

[issue13598] string.Formatter doesn't support empty curly braces "{}"

2011-12-13 Thread maniram maniram
Changes by maniram maniram : Removed file: http://bugs.python.org/file23950/issue13598.diff ___ Python tracker <http://bugs.python.org/issue13598> ___ ___ Python-bug

[issue13598] string.Formatter doesn't support empty curly braces "{}"

2011-12-14 Thread maniram maniram
maniram maniram added the comment: Attached is a patch for test.test_string to test for this bug. Can somebody please comment on my paches or commit my patches. -- Added file: http://bugs.python.org/file23955/test_string.diff ___ Python tracker

[issue13571] Backup files support in IDLE

2011-12-14 Thread maniram maniram
maniram maniram added the comment: In response to Roger Serwy: >>> I rarely have IDLE crash on Linux. If you're experiencing these issues on >>> Windows, see #13582. I'm on Ubuntu Linux and IDLE does'nt crash. Many editors have backup files in the case of

[issue13359] urllib2 doesn't escape spaces in http requests

2011-12-14 Thread maniram maniram
maniram maniram added the comment: Seems good. -- nosy: +maniram.maniram ___ Python tracker <http://bugs.python.org/issue13359> ___ ___ Python-bugs-list mailin

[issue13532] In IDLE, sys.stdout.write and sys.stderr can write any pickleable object

2011-12-14 Thread maniram maniram
maniram maniram added the comment: One reason to fix this bug: People may develop code that calls sys.std{out,err}.write with the number 200. like sys.stdout.write(200) In IDLE the code works well but in Python from the command-line it fails to run. Creating a bug in the code

[issue13603] Add prime-related functions to Python

2011-12-14 Thread maniram maniram
New submission from maniram maniram : It would be nice to have prime-related and number theory functions in a new module or some existing module (like math). like this: >>> import prime >>> prime.isprime(7) True >>> prime.isprime(35) False >>&g

[issue13603] Add prime-related and number theory functions to Python

2011-12-14 Thread maniram maniram
Changes by maniram maniram : -- title: Add prime-related functions to Python -> Add prime-related and number theory functions to Python ___ Python tracker <http://bugs.python.org/issu

[issue13571] Backup files support in IDLE

2011-12-14 Thread maniram maniram
maniram maniram added the comment: I would be happy to help :) -- ___ Python tracker <http://bugs.python.org/issue13571> ___ ___ Python-bugs-list mailin

[issue13603] Add prime-related and number theory functions to Python

2011-12-14 Thread maniram maniram
maniram maniram added the comment: I think math.sin is also domain-specific. -- ___ Python tracker <http://bugs.python.org/issue13603> ___ ___ Python-bugs-list m

[issue13603] Add prime-related and number theory functions to Python

2011-12-14 Thread maniram maniram
maniram maniram added the comment: Anybody else than Benjamin and Meador please comment on this. -- ___ Python tracker <http://bugs.python.org/issue13

[issue13603] Add prime-related and number theory functions to Python

2011-12-14 Thread maniram maniram
maniram maniram added the comment: On further thought, I have changed my mind. I think this is domain-specific. Shall we close this bug? -- ___ Python tracker <http://bugs.python.org/issue13

[issue13598] string.Formatter doesn't support empty curly braces "{}"

2011-12-14 Thread maniram maniram
maniram maniram added the comment: Why isn't anybody commiting or commenting on my patches? -- status: open -> languishing ___ Python tracker <http://bugs.python.org

[issue13598] string.Formatter doesn't support empty curly braces "{}"

2011-12-14 Thread maniram maniram
Changes by maniram maniram : -- status: languishing -> open ___ Python tracker <http://bugs.python.org/issue13598> ___ ___ Python-bugs-list mailing list Un

[issue13603] Add prime-related and number theory functions to Python

2011-12-15 Thread maniram maniram
Changes by maniram maniram : -- status: open -> languishing ___ Python tracker <http://bugs.python.org/issue13603> ___ ___ Python-bugs-list mailing list Un

[issue13644] Python crashes with this code.

2011-12-20 Thread maniram maniram
New submission from maniram maniram : When you run the following code, Python 3 (not Python 2) crashes. Interestingly, Python 2.7 doesn't seem to be affected and correctly raises an error about recursion ( so this must be a regression ). The code's recursion should be detected and Pyt

[issue13644] Python 3 crashes with this code.

2011-12-20 Thread maniram maniram
Changes by maniram maniram : -- title: Python crashes with this code. -> Python 3 crashes with this code. ___ Python tracker <http://bugs.python.org/issu

[issue13644] Python 3 crashes (segfaults) with this code.

2011-12-20 Thread maniram maniram
Changes by maniram maniram : -- title: Python 3 crashes with this code. -> Python 3 crashes (segfaults) with this code. ___ Python tracker <http://bugs.python.org/issu

[issue13644] Python 3 crashes (segfaults) with this code.

2011-12-20 Thread maniram maniram
maniram maniram added the comment: But Python 2 doesn't crash after running the code. -- ___ Python tracker <http://bugs.python.org/issue13644> ___ ___ Pytho

[issue13644] Python 3 crashes (segfaults) with this code.

2011-12-20 Thread maniram maniram
maniram maniram added the comment: Oops, to reproduce this bug after running the code run "recurse()". -- ___ Python tracker <http://bugs.python.o

[issue13644] Python 3 crashes (segfaults) with this code.

2011-12-22 Thread maniram maniram
maniram maniram added the comment: Well, I expect Python 3 to raise RuntimeError about recursion not to segfault. -- ___ Python tracker <http://bugs.python.org/issue13

[issue13656] Document ctypes.util and ctypes.wintypes.

2011-12-23 Thread maniram maniram
New submission from maniram maniram : Document ctypes.util and ctypes.wintypes. -- assignee: docs@python components: Documentation messages: 150151 nosy: docs@python, maniram.maniram priority: normal severity: normal status: open title: Document ctypes.util and ctypes.wintypes. type

[issue13656] Document ctypes.util and ctypes.wintypes.

2011-12-23 Thread maniram maniram
Changes by maniram maniram : -- resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python.org/issue13656> ___ ___ Python-bugs-

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2011-12-23 Thread maniram maniram
New submission from maniram maniram : IDLE doesn't support nor set sys.ps1 and sys.ps2. >>> sys.ps1 Traceback (most recent call last): File "", line 1, in sys.ps1 AttributeError: 'module' object has no attribute 'ps1' >>> sys.p

[issue13644] Python 3 aborts with this code.

2011-12-23 Thread maniram maniram
maniram maniram added the comment: @Terry IDLE restarts python (like in the menu entry "Restart Shell") when the Python process dies no matter how the Python process dies. So this issue is a valid bug. -- ___ Python tracker <http://bu

[issue13659] Add a help() viewer for IDLE's Shell.

2011-12-23 Thread maniram maniram
New submission from maniram maniram : If you call help() a few times on some objects, due to help()'s output IDLE's Shell Window becomes very long and it becomes difficult to scroll through the window. I suggest a new window should be opened when help() is called in IDLE so tha

[issue13659] Add a help() viewer for IDLE's Shell.

2011-12-23 Thread maniram maniram
maniram maniram added the comment: Sorry, new window in "I suggest a new window" should be a new read-only editor window. It could be implemented through a wrapper around help. IDLE could have a configuration option whether to use the traditional help() or the new help() which o

[issue13661] maniandram maniandram wants to chat

2011-12-24 Thread maniram maniram
maniram maniram added the comment: Sorry, accident. Please delete. -- nosy: +maniram.maniram ___ Python tracker <http://bugs.python.org/issue13661> ___ ___ Pytho

[issue13660] maniandram maniandram wants to chat

2011-12-24 Thread maniram maniram
Changes by maniram maniram : -- nosy: +maniram.maniram ___ Python tracker <http://bugs.python.org/issue13660> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13660] maniandram maniandram wants to chat

2011-12-24 Thread maniram maniram
maniram maniram added the comment: Sorry, accident. Please delete. -- ___ Python tracker <http://bugs.python.org/issue13660> ___ ___ Python-bugs-list mailin

[issue13661] maniandram maniandram wants to chat

2011-12-24 Thread maniram maniram
maniram maniram added the comment: Please close this bug. -- ___ Python tracker <http://bugs.python.org/issue13661> ___ ___ Python-bugs-list mailing list Unsub

[issue13660] maniandram maniandram wants to chat

2011-12-24 Thread maniram maniram
maniram maniram added the comment: Please close this bug as invalid. -- ___ Python tracker <http://bugs.python.org/issue13660> ___ ___ Python-bugs-list mailin

[issue13660] maniandram maniandram wants to chat

2011-12-24 Thread maniram maniram
maniram maniram added the comment: I can't edit this bug. -- ___ Python tracker <http://bugs.python.org/issue13660> ___ ___ Python-bugs-list mailing list

[issue13674] crash in datetime.strftime

2011-12-29 Thread maniram maniram
maniram maniram added the comment: This bug can not be reproduced in Python 3.2.2 on Ubuntu. Since Python 2.7.2 on your system raises a ValueError for dates below 1900 ,your system's strftime probably does not allow dates below 1900 (unlike Ubuntu). Python 3.2.2's datetime.strft

[issue13683] Docs in Python 3:raise statement mistake

2011-12-30 Thread maniram maniram
New submission from maniram maniram : In the Python 3 docs for the raise statement, http://docs.python.org/py3k/reference/simple_stmts.html#the-raise-statement,the docs say "If no exception is active in the current scope, a TypeError exception is raised indicating that this is an erro

[issue12601] Spelling error in the comments in the webbrowser module.

2011-07-21 Thread maniram maniram
New submission from maniram maniram : At line 235 there is a comment which contains "secons" which should be changed to seconds. -- components: Library (Lib) messages: 140793 nosy: maniram.maniram priority: normal severity: normal status: open title: Spelling error in the c

[issue12601] Spelling error in the comments in the webbrowser module.

2011-07-21 Thread maniram maniram
maniram maniram added the comment: Thanks for the fast response. -- ___ Python tracker <http://bugs.python.org/issue12601> ___ ___ Python-bugs-list mailin

[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'

2011-07-21 Thread maniram maniram
maniram maniram added the comment: It seems currently that in python 3.2 sys.platform is linux2 even though it is running linux 3 -- nosy: +maniram.maniram ___ Python tracker <http://bugs.python.org/issue12