[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-25 Thread maniram maniram
New submission from maniram maniram maniandra...@gmail.com: 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

[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-25 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: Here's the Error message. *** Internal Error: rpc.py:SocketIO.localcall() Object: stdout Method: bound method PseudoFile.write of idlelib.PyShell.PseudoFile object at 0x2675550 Args: ('\U0007a250',) Traceback (most recent call

[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-25 Thread maniram maniram
maniram maniram maniandra...@gmail.com 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

[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-25 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: The error is visible from the command-line. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13265

[issue13265] IDLE crashes when printing some unprintable characters.

2011-10-29 Thread maniram maniram
Changes by maniram maniram maniandra...@gmail.com: -- versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13265 ___ ___ Python

[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 maniandra...@gmail.com: 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(sys) Traceback

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

2011-12-05 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: It is different behaviour than usual. I agree it is of low importance. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13532

[issue13545] Pydoc3.2: TypeError: unorderable types

2011-12-07 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: On my system it works. :-) -- nosy: +maniram.maniram ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13545

[issue7136] Idle File Menu Option Improvement

2011-12-08 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: +1 on renaming New Window to New File -- nosy: +maniram.maniram ___ Python tracker rep...@bugs.python.org 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 maniandra...@gmail.com 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

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

2011-12-08 Thread maniram maniram
maniram maniram maniandra...@gmail.com 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 rep

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

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

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

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

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

2011-12-09 Thread maniram maniram
maniram maniram maniandra...@gmail.com 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

[issue13571] Backup files support in IDLE

2011-12-09 Thread maniram maniram
New submission from maniram maniram maniandra...@gmail.com: 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

[issue13521] Make dict.setdefault() atomic

2011-12-09 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: +1 for atomic and more robust -- nosy: +maniram.maniram ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13521

[issue13571] Backup files support in IDLE

2011-12-09 Thread maniram maniram
Changes by maniram maniram maniandra...@gmail.com: -- type: - feature request versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13571

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

2011-12-11 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: +1 -- nosy: +maniram.maniram ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13580

[issue13544] Add __qualname__ to functools.WRAPPER_ASSIGNMENTS

2011-12-11 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: Remove the needs patch keyword since this bug has a patch. -- nosy: +maniram.maniram ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13544

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

2011-12-13 Thread maniram maniram
Changes by maniram maniram maniandra...@gmail.com: -- 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 rep...@bugs.python.org http

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

2011-12-13 Thread maniram maniram
New submission from maniram maniram maniandra...@gmail.com: string.Formatter doesn't support empty curly braces {} unlike str.format . import string a = string.Formatter() a.format({},test) Traceback (most recent call last): File pyshell#2, line 1, in module a.format({},hello) File

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

2011-12-13 Thread maniram maniram
maniram maniram maniandra...@gmail.com 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 rep...@bugs.python.org http

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

2011-12-13 Thread maniram maniram
Changes by maniram maniram maniandra...@gmail.com: -- components: +Library (Lib) versions: +Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13598

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

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

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

2011-12-13 Thread maniram maniram
Changes by maniram maniram maniandra...@gmail.com: Removed file: http://bugs.python.org/file23950/issue13598.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13598

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

2011-12-14 Thread maniram maniram
maniram maniram maniandra...@gmail.com 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

[issue13571] Backup files support in IDLE

2011-12-14 Thread maniram maniram
maniram maniram maniandra...@gmail.com 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 a crash and after

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

2011-12-14 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: Seems good. -- nosy: +maniram.maniram ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13359

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

2011-12-14 Thread maniram maniram
maniram maniram maniandra...@gmail.com 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

[issue13603] Add prime-related functions to Python

2011-12-14 Thread maniram maniram
New submission from maniram maniram maniandra...@gmail.com: 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 prime.primerange(10,18) (11,13,17

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

2011-12-14 Thread maniram maniram
Changes by maniram maniram maniandra...@gmail.com: -- title: Add prime-related functions to Python - Add prime-related and number theory functions to Python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13603

[issue13571] Backup files support in IDLE

2011-12-14 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: I would be happy to help :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13571

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

2011-12-14 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: I think math.sin is also domain-specific. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13603

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

2011-12-14 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: Anybody else than Benjamin and Meador please comment on this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13603

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

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

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

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

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

2011-12-14 Thread maniram maniram
Changes by maniram maniram maniandra...@gmail.com: -- status: languishing - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13598

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

2011-12-15 Thread maniram maniram
Changes by maniram maniram maniandra...@gmail.com: -- status: open - languishing ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13603

[issue13644] Python crashes with this code.

2011-12-20 Thread maniram maniram
New submission from maniram maniram maniandra...@gmail.com: 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

[issue13644] Python 3 crashes with this code.

2011-12-20 Thread maniram maniram
Changes by maniram maniram maniandra...@gmail.com: -- title: Python crashes with this code. - Python 3 crashes with this code. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13644

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

2011-12-20 Thread maniram maniram
Changes by maniram maniram maniandra...@gmail.com: -- title: Python 3 crashes with this code. - Python 3 crashes (segfaults) with this code. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13644

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

2011-12-20 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: But Python 2 doesn't crash after running the code. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13644

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

2011-12-20 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: Oops, to reproduce this bug after running the code run recurse(). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13644

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

2011-12-22 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: Well, I expect Python 3 to raise RuntimeError about recursion not to segfault. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13644

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

2011-12-23 Thread maniram maniram
New submission from maniram maniram maniandra...@gmail.com: 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

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

2011-12-23 Thread maniram maniram
Changes by maniram maniram maniandra...@gmail.com: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13656

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

2011-12-23 Thread maniram maniram
New submission from maniram maniram maniandra...@gmail.com: IDLE doesn't support nor set sys.ps1 and sys.ps2. sys.ps1 Traceback (most recent call last): File pyshell#1, line 1, in module sys.ps1 AttributeError: 'module' object has no attribute 'ps1' sys.ps1 = Test #The next prompt

[issue13644] Python 3 aborts with this code.

2011-12-23 Thread maniram maniram
maniram maniram maniandra...@gmail.com 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 rep

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

2011-12-23 Thread maniram maniram
New submission from maniram maniram maniandra...@gmail.com: 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

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

2011-12-23 Thread maniram maniram
maniram maniram maniandra...@gmail.com 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

[issue13661] maniandram maniandram wants to chat

2011-12-24 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: Sorry, accident. Please delete. -- nosy: +maniram.maniram ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13661

[issue13660] maniandram maniandram wants to chat

2011-12-24 Thread maniram maniram
Changes by maniram maniram maniandra...@gmail.com: -- nosy: +maniram.maniram ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13660 ___ ___ Python

[issue13660] maniandram maniandram wants to chat

2011-12-24 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: Sorry, accident. Please delete. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13660

[issue13661] maniandram maniandram wants to chat

2011-12-24 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: Please close this bug. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13661

[issue13660] maniandram maniandram wants to chat

2011-12-24 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: Please close this bug as invalid. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13660

[issue13660] maniandram maniandram wants to chat

2011-12-24 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: I can't edit this bug. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13660

[issue13674] crash in datetime.strftime

2011-12-29 Thread maniram maniram
maniram maniram maniandra...@gmail.com 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

[issue13683] Docs in Python 3:raise statement mistake

2011-12-30 Thread maniram maniram
New submission from maniram maniram maniandra...@gmail.com: 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

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

2011-07-21 Thread maniram maniram
New submission from maniram maniram maniandra...@gmail.com: 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

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

2011-07-21 Thread maniram maniram
maniram maniram maniandra...@gmail.com added the comment: Thanks for the fast response. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12601

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

2011-07-21 Thread maniram maniram
maniram maniram maniandra...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org